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.

LSState Enumeration

class localsolver.LSState

State of LocalSolver environment.

As other enumerations present in the localsolver module, LSState is enumerable and indexable:

print (LSState[0])               # Shows LSState.MODELING
print (LSState.MODELING.value)   # Shows 0

# Iterates over the members of LSState
for e in LSState:
    print e

Model is being built.


Solver is running.


Solver is paused.


Solver is stopped.