<html>
  <head>
    <meta content="text/html; charset=ISO-8859-1"
      http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    Not out of the box currently.<br>
    <br>
    About changing the tabu size at runtime<br>
    =========================<br>
    I'd like to support this at some point, but haven't got time to
    experiment with it yet.<br>
    Extend this class:<br>
    &nbsp;
<a class="moz-txt-link-freetext" href="https://github.com/droolsjbpm/drools-planner/blob/master/drools-planner-core/src/main/java/org/drools/planner/core/localsearch/decider/acceptor/tabu/PlanningEntityTabuAcceptor.java">https://github.com/droolsjbpm/drools-planner/blob/master/drools-planner-core/src/main/java/org/drools/planner/core/localsearch/decider/acceptor/tabu/PlanningEntityTabuAcceptor.java</a><br>
    Do your dynamic changing in<br>
    &nbsp;&nbsp;&nbsp; @Override<br>
    &nbsp;&nbsp;&nbsp; public void stepEnded(LocalSearchStepScope stepScope) {<br>
    &nbsp;&nbsp;&nbsp;&nbsp;&nbsp; //call super first<br>
    &nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ...<br>
    &nbsp;&nbsp;&nbsp; }<br>
    And hook it up here:<br>
    &nbsp;
<a class="moz-txt-link-freetext" href="https://github.com/droolsjbpm/drools-planner/blob/master/drools-planner-core/src/main/java/org/drools/planner/config/localsearch/decider/acceptor/AcceptorConfig.java">https://github.com/droolsjbpm/drools-planner/blob/master/drools-planner-core/src/main/java/org/drools/planner/config/localsearch/decider/acceptor/AcceptorConfig.java</a><br>
    Your experiments results are very welcome! Which dynamic tabu size
    changes work, which don't work well.<br>
    Pull requests are also welcome.<br>
    <br>
    Generally changing solving configuration at runtime<br>
    ================================<br>
    <br>
    If you want to do this, you need to do it from the main solver
    thread,<br>
    so either you extend one of the classes (as shown above) or use
    Solver.addProblemFactChange()<br>
    <br>
    <div class="moz-cite-prefix">Op 18-12-12 14:39, &#36719;&#20214;0907&#40644;&#27859; schreef:<br>
    </div>
    <blockquote cite="mid:tencent_61B00E5C35C53C12079C1E40@qq.com"
      type="cite">
      <div>hi,</div>
      <div>&nbsp; Can I change the configuration of the solver,such as tabu
        size,after the solver has been initialized and is still running?</div>
      <div>&nbsp; with kind regards</div>
      <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <br>
      <pre wrap="">_______________________________________________
rules-users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:rules-users@lists.jboss.org">rules-users@lists.jboss.org</a>
<a class="moz-txt-link-freetext" href="https://lists.jboss.org/mailman/listinfo/rules-users">https://lists.jboss.org/mailman/listinfo/rules-users</a>
</pre>
    </blockquote>
    <br>
  </body>
</html>