V
- type of objective variablepublic interface IObjectiveManager<V extends Variable> extends IBoundsManager, ICause
Modifier and Type | Method and Description |
---|---|
V |
getObjective() |
void |
postDynamicCut()
Prevent the model from computing worse quality solutions
|
void |
setCutComputer(Function<Number,Number> cutComputer)
Set a user-defined cut computer to avoid "worse" solutions
|
void |
setStrictDynamicCut()
Define a strict cut computer where in the next solution to find should be strictly greater (resp. lesser) than
the best solution found so far when maximizing (resp. minimizing) a problem.
|
void |
setWalkingDynamicCut()
Define a walking cut computer where in the next solution to find should be greater than (resp. less than)
or equal to the best solution found so far when maximizing (resp. minimizing) a problem.
|
void |
updateBestSolution()
Informs the manager that a new solution has been found
|
void |
updateBestSolution(Number n)
Informs the manager that a new solution has been found
|
getBestLB, getBestSolutionValue, getBestUB, getPolicy, isOptimization, resetBestBounds, updateBestBounds, updateBestLB, updateBestUB
V getObjective()
void updateBestSolution(Number n)
void updateBestSolution()
void setCutComputer(Function<Number,Number> cutComputer)
void setStrictDynamicCut()
void setWalkingDynamicCut()
void postDynamicCut() throws ContradictionException
ContradictionException
- if posting this cut failsCopyright © 2018. All rights reserved.