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

Value range id's should be optional (configuration by exception)

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Done
    • Icon: Major Major
    • 8.33.0.Final
    • None
    • None
    • None
    • 2022 Week 50-02 (from Dec 12)
    • 5
    • Undefined
    • NEW
    • NEW

      If a @PlanningVariable has no valueRangeRef it should look for all @ValueRangeProviders that have no valueRangeRef for which the ValueRange element type is assignable to the planning variable.

      So @PlanningVariable animal will use @PlanningProvider List<Cat>,
      but @PlanningVariable cat will NOT use @PlanningProvider List<Animal>.

      If no value ranges are found, fail fast.

              lpetrovi@redhat.com Lukáš Petrovický (Inactive)
              gdesmet@redhat.com Geoffrey De Smet (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: