0

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?

DasPlaies
  • 5
  • 1
  • Welcome to Stack Overflow. Can you clarify what an "infeasible solution" is? – bad_coder Sep 02 '21 at 01:09
  • Please clarify your specific problem or provide additional details to highlight exactly what you need. As it's currently written, it's hard to tell exactly what you're asking. – Community Sep 02 '21 at 06:20

1 Answers1

0

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

Philippe Couronne
  • 826
  • 1
  • 5
  • 6