From 05c747583eb355eaf4e005139034a66a4663121b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Luk=C3=A1=C5=A1=20Petrovick=C3=BD?= Date: Tue, 12 Mar 2024 09:18:17 +0100 Subject: [PATCH] chore: nit picking before the release --- .../java/ai/timefold/solver/core/impl/solver/DefaultSolver.java | 2 +- .../use-cases-and-examples/cloud-balancing/cloud-balancing.adoc | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/core/core-impl/src/main/java/ai/timefold/solver/core/impl/solver/DefaultSolver.java b/core/core-impl/src/main/java/ai/timefold/solver/core/impl/solver/DefaultSolver.java index 53d4c5c5b9..7141a3fad3 100644 --- a/core/core-impl/src/main/java/ai/timefold/solver/core/impl/solver/DefaultSolver.java +++ b/core/core-impl/src/main/java/ai/timefold/solver/core/impl/solver/DefaultSolver.java @@ -240,7 +240,7 @@ public void solvingStarted(SolverScope solverScope) { if (logger.isInfoEnabled()) { // Formatting is expensive here. var problemSizeStatistics = solverScope.getProblemSizeStatistics(); logger.info( - "Problem scale: entity count ({}), variable count ({}), approximate value count (~{}), approximate problem scale (~{}).", + "Problem scale: entity count ({}), variable count ({}), approximate value count ({}), approximate problem scale ({}).", problemSizeStatistics.entityCount(), problemSizeStatistics.variableCount(), problemSizeStatistics.approximateValueCount(), problemSizeStatistics.approximateProblemScaleAsFormattedString()); diff --git a/docs/src/modules/ROOT/pages/use-cases-and-examples/cloud-balancing/cloud-balancing.adoc b/docs/src/modules/ROOT/pages/use-cases-and-examples/cloud-balancing/cloud-balancing.adoc index b37716b883..32d9812fba 100644 --- a/docs/src/modules/ROOT/pages/use-cases-and-examples/cloud-balancing/cloud-balancing.adoc +++ b/docs/src/modules/ROOT/pages/use-cases-and-examples/cloud-balancing/cloud-balancing.adoc @@ -246,7 +246,7 @@ public class CloudBalance ... { [#cloudBalancingMainMethod] == Run the cloud balancing Hello World -. xref:introduction/introduction.adoc#buildFromSource[Download and configure the examples in your preferred IDE.] +. Download and configure the examples in your preferred IDE. . Create a run configuration with the following main class: `ai.timefold.solver.examples.cloudbalancing.app.CloudBalancingHelloWorld` + By default, the Cloud Balancing Hello World is configured to run for 120 seconds.