Skip to main content
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

ommx_highs_adapter-3.0.0b4.tar.gz (15.6 kB view details)

Uploaded Source

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

Hashes for ommx_highs_adapter-3.0.0b4.tar.gz
Algorithm Hash digest
SHA256 b4cdf8d9717f70d05aa9102e12aa05012ed84e32b2ee4c6404e2e3d0b8d25fac
MD5 1ea500a2e1fff668d36253bed28479c8
BLAKE2b-256 84b2e1543ac3c00b2ab92a5df7ecb25bcdcb4a3b595b2be7ba5af0ab16168b79

See more details on using hashes here.

Provenance

The following attestation bundles were made for ommx_highs_adapter-3.0.0b4.tar.gz:

Publisher: release_python.yml on Jij-Inc/ommx

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Release history Release notifications | RSS feed

This release

3.0.0b4 This release

1 file

2.8.0

1 file

2.7.0

1 file

2.6.3

1 file

2.6.2

1 file

2.6.1

1 file

2.6.0

1 file

2.5.2

1 file

2.5.1

1 file

2.5.0

1 file

2.4.0

1 file

2.3.6

1 file

2.3.5

1 file

2.3.4

1 file

2.3.3

1 file

2.3.2

1 file

2.3.1

1 file

2.3.0

1 file

2.2.0

1 file

2.1.0

1 file

2.0.12

1 file

2.0.11

1 file

2.0.10

1 file

2.0.9

1 file

2.0.8

1 file

2.0.7

1 file

2.0.6

1 file

2.0.5

1 file

2.0.4

1 file

2.0.3

1 file

2.0.2

1 file

2.0.1

1 file

2.0.0

1 file

1.9.5

1 file

1.9.4

1 file

1.9.3

1 file

1.9.2

1 file

1.9.1

1 file

1.9.0

1 file

1.8.6

1 file

1.8.5

1 file

1.8.4

1 file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page