LSBBObjectiveDirection Enumeration

class localsolverblackbox.LSBBObjectiveDirection

Objective directions.

As other enumerations present in the localsolverblackbox module, LSBBObjectiveDirection is enumerable and indexable:

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

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

Minimization.

MAXIMIZE

Maximization.