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_single/index.html#subChainChangeMoveSelector 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-config-heuristic-selector-value-chained-SubChainSelectorConfig-enr-tp4029905p4029906.html Sent from the Drools: User forum mailing list archive at Nabble.com. _______________________________________________ rules-users mailing list rules-users@lists.jboss.org https://lists.jboss.org/mailman/listinfo/rules-users