This page is for an old version of Hexaly Optimizer.
We recommend that you update your version and read the documentation for the
latest stable release.
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
- MODELING¶
Model is being built.
- RUNNING¶
Solver is running.
- PAUSED¶
Solver is paused.
- STOPPED¶
Solver is stopped.