Summary
- OMMX starts to support QUBO.
- New adapter package ommx-openjij-adapter has been added.
- Please see its tutorial page (in Japanese)
- Several APIs are added for converting
ommx.v1.Instance
into QUBO format. Please see the above tutorial.
- New adapter package ommx-openjij-adapter has been added.
- Python 3.8 support has been dropped due to its EOL
What's Changed
Breaking Changes
- Revise
Instance::validate*
APIs by @termoshtt in #203 - Do not use multi-index for dataframe property by @termoshtt in #208
Bug fix
- Restore
Solution.annotations
inArtifact.get_solution
by @termoshtt in #212
Protobuf update
- OMMX Adapter for OpenJij, introduce
ommx.v1.SampleSet
by @termoshtt in #236 feasible_unrelaxed
field representing the feasibility including the removed constraints by @termoshtt in #251
Python SDK update
ommx.v1.ParametericInstance
andInstance.penalty_method
in Python SDK by @termoshtt in #200- Fill
ommx.v1.Solution.state
withsubstituted_value
ofDecisionVariable
by @termoshtt in #207 - Drop Python 3.8 because it has been ended at 2024/10/7 by @termoshtt in #209
Function.terms
and related properties by @termoshtt in #214- Introduce
AsConstraint
abstract class to share comparison operators by @termoshtt in #222 - Override
__eq__
method also forQuadratic
and others by @termoshtt in #224 - Uniform penalty method by @termoshtt in #227
- Release candidate of Python SDK 1.6.0rc1 by @termoshtt in #230
- MPS: Only write used variables to output by @Zengor in #229
- Fix project URLs in pyproject.toml of Adapters by @termoshtt in #237
- Extract values from
ommx.v1.Solution
withname
andsubscripts
annotations by @termoshtt in #239 - Get optimality from model in adapters' model_to_solution by @Zengor in #241
- Support maximization problem for OpenJij Adapter by @termoshtt in #243
- Bump jinja2 from 3.1.4 to 3.1.5 in the pip group across 1 directory by @dependabot in #249
- Revise OpenJij-Adapter APIs by @termoshtt in #252
Rust SDK update
Since Python SDK uses Rust SDK internally, following changes are also related to this release:
- Add penalty weight parameter id to removed constraint for inverse lookup by @termoshtt in #228
- Remove zero coefficients in
Instance::as_{pubo,qubo}_format
by @termoshtt in #240
Documentation update
- Sphinx document of
ommx.v1
module is broken by @termoshtt in #204 - Fix binder link of jupyter-book by @termoshtt in #205
- Release note for Python SDK 1.5.0 by @termoshtt in #206
- Generate
requirements.txt
for Binder usinguv pip compile
by @termoshtt in #213 - Show inherited members in the Python SDK documentation by @termoshtt in #221
- About ommx.v1.Function in Jupyter-Book by @termoshtt in #210
- About ommx.v1.Instance in Jupyter-Book by @termoshtt in #223
- About ommx.v1.Soluiton in Jupyter-Book by @termoshtt in #225
- Tutorial for OpenJij-Adapter by @termoshtt in #242
Full Changelog: python-1.5.1...python-1.6.0