From 37cfd3cbd88310a39a92b0374b3a1c182ae2a7e3 Mon Sep 17 00:00:00 2001 From: oblonski Date: Fri, 22 Nov 2024 10:27:20 +0100 Subject: [PATCH] more info about initial solution --- .../jsprit/core/algorithm/InsertionInitialSolutionFactory.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/jsprit-core/src/main/java/com/graphhopper/jsprit/core/algorithm/InsertionInitialSolutionFactory.java b/jsprit-core/src/main/java/com/graphhopper/jsprit/core/algorithm/InsertionInitialSolutionFactory.java index dac82af7f..4709f3707 100644 --- a/jsprit-core/src/main/java/com/graphhopper/jsprit/core/algorithm/InsertionInitialSolutionFactory.java +++ b/jsprit-core/src/main/java/com/graphhopper/jsprit/core/algorithm/InsertionInitialSolutionFactory.java @@ -50,7 +50,7 @@ public InsertionInitialSolutionFactory(InsertionStrategy insertionStrategy, Solu @Override public VehicleRoutingProblemSolution createSolution(final VehicleRoutingProblem vrp) { - logger.info("create initial solution"); + logger.info("create initial solution with " + insertion); List vehicleRoutes = new ArrayList<>(vrp.getInitialVehicleRoutes()); Collection badJobs = insertion.insertJobs(vehicleRoutes, getUnassignedJobs(vrp)); VehicleRoutingProblemSolution solution = new VehicleRoutingProblemSolution(vehicleRoutes, badJobs, Double.MAX_VALUE);