HxState Enumeration

class hexaly.optimizer.HxState

State of Hexaly Optimizer environment.

As other enumerations present in the hexaly.optimizer module, HxState is enumerable and indexable:

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

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

Model is being built.

RUNNING

Solver is running.

PAUSED

Solver is paused.

STOPPED

Solver is stopped.