LocalSolver logo
is now
Hexaly logo

We're excited to share that we are moving forward. We're leaving behind the LocalSolver brand and transitioning to our new identity: Hexaly. This represents a leap forward in our mission to enable every organization to make better decisions faster when faced with operational and strategic challenges.

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 inconsistent, because some computations can yield undefined results. For instance, computing, SQRT(x) with negative x yields an undefined value, which causes the solution to be invalid if it is used in an objective or a constraint (directly or indirectly).


Solution is infeasible (some constraints are violated).


Solution is feasible but optimality was not proven.


Solution is optimal (all objective bounds are reached).