Optlang

Latest version: v1.8.1

Safety actively analyzes 621825 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 1 of 2

1.8.0

-----
* add a generic matrix interface to allow easy addition of new solvers
that expect an immutable problem in standard form as input
* replace the OSQP interface with a hybrid interface that uses HIGHS for (MI)LPs and
OSQP for QPs
* `osqp_interface` is now deprecated, will import the hybrid interface when used, and
will be removed entirely soon

1.7.0

-----
* remove deprecated numpy type casts
* The symbolics module now has consistent exports
* When sympy is used the internal Symbol class now derives from sympy.core.Dummy. This
circumvents the hack in place to make Symbols unique and makes optlang work with
sympy>=1.12 again.
* Updated the scipy and the jsonschema tests to work with newer versions of those packages.
* Package version dependencies are now more specific.
* Tests are run for sympy and symengine now.
* Updated support Python versions to >=3.8.

1.6.1

-----
* fix the Gurobi version check to allow 10.0

1.6.0

-----
* fixes problem scaling for GLPK
* fixes scaling output in GLPK that could not be turned off
* Major performance improvements in the Gurobi interface when getting primals,
shadow prices and reduced costs
* Now only supports gurobipy>=9.5
* Tests are now run with the Gurobi and CPLEX community editions
* Drop support for Python 2 and add support for Python 3.10

1.5.2

-----
* Gurobi can now serialize its configuration correctly. This also fixes pickling of Gurobi models.
* Fix the shim for integrality tolerance in OSQP which makes it easier to clone OSQP Models to other solvers.
* Fix an issue where one could not rename variables in Gurobi version 9.

1.5.1

-----
* GLPK now respects `Configuration.tolerances.integrality` again

Page 1 of 2

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.