Menu
  • HOME
  • TAGS

What does PuLP LpStatus=Undefined actually mean?

python,pulp

There are five status codes that can be returned from a solver in puLP: Optimal Not Solved Infeasible Unbounded Undefined OPTIMAL Optimal solution exists and is found. Not Solved Is the default setting before a problem has been solved. INFEASIBLE The problem has no feasible solution. UNBOUNDED The cost function...

PuLP producing LP files that are solvable by command line CBC, but PuLP reports a undefined solution

python,linear-programming,pulp

This seems to be caused by an error with the older version of cbc shipped with pulp 1.5.6 I will repackage a newer version of cbc with pulp 1.5.7 ASAP. Also you can use your other version of CBC (if it is on the path) by using the COIN_CMD solver.