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

UpcomingSelectionIterator is bugged for nullable planning variable values

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Critical Critical
    • 6.0.0.CR1
    • 6.0.0.Beta5
    • optaplanner-core
    • None

      Any ValueIterator that extends UpcomingSelectionIterator is broken by design when a nullable variable is used,
      because the UpcomingSelectionIterator presumes that a "upcomingSelection == null" means that there's nothing left to select. A null value can be selected before others values, which mean that neither the null or those other values would be selected.

              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: