Modifier and Type | Method and Description |
---|---|
Solution[] |
Solver.findAllSolutions()
This method attempts to find all solutions for the Problem.
|
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) |
Solution |
Solver.findOptimalSolution(Var objectiveVar)
This method is equivalent to findOptimalSolution(Objective.MINIMIZE,objectiveVar)
|
Solution |
Solver.findOptimalSolution(VarReal objectiveVar)
This method is equivalent to findOptimalSolution(Objective.MINIMIZE,objectiveVar)
|
Solution |
Solver.findSolution()
This method is equivalent to findSolution(DO_NOT_RESTORE);
It means that the problem state will always be restored even when a solution is found.
|
Solution |
Solver.findSolution(ProblemState restoreOrNot)
This method attempts to find a solution of the problem, for which the solver was defined.
|
Solution |
Solver.getSolution(int i)
Returns the i-th Solution found by the latest search
|
Solution |
SolutionIterator.next()
Returns the next solution
|