OptaPlanner 对数求解器相变
OptaPlanner log solver phase change
我有一个 OptaPlanner 项目,其求解器分阶段配置如下:
<?xml version="1.0" encoding="UTF-8"?>
<solver>
...
<!-- SOLVER PHASES CONFIGURATION -->
<!-- First phase: First Fit Decreasing -->
<constructionHeuristic>
<constructionHeuristicType>FIRST_FIT</constructionHeuristicType>
</constructionHeuristic>
<!-- Second phase: Tabu Search -->
<localSearch>
<localSearchType>TABU_SEARCH</localSearchType>
<termination>
<terminationCompositionStyle>OR</terminationCompositionStyle>
<minutesSpentLimit>2</minutesSpentLimit>
<unimprovedSecondsSpentLimit>20</unimprovedSecondsSpentLimit>
<bestScoreLimit>0hard/0medium/0soft</bestScoreLimit>
</termination>
</localSearch>
...
</solver>
我想记录相位的变化。可能吗?谢谢
我有一个 OptaPlanner 项目,其求解器分阶段配置如下:
<?xml version="1.0" encoding="UTF-8"?>
<solver>
...
<!-- SOLVER PHASES CONFIGURATION -->
<!-- First phase: First Fit Decreasing -->
<constructionHeuristic>
<constructionHeuristicType>FIRST_FIT</constructionHeuristicType>
</constructionHeuristic>
<!-- Second phase: Tabu Search -->
<localSearch>
<localSearchType>TABU_SEARCH</localSearchType>
<termination>
<terminationCompositionStyle>OR</terminationCompositionStyle>
<minutesSpentLimit>2</minutesSpentLimit>
<unimprovedSecondsSpentLimit>20</unimprovedSecondsSpentLimit>
<bestScoreLimit>0hard/0medium/0soft</bestScoreLimit>
</termination>
</localSearch>
...
</solver>
我想记录相位的变化。可能吗?谢谢