public interface INeighbor
Modifier and Type | Method and Description |
---|---|
void |
fixSomeVariables(DecisionPath decisionPath)
Freezes some variables in order to have a fast computation.
|
void |
init()
Initialize this neighbor
|
boolean |
isSearchComplete() |
void |
loadFromSolution(Solution solution)
Load a solution and record it
|
void |
recordSolution()
Record values of decision variables to freeze some ones during the next LNS run
|
void |
restrictLess()
Use less restriction at the beginning of a LNS run
in order to get better solutions
Called when no solution was found during a LNS run (trapped into a local optimum)
|
void init()
void recordSolution()
void fixSomeVariables(DecisionPath decisionPath)
decisionPath
- the decision path in which declaring variable to freezevoid restrictLess()
boolean isSearchComplete()
void loadFromSolution(Solution solution)
solution
- a solution to recordCopyright © 2017. All rights reserved.