Browse Source

退火调度优化

fangpy 3 tháng trước cách đây
mục cha
commit
444b0c0362

+ 1 - 1
rw-aps-server/src/main/java/com/rongwei/rwapsserver/aps/service/impl/ProductionScheduleServiceImpl.java

@@ -1897,7 +1897,7 @@ public class ProductionScheduleServiceImpl implements ProductionScheduleService
                         .withEntityClasses(ProductionProcesses.class)
                         .withConstraintProviderClass(ApsConstraintProvider.class)
 //                .withTerminationSpentLimit(Duration.ofSeconds(runPlanSeconds1))
-                        .withTerminationConfig(new TerminationConfig().withUnimprovedSecondsSpentLimit(60L))
+                        .withTerminationConfig(new TerminationConfig().withUnimprovedSecondsSpentLimit(120L))
                         .withMoveThreadCount(cores)
         );
         Solver<ApsSolution> solver1 = solverFactory1.buildSolver();