This release is a pre-release and may not be stable for production use.
OMMX
OMMX (Open Mathematical prograMming eXchange) is building a shared foundation for mathematical optimization: a common representation of problems and candidates, with reusable preprocessing, transformations, and evaluation in Python and Rust.
Optimization techniques are often implemented inside a particular solver or repeated in each tool integration. OMMX aims to make those techniques reusable across modeling tools and solving methods. A new method should be able to build on accumulated problem-processing techniques, while improvements to those techniques should benefit the tools already using them.
Why use OMMX?
Use OMMX when you want to reuse problem processing as you change models, solving methods, or the source of candidate solutions. The current v3 development line provides:
- Transform a shared problem representation. Apply supported operations such as integer encoding, special-constraint lowering, and bound tightening without implementing them separately for each solver integration.
- Evaluate candidates independently of how they were obtained. Compute objective values and constraint satisfaction for values from a solver, a heuristic, or your own code. Reconstruct recorded fixed and dependent variable values to interpret results after transformations.
- Connect to solvers and samplers through adapters. Adapters translate supported problem representations into backend inputs and return results in OMMX's common model.
- Keep problems and results available for later use. Optional Artifacts package data with metadata; Experiments record trials, settings, and results for comparison and sharing.
For example, a requirement that at most one variable is nonzero can remain an explicit SOS1 constraint in OMMX. A supporting adapter can pass it to a solver that handles SOS1 directly. For another solver, OMMX can convert it into ordinary constraints when the variable domains and finite bounds meet the conversion's requirements. Keeping this structure lets you choose when to convert it and reuse the conversion across integrations.
You still choose the mathematical model, solving method, and transformation policy, including any penalty weights. Each transformation has its own applicability conditions and guarantees: recovering variable values does not establish feasibility, and evaluating a feasible candidate does not prove optimality. The Book explains these choices; the API Reference specifies the individual operations.
The longer-term goal is to select and combine preprocessing and transformations so that more of today's manual problem preparation can be delegated to this shared foundation. The current implementation supplies specific operations and preparation policies; general automatic selection of transformation sequences remains a development direction.
Find your next step
The Book explains OMMX's concepts, capabilities, and choices, with examples you can follow independently. The API Reference provides detailed calls, conditions, and implementation recipes.
| Purpose | Start here |
|---|---|
| Understand OMMX and explore its capabilities | English Book · 日本語Book |
| Choose a solver or sampler integration | Supported Adapters |
| Install the Python SDK and an optional adapter | Installation guide (日本語) |
| Inspect and exchange saved data from the command line | OMMX CLI |
This repository and the latest Book document v3 development, including features that may not yet be in a published package. Follow the versioned installation instructions and release notes for the capabilities available in your environment. Rust and Python SDK versions are managed independently.
| SDK | Package | API Reference |
|---|---|---|
| Python | Python API Reference | |
| Rust |
Development
See DEVELOPMENT.md to work on OMMX, or the adapter implementation guide to connect your own solving tool. The Rust-to-Python PyO3 bridge has its own API Reference.
License
© 2024 Jij Inc.
This project is licensed under either of
- Apache License, Version 2.0, (LICENSE-APACHE or https://www.apache.org/licenses/LICENSE-2.0)
- MIT license (LICENSE-MIT or https://opensource.org/licenses/MIT)
at your option.
Acknowledgement
This work was performed for Council for Science, Technology and Innovation (CSTI), Cross-ministerial Strategic Innovation Promotion Program (SIP), "Promoting the application of advanced quantum technology platforms to social issues"(Funding agency : QST).
Metadata
Release files for ommx 3.0.0b8
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Built distributions (wheels)
| File | Reset | |||
|---|---|---|---|---|
| ommx-3.0.0b8-cp314-cp314t-manylinux_2_28_x86_64.whl | CPython 3.14 | CPython 3.14 free-threading | Linux glibc 2.28+ x86-64 | Details |
| ommx-3.0.0b8-cp314-cp314t-manylinux_2_28_aarch64.whl | CPython 3.14 | CPython 3.14 free-threading | Linux glibc 2.28+ ARM64 | Details |
| ommx-3.0.0b8-cp314-cp314t-macosx_11_0_arm64.whl | CPython 3.14 | CPython 3.14 free-threading | macOS 11.0+ ARM64 | Details |
| ommx-3.0.0b8-cp310-abi3-win_amd64.whl | CPython 3.10 | abi3 | Windows x86-64 | Details |
| ommx-3.0.0b8-cp310-abi3-manylinux_2_28_x86_64.whl | CPython 3.10 | abi3 | Linux glibc 2.28+ x86-64 | Details |
| ommx-3.0.0b8-cp310-abi3-manylinux_2_28_aarch64.whl | CPython 3.10 | abi3 | Linux glibc 2.28+ ARM64 | Details |
| ommx-3.0.0b8-cp310-abi3-macosx_11_0_arm64.whl | CPython 3.10 | abi3 | macOS 11.0+ ARM64 | Details |
Total release size: 66.2 MB
Release files / ommx-3.0.0b8-cp314-cp314t-manylinux_2_28_x86_64.whl
| Download URL | ommx-3.0.0b8-cp314-cp314t-manylinux_2_28_x86_64.whl |
|---|---|
| Size | 10.1 MB |
| Tags | CPython 3.14 CPython 3.14 free-threading Linux glibc 2.28+ x86-64 |
|
SHA-256 checksum How to use checksums |
c1b74d59381f5a2158899ad5652e70b6b721ccfb4fd05ac0bf4da739b85843c1
|
|
BLAKE2b-256 checksum How to use checksums |
f40d3e3a1263abfc8a9562cf11b3401f4a20eaa7979bb2de741483eace05529e
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Oct 28, 2026.
Transparency logRelease files / ommx-3.0.0b8-cp314-cp314t-manylinux_2_28_aarch64.whl
| Download URL | ommx-3.0.0b8-cp314-cp314t-manylinux_2_28_aarch64.whl |
|---|---|
| Size | 9.1 MB |
| Tags | CPython 3.14 CPython 3.14 free-threading Linux glibc 2.28+ ARM64 |
|
SHA-256 checksum How to use checksums |
6a4aebe3dcccb3c01b7b5ddfbc41436c351a662c8ad523b5d361d55fb6541471
|
|
BLAKE2b-256 checksum How to use checksums |
b24a7f55d6e2b7d49e75af3ede08f7311adf3fb0a677a1a274f463a3c9840e1e
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Oct 28, 2026.
Transparency logRelease files / ommx-3.0.0b8-cp314-cp314t-macosx_11_0_arm64.whl
| Download URL | ommx-3.0.0b8-cp314-cp314t-macosx_11_0_arm64.whl |
|---|---|
| Size | 9.0 MB |
| Tags | CPython 3.14 CPython 3.14 free-threading macOS 11.0+ ARM64 |
|
SHA-256 checksum How to use checksums |
0c4d9b634d236a196c9fdc0be90a54c21a6e84460a594f77dee069f8723301a2
|
|
BLAKE2b-256 checksum How to use checksums |
9a941677dd4cd20f9ae21e908c922b1ba66bdbad999c82efca2987abaf9f3ea1
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Oct 28, 2026.
Transparency logRelease files / ommx-3.0.0b8-cp310-abi3-win_amd64.whl
| Download URL | ommx-3.0.0b8-cp310-abi3-win_amd64.whl |
|---|---|
| Size | 9.7 MB |
| Tags | CPython 3.10 Windows x86-64 abi3 |
|
SHA-256 checksum How to use checksums |
fd8a5a08b9824b05a6761d8800ad4475e013a39d40bc2b22954705bd98969e97
|
|
BLAKE2b-256 checksum How to use checksums |
79122ad4cfa579eefbaf248fcd8a8fc18323b79f3c15742f5833225ab1ad951a
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Oct 28, 2026.
Transparency logRelease files / ommx-3.0.0b8-cp310-abi3-manylinux_2_28_x86_64.whl
| Download URL | ommx-3.0.0b8-cp310-abi3-manylinux_2_28_x86_64.whl |
|---|---|
| Size | 10.1 MB |
| Tags | CPython 3.10 Linux glibc 2.28+ x86-64 abi3 |
|
SHA-256 checksum How to use checksums |
5f19902c964f7953a2111d09c331521826aad5fc4c16a7a2852e3c88cf16f6b5
|
|
BLAKE2b-256 checksum How to use checksums |
d2768875b70ad18c52feb58a6d83e1eed03976297058ed087a41575e690880eb
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Oct 28, 2026.
Transparency logRelease files / ommx-3.0.0b8-cp310-abi3-manylinux_2_28_aarch64.whl
| Download URL | ommx-3.0.0b8-cp310-abi3-manylinux_2_28_aarch64.whl |
|---|---|
| Size | 9.1 MB |
| Tags | CPython 3.10 Linux glibc 2.28+ ARM64 abi3 |
|
SHA-256 checksum How to use checksums |
d95770e28ad53d2f252e866982e5e2c7bfe21ece54fef681609a67896ee041e2
|
|
BLAKE2b-256 checksum How to use checksums |
10f5ae3636c36800b687de8643bd6b9057592c8d3719c0ff002ed0a448be6277
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Oct 28, 2026.
Transparency logRelease files / ommx-3.0.0b8-cp310-abi3-macosx_11_0_arm64.whl
| Download URL | ommx-3.0.0b8-cp310-abi3-macosx_11_0_arm64.whl |
|---|---|
| Size | 9.0 MB |
| Tags | CPython 3.10 abi3 macOS 11.0+ ARM64 |
|
SHA-256 checksum How to use checksums |
7767a0c7e09d8e24f1ead8c01968bc6524fecdc3958a716cfd517e1beb36443a
|
|
BLAKE2b-256 checksum How to use checksums |
9e6e52f4fdaeeed89985324b2959954df4b7524ebb56ef693e6f914a01035638
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Oct 28, 2026.
Transparency logSecurity for ommx 3.0.0b8
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
Full provenance
All 7 files in this release have been uploaded with provenance metadata.
Attestation for ommx-3.0.0b8-cp314-cp314t-manylinux_2_28_x86_64.whl
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Oct 28, 2026.
Transparency logA note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.