Polarith AI
1.8

◆ SetObjectiveMinimized()

void SetObjectiveMinimized ( int  index,
bool  minimized 
)

Allows to set whether the objective with the specified index is minimized when calling Evaluate.

Parameters
indexThe index of the targeted objective.
minimizedIf true, the objective is minimized. Otherwise, it is maximized.
Exceptions
ArgumentOutOfRangeExceptionIf there is no objective with the specified index .
Imprint