🚨 Shai-Hulud Strikes Again:834 Packages Compromised.Technical Analysis →
Socket
Book a DemoInstallSign in
Socket

opti-extensions

Package Overview
Dependencies
Maintainers
1
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

opti-extensions

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

pipPyPI
Version
1.2.0
Maintainers
1

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 2750+ test cases and fully type-checked with mypy under strict mode.

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.

Keywords

CPLEX

FAQs

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts