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

Partitioned search does not emit BestSolutionEvent after a ProblemChange

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • 8.27.0.Final
    • 8.21.0.Final, 8.22.0.Final, 8.23.0.Final, 8.24.0.Final, 8.25.0.Final, 8.26.0.Final
    • optaplanner-core
    • None

      Firing the event after a ProblemChange in the DefaultSolver is omitted to avoid publishing uninitialized solutions [1] - when the ProblemChange has been processed, but not even the CH phase ran. Instead, the CH phase fires the event when it finishes.

      During the partitioned search, the CH phase does not fire the best solution event and thus, there are no events fired immediately after submitting a ProblemChange.

      [1] https://github.com/kiegroup/optaplanner/commit/a5fe8bd7f4596ea6f4effa24689255e4dbae94f6

              rsynek@redhat.com Radovan Synek (Inactive)
              rsynek@redhat.com Radovan Synek (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: