LSSolutionStatus Enumeration

enum localsolver.LSSolutionStatus

Solution status: Optimal, Feasible, Infeasible or Inconsistent.


Solution and model are inconsistent. The solver was able to prove that the model admits no feasible solution. Note that even a model without any constraint can be infeasible because some expressions induce implicit constraints: for instance defining SQRT(x) implicitly constrains x to be non-negative.


Solution is infeasible (some constraints are violated).


Solution is feasible but optimality was not proven.


Solution is optimal (all objective bounds are reached).