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

Branch and bound: Score First node exploration degraded to Depth First as a side effect of PLANNER-405

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Minor Minor
    • 7.0.0.Beta2
    • 7.0.0.Beta1
    • optaplanner-core
    • None
    • NEW
    • NEW

      Because any score with higher initScore is always better than a score with lower initScore, deeper nodes (which have more initialized entities) are taken before higher nodes. As a result, Score First now behaves exactly as Depth First exploration. This is true for the small 4-NQueens example but at this moment I cannot prove if it's true in general. I consider this a bug as the change wasn't intended and the Score First exploration now performs worse than before (it makes more steps).

      Please take a look at this commit if you want to see how the Score First exploration has changed.

            jlocker Jiří Locker
            jlocker Jiří Locker
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: