Skip to main content

A collection of custom data structures and user-friendly functions for mathematical optimization modeling with DOcplex, gurobipy, Xpress, and highspy.

Project description

opti-extensions

license pypi pyversions

CI Tests Coverage

A collection of custom data structures and user-friendly functions for mathematical optimization modeling with DOcplex, gurobipy, Xpress, and highspy.

Features

  • Specialized data structures: For defining index-sets, parameters, and decision variables enabling concise and high-performance algebraic modeling.
  • Cross-solver compatibility: Comprehensively tested with:
    • CPLEX versions: 20.1.0, 22.1.0, 22.1.1, 22.1.2
    • Gurobi versions: 12.0, 13.0
    • Xpress versions: 9.4, 9.5, 9.6, 9.7, 9.8
    • HiGHS versions: 1.11, 1.12, 1.13, 1.14
  • Easy access to additional CPLEX functionality: Like tuning tool, runseeds, displaying problem statistics, and displaying solution quality statistics — not directly available in DOcplex.
  • Type-complete interface: Enables static type checking and intelligent auto-completion suggestions with modern IDEs — reducing type errors and improving development speed.

Links

Development

Dev dependencies can be installed with the pip extras dev.

  • Create HTML documentation locally with: docs/make html.
  • Run unit tests and functional tests with: pytest tests.
  • Run doctests with: pytest src.
  • Run static typing tests with: mypy tests/typing_tests.

License

opti-extensions is an open-source project developed by Samarth Mistry and released under the Apache 2.0 License. See the LICENSE and NOTICE for more details.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

opti_extensions-1.3.0.tar.gz (55.6 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

opti_extensions-1.3.0-py3-none-any.whl (67.9 kB view details)

Uploaded Python 3

File details

Details for the file opti_extensions-1.3.0.tar.gz.

File metadata

  • Download URL: opti_extensions-1.3.0.tar.gz
  • Upload date:
  • Size: 55.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for opti_extensions-1.3.0.tar.gz
Algorithm Hash digest
SHA256 5c4dfe411031b481e0c2f571d280aa4f2269ae58aa777ae11877bd7a04f5608e
MD5 49c59252d826fc8eac2abdc152d7eca1
BLAKE2b-256 bcc56a6c4984a28f9c0195c28622142a064355174bcc6adbdb8db1a4ec023ef7

See more details on using hashes here.

Provenance

The following attestation bundles were made for opti_extensions-1.3.0.tar.gz:

Publisher: release.yaml on samarthmistry/opti-extensions

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

File details

Details for the file opti_extensions-1.3.0-py3-none-any.whl.

File metadata

  • Download URL: opti_extensions-1.3.0-py3-none-any.whl
  • Upload date:
  • Size: 67.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for opti_extensions-1.3.0-py3-none-any.whl
Algorithm Hash digest
SHA256 d2887d0d77f783fd9147bd07971e3a5e1bf5619a50621d5d085eaa4b3099eb75
MD5 94e96b4534b131e85bcae9397f21a7a6
BLAKE2b-256 b284f7f012377ba234b7d118caac01d88a0e971e2eac5441766e9452f447f123

See more details on using hashes here.

Provenance

The following attestation bundles were made for opti_extensions-1.3.0-py3-none-any.whl:

Publisher: release.yaml on samarthmistry/opti-extensions

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

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page