Modifier and Type | Method and Description |
---|---|
static Objective |
Objective.valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static Objective[] |
Objective.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Modifier and Type | Method and Description |
---|---|
Solution |
Solver.findOptimalSolution(Objective objective,
Var objectiveVar)
This method is equivalent to
findOptimalSolution(Objective.MINIMIZE,objectiveVar,OptimizationStrategy.NATIVE)
It is usually overridden by an implementation
|
Solution |
Solver.findOptimalSolution(Objective objective,
Var objectiveVar,
OptimizationStrategy optStrategy)
This method attempts to find the solution that minimizes/maximizes the objective variable.
|
Solution |
Solver.findOptimalSolution(Objective objective,
VarReal objectiveVar)
This method is equivalent to
findOptimalSolution(Objective.MINIMIZE,objectiveVar,OptimizationStrategy.NATIVE)
It is usually overridden by an implementation
|
Solution |
Solver.findOptimalSolution(Objective objective,
VarReal objectiveVar,
OptimizationStrategy optStrategy) |