Skip to content

OMMX Python SDK 1.6.0

Latest
Compare
Choose a tag to compare
@termoshtt termoshtt released this 24 Dec 08:40
· 19 commits to main since this release
2c3804d

Summary

  • OMMX starts to support QUBO.
  • Python 3.8 support has been dropped due to its EOL

What's Changed

Breaking Changes

Bug fix

  • Restore Solution.annotations in Artifact.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 and Instance.penalty_method in Python SDK by @termoshtt in #200
  • Fill ommx.v1.Solution.state with substituted_value of DecisionVariable 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 for Quadratic 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 with name and subscripts 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

Full Changelog: python-1.5.1...python-1.6.0