Pre-release
This release is a pre-release and may not be stable for production use.
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 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.Solution` through `highspy.Highs`
ommx_solution = OMMXHighsAdapter.solve(ommx_instance)
print(ommx_solution)
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
File details
Details for the file ommx_highs_adapter-3.0.0b4.tar.gz.
File metadata
- Download URL: ommx_highs_adapter-3.0.0b4.tar.gz
- Upload date:
- Size: 15.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via:
twine/7.0.0 CPython/3.13.14
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
b4cdf8d9717f70d05aa9102e12aa05012ed84e32b2ee4c6404e2e3d0b8d25fac
|
|
| MD5 |
1ea500a2e1fff668d36253bed28479c8
|
|
| BLAKE2b-256 |
84b2e1543ac3c00b2ab92a5df7ecb25bcdcb4a3b595b2be7ba5af0ab16168b79
|
Provenance
The following attestation bundles were made for ommx_highs_adapter-3.0.0b4.tar.gz:
Publisher:
release_python.yml on Jij-Inc/ommx
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
ommx_highs_adapter-3.0.0b4.tar.gz -
Subject digest:
b4cdf8d9717f70d05aa9102e12aa05012ed84e32b2ee4c6404e2e3d0b8d25fac - Sigstore transparency entry: 2583202568
- Sigstore integration time:
-
Permalink:
Jij-Inc/ommx@d3c269a0fedf88d8b66c06eb7282904bf5709a9a -
Branch / Tag:
refs/tags/python-3.0.0b4 - Owner: https://github.com/Jij-Inc
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release_python.yml@d3c269a0fedf88d8b66c06eb7282904bf5709a9a -
Trigger Event:
push
-
Statement type: