After searching through the library I found the problem. It should be
<subChainSwapMoveSelector>
*
<planningEntityClass>model.ScheduleBlockPeriod</planningEntityClass>*
<subChainSelector>
<valueSelector>nextScheduleBlockPeriod</valueSelector>
<minimumSubChainSize>2</minimumSubChainSize>
<maximumSubChainSize>40</maximumSubChainSize>
</subChainSelector>
<selectReversingMoveToo>true</selectReversingMoveToo>
</subChainSwapMoveSelector>
instead of the following, which is suggested in the documentation:
<subChainChangeMoveSelector>
<subChainSelector>
*<entitySelector>
<entityClass>model.ScheduleBlockPeriod</entityClass>
</entitySelector>*
<minimumSubChainSize>2</minimumSubChainSize>
<maximumSubChainSize>40</maximumSubChainSize>
</subChainSelector>
<valueSelector>
<variableName>nextScheduleBlockPeriod</variableName>
</valueSelector>
<selectReversingMoveToo>true</selectReversingMoveToo>
</subChainChangeMoveSelector>
This should be changed here:
http://docs.jboss.org/drools/release/6.0.1.Final/optaplanner-docs/html_si...
and at the subChainSwapMoveSelector chapter to avoid others running into the
same problem!!
--
View this message in context:
http://drools.46999.n3.nabble.com/No-such-field-org-optaplanner-core-conf...
Sent from the Drools: User forum mailing list archive at
Nabble.com.