From 27e0ef9fc58b33505889515cbbc03d34ce987307 Mon Sep 17 00:00:00 2001 From: Fred Date: Mon, 24 Jun 2024 10:26:16 -0300 Subject: [PATCH] fix: minor adjustments regarding initialized solution --- .../micro/scoredirector/problems/ProblemInitializer.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main/java/ai/timefold/solver/benchmarks/micro/scoredirector/problems/ProblemInitializer.java b/src/main/java/ai/timefold/solver/benchmarks/micro/scoredirector/problems/ProblemInitializer.java index c9bafdba..a42b770b 100644 --- a/src/main/java/ai/timefold/solver/benchmarks/micro/scoredirector/problems/ProblemInitializer.java +++ b/src/main/java/ai/timefold/solver/benchmarks/micro/scoredirector/problems/ProblemInitializer.java @@ -82,8 +82,8 @@ null, null, null, null, new Random(0), scoreDirectorFactory.getInitializingScore bestSolutionRecaller.setSolverEventSupport(new SolverEventSupport<>(null)); var termination = TerminationFactory. create(new TerminationConfig()) .buildTermination(policy, new BasicPlumbingTermination<>(false)); - var constructionHeuristicPhase = (DefaultConstructionHeuristicPhase) factory.buildPhase(0, policy, - bestSolutionRecaller, termination); + var constructionHeuristicPhase = (DefaultConstructionHeuristicPhase) factory.buildPhase(0, false, + policy, bestSolutionRecaller, termination); // Create solver; more or less a mock. var solverScope = new SolverScope();