|
Not out of the box currently. About changing the tabu size at runtime ========================= I'd like to support this at some point, but haven't got time to experiment with it yet. Extend this class: https://github.com/droolsjbpm/drools-planner/blob/master/drools-planner-core/src/main/java/org/drools/planner/core/localsearch/decider/acceptor/tabu/PlanningEntityTabuAcceptor.java Do your dynamic changing in @Override public void stepEnded(LocalSearchStepScope stepScope) { //call super first ... } And hook it up here: https://github.com/droolsjbpm/drools-planner/blob/master/drools-planner-core/src/main/java/org/drools/planner/config/localsearch/decider/acceptor/AcceptorConfig.java Your experiments results are very welcome! Which dynamic tabu size changes work, which don't work well. Pull requests are also welcome. Generally changing solving configuration at runtime ================================ If you want to do this, you need to do it from the main solver thread, so either you extend one of the classes (as shown above) or use Solver.addProblemFactChange() Op 18-12-12 14:39, 软件0907黄泓 schreef:
|
_______________________________________________ rules-users mailing list [email protected] https://lists.jboss.org/mailman/listinfo/rules-users
