ommx-highs-adapter
Provides an adapter to translate between OMMX and HiGHS
Usage
ommx-highs-adapter can be installed from PyPI as follows:
pip install ommx-highs-adapter
An example usage of HiGHS through this adapter:
from ommx_highs_adapter import OMMXHighsAdapter
from ommx.v1 import Instance, DecisionVariable
x1 = DecisionVariable.integer(1, lower=0, upper=5)
ommx_instance = Instance.from_components(
decision_variables=[x1],
objective=x1,
constraints=[],
sense=Instance.MINIMIZE,
)
# Create `ommx.v1.Solution` through `highspy.Highs`
ommx_solution = OMMXHighsAdapter.solve(ommx_instance)
print(ommx_solution)
Metadata
Release files for ommx-highs-adapter 2.9.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| ommx_highs_adapter-2.9.1.tar.gz | 10.9 kB | Details |
Release files / ommx_highs_adapter-2.9.1.tar.gz
| Download URL | ommx_highs_adapter-2.9.1.tar.gz |
|---|---|
| Size | 10.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
57b66b6cc8963ac7ef6c105bce630ca7b12f90b1794c135c80ff686acead12c7
|
|
BLAKE2b-256 checksum How to use checksums |
a7fa1bb150b9ad69767e3b4f09be0ec8b030f2c25925a7eab592a394392d6865
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
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 Sep 29, 2026.
Transparency log