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

Feature enabled demand system for algorithms that need performance lowering features: timeGradient, constraintMatches, ...

XMLWordPrintable

    • Icon: Feature Request Feature Request
    • Resolution: Done
    • Icon: Major Major
    • 6.2.0.Final
    • None
    • optaplanner-core
    • None

      Currently timeGradient's are always calculated.
      And constraintMatches are always disabled in Solver's ScoreDirectory (unless assertion mode is on).

      Not all algorithms need timeGradient (in fact only Simulated Annealing needs it currently).
      Some unwritten algorithms need constraintMatches, most notably Guided Local Search.

      When the Solver starts, it needs to be able to check which features needs to be enabled, by gathering feature Demand (or Request?) instances from it's algorithms. All features which aren't needed are disabled, for performance reasons.

              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: