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 2600+ 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.1.0.tar.gz (56.2 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.1.0-py3-none-any.whl (63.9 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: opti_extensions-1.1.0.tar.gz
  • Upload date:
  • Size: 56.2 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.1.0.tar.gz
Algorithm Hash digest
SHA256 2175c80920ba8efbbb3d858561307f5fc486e42c375be37a2202ebb1df69f9e6
MD5 e415d1add34d0ad48300cf43797c1c19
BLAKE2b-256 982d0f3a4222ce9e4feaf7aca8af69349df296e2ffe470beed9c36ffe80b338a

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for opti_extensions-1.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 e1e394f28b2bcd5ec94309c32d2b9a9e5e3f76f6a444138d8c809a9fb88639ab
MD5 ed3ac18eed6bc3fcdcc60612cb3e61b2
BLAKE2b-256 8e9fd7c84613edf119b52055caa95abbc0f1692f84dfa01013ba1f3876716952

See more details on using hashes here.

Provenance

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