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.

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.

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.