244.5. 終了
SolverConfig で指定される限り、解決には時間が かかります。
<solver>
...
<termination>
<!-- Terminate after 10 seconds, unless it's not feasible by then yet -->
<terminationCompositionStyle>AND</terminationCompositionStyle>
<secondsSpentLimit>10</secondsSpentLimit>
<bestScoreLimit>-1hard/0soft</bestScoreLimit>
</termination>
...
<solver>
244.5.1. サンプル リンクのコピーリンクがクリップボードにコピーされました!
リンクのコピーリンクがクリップボードにコピーされました!
OptaPlanner の ActiveMQ キューにあるプランニングの問題を解決します。
from("activemq:My.Queue").
.to("optaplanner:/org/foo/barSolverConfig.xml");
OptaPlanner を REST サービスとして公開します。
from("cxfrs:bean:rsServer?bindingStyle=SimpleConsumer")
.to("optaplanner:/org/foo/barSolverConfig.xml");