Skip to main content

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.

Metadata

Release files for opti-extensions 1.3.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for opti-extensions 1.3.0
File Size Uploaded
opti_extensions-1.3.0.tar.gz 55.6 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for opti-extensions 1.3.0
File Interpreter ABI Platform
opti_extensions-1.3.0-py3-none-any.whl Python 3 none any Details

Total release size: 123.5 kB

Release files / opti_extensions-1.3.0.tar.gz

Download URL opti_extensions-1.3.0.tar.gz
Size 55.6 kB
Tags Source
SHA-256 checksum
How to use checksums
5c4dfe411031b481e0c2f571d280aa4f2269ae58aa777ae11877bd7a04f5608e
BLAKE2b-256 checksum
How to use checksums
bcc56a6c4984a28f9c0195c28622142a064355174bcc6adbdb8db1a4ec023ef7
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.12

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Apr 11, 2026.

Transparency log

Release files / opti_extensions-1.3.0-py3-none-any.whl

Download URL opti_extensions-1.3.0-py3-none-any.whl
Size 67.9 kB
Tags Python 3
SHA-256 checksum
How to use checksums
d2887d0d77f783fd9147bd07971e3a5e1bf5619a50621d5d085eaa4b3099eb75
BLAKE2b-256 checksum
How to use checksums
b284f7f012377ba234b7d118caac01d88a0e971e2eac5441766e9452f447f123
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.12

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Apr 11, 2026.

Transparency log

Release history Release notifications | RSS feed

This release

1.3.0 This release

2 release files

1.2.0

2 release files

1.1.0

2 release files

1.0.0

2 release files

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