How to use Feasopt with docplex python api?

118 Views Asked by At

I'm using the docplex.mp.model module to run a mixed-integer-programming problem when I ended up receiving an infeasible solution? Is there any way I could use the Feasopt in order to repair my model?

1

There are 1 best solutions below

0
On

DOcplex has a Relaxer class that is more general than feasopt. See this example notebook for details about handling infeasible models:

https://github.com/IBMDecisionOptimization/docplex-examples/blob/master/examples/mp/jupyter/infeasible.ipynb