Skip to content

Releases: opencobra/optlang

1.3.0

22 Nov 12:23
3b8dcb5

Choose a tag to compare

- Symengine-based symbolics is now a fully supported feature
- Added the first exact LP solver, available as glpk_exact_interface
- Fixed an issue with indicator variables in cplex
- Minor bugfixes

1.2.5 (#139)

19 Oct 08:45

Choose a tag to compare

Bugfix: Add missing unpacking in symengine Mul

1.2.4 (#135)

15 Oct 15:31

Choose a tag to compare

Added minor symengine features

1.2.3 (#132)

19 Sep 07:41

Choose a tag to compare

Fix: allow bounds to be changed on binary variables
Fix: automatically convert problem type to LP after integer variables are removed

1.2.2 (#129)

21 Aug 13:03

Choose a tag to compare

- Fixed a couple of gurobi interface bugs
- Fixed a bug where cplex took forever to set a large objective (e.g. 10000 vars)
- Experimental support for symengine (requires Python >= 3.5, install with `conda install -c symengine python-symengine`)

1.2.1 (#111)

02 Jun 11:37

Choose a tag to compare

- Fix: A bug where objective values could be returned as sympy number types has been fixed.

1.2.0 (#110)

17 May 08:34

Choose a tag to compare

- Gurobi interface is officially not under construction anymore
- Tolerances can now be changed via the Model.configuration.tolerances interface
- Objectives with constant terms will now be handled correctly
- Getting solution values from GLPK is now more efficient

1.1.5

24 Apr 13:25

Choose a tag to compare

* fix: glpk get_linear_coefficients returns coefficients for the queried variables
* refactor: Batch value getters (_get_primal_values etc), that return list-like objects are introduced
* chore: disable logging with cplex when verbosity=0
* test: added more tests

1.1.4

06 Apr 14:07

Choose a tag to compare

* feat: add `SolverError` exception

This introduces the unified optlang error that should be reraised anywhere that
solver specific errors can occur. Third party code can then rely on catching the
optlang error only.

* Fix MIP dual behaviour

Raise a ValueError when trying to get constraint or variable dual values for an integer problem (instead of returning None)

* Fix: Adds functionality to automatically change the type of the cplex problem when changing variable types

* Change Module Loading Procedure

This fixes Issue #90 where, if any module fails to load, optlang itself cannot load.

* feat: cplex 12.7.1 compatibility

1.1.3

30 Mar 09:46

Choose a tag to compare

fix: make sure that sloppy arg is being passed to super (#83)
Netlib tests test also cloned models (#79)
Add a Gitter chat badge to README.rst (#86) (#88)