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.

LSBBState Enumeration

class localsolverblackbox.LSBBState

State of LocalSolverBlackBox environment.

As other enumerations present in the localsolverblacbox module, LSBBState is enumerable and indexable:

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

# Iterates over the members of LSBBState
for e in LSBBState:
    print e
MODELING

Model is being built.

RUNNING

Solver is running.

PAUSED

Solver is paused.

STOPPED

Solver is stopped.