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

Create a test that fails if ChangeMoveSelector skips not doable moves

    XMLWordPrintable

Details

    • Task
    • Resolution: Done
    • Minor
    • 8.30.0.Final
    • None
    • optaplanner-core
    • None
    • 2022 Week 44-46 (from Oct 31)
    • NEW
    • NEW

    Description

      Move selectors must not skip undoable moves because if phase caching is enabled, moves that are not doable at the beginning of the phase will later become doable.

       

      We should have a regression test that fails if move selectors skip such seemingly "useless" moves.

       

      See the discussion in https://github.com/kiegroup/optaplanner/pull/2286.

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: