Uploaded image for project: 'OptaPlanner'
  1. OptaPlanner
  2. PLANNER-2522

Score corruption in cheaptime turtle tests

XMLWordPrintable

    • 2021 Week 37-39 (from Sep 13)
    • 5
    • NEW
    • NEW

      19:32:12.368 [main        ] INFO  Opened: data/cheaptime/unsolved/instance00.xml19:32:12.368 [main        ] INFO  Opened: thread count (NONE).19:34:13.014 [main        ] INFO  Solving started: time spent (43), best score (-26init/-392hard/-1046613447461627medium/-21827soft), environment mode (FAST_ASSERT), move thread count (NONE), random (JDK with seed 0).19:34:13.447 [main        ] INFO  Construction Heuristic phase (0) ended: time spent (476), best score (-392hard/-1048317587047389medium/-23511soft), score calculation speed (5346/sec), step total (13).
      java.lang.IllegalStateException: Score corruption (-10000000000medium): the expectedWorkingScore (0hard/-984712646416194medium/-23526soft) is not the workingScore (0hard/-984702646416194medium/-23526soft) after completedAction (TaskAssignment-95 {Machine-3 -> Machine-3}).
      at org.optaplanner.core.impl.score.director.AbstractScoreDirector.assertExpectedWorkingScore(AbstractScoreDirector.java:520) at org.optaplanner.core.impl.phase.scope.AbstractPhaseScope.assertExpectedWorkingScore(AbstractPhaseScope.java:168) at org.optaplanner.core.impl.phase.AbstractPhase.predictWorkingStepScore(AbstractPhase.java:168) at org.optaplanner.core.impl.localsearch.DefaultLocalSearchPhase.doStep(DefaultLocalSearchPhase.java:104) at org.optaplanner.core.impl.localsearch.DefaultLocalSearchPhase.solve(DefaultLocalSearchPhase.java:93) at org.optaplanner.core.impl.solver.AbstractSolver.runPhases(AbstractSolver.java:99) at org.optaplanner.core.impl.solver.DefaultSolver.solve(DefaultSolver.java:175) at org.optaplanner.examples.common.app.SolveAllTurtleTest.buildAndSolve(SolveAllTurtleTest.java:103)

        1. debugging.png
          64 kB
          Lukáš Petrovický
        2. test.xml
          174 kB
          Lukáš Petrovický

              lpetrovi@redhat.com Lukáš Petrovický (Inactive)
              lpetrovi@redhat.com Lukáš Petrovický (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: