HxObjectiveDirection Enumeration

class hexaly.optimizer.HxObjectiveDirection

Objective directions.

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

print (HxObjectiveDirection[0])               # Shows HxObjectiveDirection.MINIMIZE
print (HxObjectiveDirection.MINIMIZE.value)   # Shows 0

# Iterates over the members of HxObjectiveDirection
for e in HxObjectiveDirection:
    print e
MINIMIZE

Minimization.

MAXIMIZE

Maximization.