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

Fail fast on negative constraint weights

XMLWordPrintable

    • Icon: Feature Request Feature Request
    • Resolution: Done
    • Icon: Major Major
    • 7.34.0.Final
    • None
    • optaplanner-core
    • None
    • 2020 Week 07-09 (from Feb 10)
    • 2
    • Low
    • NEW
    • NEW

      In constraint streams, `penalize()` and `reward()` calls expect positive numbers both as a match weight, and from the weigher function. Negative values should be considered programming error and should fail fast.

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

                Created:
                Updated:
                Resolved: