github coin-or/python-mip 1.5.0

latest releases: v1.20-pre, 1.16-pre, 1.15.0...
4 years ago

WARNING: this version requires some small changes for cut generators: since now Python-MIP fully supports both Cut Generators and Lazy constraints, we decided to add a base class

ConstrsGenerator with the method generate_constrs

cut generators and lazy constraints generators should derive from this class

the Model class has how two attributes:
cuts_generator and
lazy_constrs_generator

an object of type ConstrsGenerator can be added to one of these (or both), defining when the constraint generator will be called: in the first case it will be called when a fractional solution is found and in the second case it will be called when an integer solution is found.

Don't miss a new python-mip release

NewReleases is sending notifications on new releases.