Reputation: 1039
The OptaPlanner user guide (http://docs.jboss.org/optaplanner/release/6.4.0.Final/optaplanner-docs/html_single/index.html#whichOptimizationAlgorithmsShouldIUse) mentions "combining multiple algorithms together".
How do you specifiy that in the configuration file? The XML does not allow more than one localSearchType element. I tried a run with
<acceptor>
<entityTabuSize>7</entityTabuSize>
<lateAcceptanceSize>200</lateAcceptanceSize>
<simulatedAnnealingStartingTemperature>0hard/500soft</simulatedAnnealingStartingTemperature>
</acceptor>
and it ran, but I'm not sure what algorithms were used.
Upvotes: 0
Views: 219
Reputation: 27312
You can combine LS's and also sequence them.
Combine:
<acceptor>
<entityTabuSize>7</entityTabuSize>
<lateAcceptanceSize>200</lateAcceptanceSize>
</acceptor>
// with acceptedCounLimit 1 => LA with a bit of tabu
Sequence
<localSearch>
<termination>...</termination>
<acceptor>
<lateAcceptanceSize>200</lateAcceptanceSize>
</acceptor>
...
</localSearch>
<localSearch>
<acceptor>
<entityTabuSize>7</entityTabuSize>
</acceptor>
...
</localSearch>
// First LA, then TS
Upvotes: 1