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

Real-time planning: Solver.addProblemFactChange(...) should not reset the "time spent" in the logs.

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Done
    • Icon: Minor Minor
    • 6.1.0.Beta1
    • 6.0.1.Final
    • optaplanner-core
    • None

      Old logs:

      2014-02-19 11:04:33,161 [pool-2-thread-1] DEBUG     Step index (17), time spent (281), score (0hard/-798810soft), new best score (0hard/-798810soft), accepted/selected move count (1/284) for picked step (16(after 10) <=> 21(after 3)).
      2014-02-19 11:04:33,163 [pool-2-thread-1] DEBUG     Step index (18), time spent (283), score (0hard/-806845soft),     best score (0hard/-798810soft), accepted/selected move count (1/26) for picked step (25(after 24) => 34(after 32)).
      2014-02-19 11:04:33,221 [AWT-EventQueue-0] INFO  Scheduling insertion of newLocation (42).
      2014-02-19 11:04:33,221 [pool-2-thread-1] DEBUG     Step index (19), time spent (341), score (0hard/-807936soft),     best score (0hard/-798810soft), accepted/selected move count (0/868) for picked step (19(after 14) <=> 2(after 19)).
      2014-02-19 11:04:33,221 [pool-2-thread-1] INFO  Phase (1) localSearch ended: step total (20), time spent (341), best score (0hard/-798810soft).
      2014-02-19 11:04:33,221 [pool-2-thread-1] INFO  Solving ended: time spent (341), best score (0hard/-798810soft), average calculate count per second (15313).
      2014-02-19 11:04:33,224 [pool-2-thread-1] DEBUG     Done ProblemFactChange: new score (0hard/-798810soft).
      2014-02-19 11:04:33,224 [pool-2-thread-1] INFO  Done 1 ProblemFactChange(s): new score (0hard/-798810soft) possibly uninitialized. Restarting solver.
      2014-02-19 11:04:33,227 [pool-2-thread-1] INFO  Solving started: time spent (3), score (null), new best score (0hard/-798810soft), random (JDK with seed 0).
      2014-02-19 11:04:33,230 [pool-2-thread-1] DEBUG     Step index (0), time spent (6), score (0hard/-851203soft), selected move count (46) for constructing step (42(after null) => 15(after 2)).
      2014-02-19 11:04:33,233 [pool-2-thread-1] INFO  Phase (0) constructionHeuristic ended: step total (1), time spent (9), best score (0hard/-851203soft).
      2014-02-19 11:04:33,260 [pool-2-thread-1] DEBUG     Step index (0), time spent (36), score (0hard/-851203soft),     best score (0hard/-851203soft), accepted/selected move count (1/375) for picked step ([41(after 11), 13(after 41), 22(after 13)] reversed => 1[vehicle-0]).
      2014-02-19 11:04:33,297 [pool-2-thread-1] DEBUG     Step index (1), time spent (73), score (0hard/-851203soft),     best score (0hard/-851203soft), accepted/selected move count (1/576) for picked step ([14(after 1), 19(after 14)] reversed <=> [2(after 19), 15(after 2), 42(after 15)]).
      

            gdesmet@redhat.com Geoffrey De Smet (Inactive)
            gdesmet@redhat.com Geoffrey De Smet (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: