Skip to main content

A collection of custom data structures and user-friendly functions for mathematical optimization modeling with docplex, gurobipy, and xpress.

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, and xpress.

Features

  • Specialized data structures: For defining index-sets, parameters, and decision variables enabling concise and high-performance algebraic modeling — compatible across different solver APIs.
  • 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.
  • Robust codebase: 100% coverage spanning 2500+ test cases and fully type-checked with mypy under strict mode.

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.0.0.tar.gz (52.0 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.0.0-py3-none-any.whl (61.3 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for opti_extensions-1.0.0.tar.gz
Algorithm Hash digest
SHA256 bb70d57530818ac3e6137b3f40d931797d9aa13f1614ec1d3dcd224a086fc866
MD5 a9ac2096eb94e1c28d441bedf2aeec17
BLAKE2b-256 badb94258346bb33d49f87edeaacbf7037c4a8caf0e23e0b883d4a53c7211216

See more details on using hashes here.

Provenance

The following attestation bundles were made for opti_extensions-1.0.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.0.0-py3-none-any.whl.

File metadata

File hashes

Hashes for opti_extensions-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 756d86154678e877c86052d9a7413a52c2c99be0f3251f1ddc18f6b37f23442c
MD5 9e9720086aaa048af1dcc68c762d56e2
BLAKE2b-256 ccf782c84bcf06665a44e4a7eb8a5ab6f17128edb64c8faa11ff4ec431012de8

See more details on using hashes here.

Provenance

The following attestation bundles were made for opti_extensions-1.0.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