yes, use PHASE caching.Hi,
Is it possible to use caching on a custom created MoveListFactory?
<cacheType>PHASE</>
I mean, I created a custom MoveListFactory and configured it like this:
<moveListFactory>
Cloning doesn't impact it either. The working solution instance doesn't change: it's the best solution instance that gets replaced by a clone, but the MoveListFactory is based on the working solution.<moveListFactoryClass>my.planner.solver.ProjectShiftFactory</moveListFactoryClass>
</moveListFactory>
I noticed that the createMoveList method is called upon every step.Though, if I get things right, in the case that the step did not result in a better score, the solution will not be cloned and thus (in my case) the
calling of the createMoveList in the next step will result in exactly the same list containing the same object instances.
yes, see above
I think it would be OK if the createMoveListis only called when a better score is reached and a cloneSolution will be executed (and thus my object instances get obsolete).1) I hope my theory makes sense end if so my question is: can I cache the list on the level as described?
it's still taken, as it might lead out of a local optima.
2) One more question about steps: if a step does not result in a better score, what happens then?
Looking though all possible moves doesn't scale with more than 100 entities * 100 values, so we look through a random subset of all moves (minimalAcceptedSelection)- A new number of moves is launched up to the limit defined by minimalAcceptedSelection?
It always starts from a different solution: the step is always taken (even if it's worse - in fact Sim Ann, Late acceptance and to lesser degree Tabu Search heavily need this).But what is the difference with the previous step?
Is it the fact that a "different" solution with the same score will be used as starting point of the new step (given that one uses tabu)?
Thanks,
Michiel-----------------
http://www.codessentials.com - Your essential software, for free!
Follow us at http://twitter.com/#!/Codessentials
_______________________________________________ rules-users mailing list rules-users@lists.jboss.org https://lists.jboss.org/mailman/listinfo/rules-users