LocalSolver logo
is now
Hexaly logo

We're excited to share that we are moving forward. We're leaving behind the LocalSolver brand and transitioning to our new identity: Hexaly. This represents a leap forward in our mission to enable every organization to make better decisions faster when faced with operational and strategic challenges.

LSObjectiveDirection Enumeration

class localsolver.LSObjectiveDirection

Objective directions.

As other enumerations present in the localsolver module, LSObjectiveDirection is enumerable and indexable:

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

# Iterates over the members of LSObjectiveDirection
for e in LSObjectiveDirection:
    print e