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

UnimprovedTimeMillisSpentScoreDifferenceThresholdTermination: init score improvement should reset threshold (regression?)

XMLWordPrintable

    • 2021 Week 25-27 (from Jun 21), 2021 Week 28-30 (from Jul 12), 2021 Week 37-39 (from Sep 13)
    • 5
    • Undefined
    • NEW
    • NEW

      This termination

      
        <termination>
          <unimprovedSecondsSpentLimit>2</unimprovedSecondsSpentLimit>
          <unimprovedScoreDifferenceThreshold>0hard/1000soft</unimprovedScoreDifferenceThreshold>
        </termination>
      

      terminates way too early:

      14:33:58.372 [l-3-thread-1] INFO  Solving started: time spent (25), best score (-300init/0hard/0soft), environment mode (REPRODUCIBLE), move thread count (NONE), random (JDK with seed 0).
      14:33:58.434 [l-3-thread-1] DEBUG     CH step (0), time spent (87), score (-299init/0hard/-1400soft), selected move count (100), picked move (CloudProcess-24 {null -> CloudComputer-14}).
      ...
      
      14:33:59.064 [l-3-thread-1] DEBUG     CH step (299), time spent (717), score (0hard/-132440soft), selected move count (96), picked move (CloudProcess-2 {null -> CloudComputer-38}).
      14:33:59.068 [l-3-thread-1] INFO  Construction Heuristic phase (0) ended: time spent (721), best score (0hard/-132440soft), score calculation speed (37573/sec), step total (300).
      ....
      
      14:34:00.373 [l-3-thread-1] DEBUG     LS step (7521), time spent (2026), score (0hard/-127830soft),     best score (0hard/-126690soft), accepted/selected move count (1/2), picked move (CloudProcess-102 {CloudComputer-35} <-> CloudProcess-269 {CloudComputer-65}).
      14:34:00.373 [l-3-thread-1] INFO  Local Search phase (1) ended: time spent (2026), best score (0hard/-126690soft), score calculation speed (25077/sec), step total (7522).
      14:34:00.373 [l-3-thread-1] INFO  Solving ended: time spent (2026), best score (0hard/-126690soft), score calculation speed (28900/sec), phase total (2), environment mode (REPRODUCIBLE), move thread count (NONE).
      
      

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

                Created:
                Updated:
                Resolved: