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:
hi,
  Can I change the configuration of the solver,such as tabu size,after the solver has been initialized and is still running?
  with kind regards


_______________________________________________
rules-users mailing list
rules-users@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-users