Reputation: 15
At first I implemented a SolverConfig.xml
with a changeMoveSelector
like this:
<changeMoveSelector>
<entitySelector>
<entityClass>Project</entityClass>
</entitySelector>
<valueSelector>
<variableName>developer</variableName>
</valueSelector>
</changeMoveSelector>
After 10 seconds of optimization I got the following result: -388hard/-65165soft
After that I uncommented the changeMoveSelector
and after 10 seconds of optimization I got the following (better!) result: -350hard/-64713soft
How does OptaPlanner "moves", when there is no changeMoveSelector
stated?
Upvotes: 0
Views: 383
Reputation: 27312
If no move selectors are defined, Local Search defaults to a union of change and swap moves - which explains your better result. It's in the docs IIRC.
Upvotes: 2