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

Increase solving performance by caching ANC work

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Done
    • Icon: Major Major
    • 8.17.0.Final
    • None
    • optaplanner-core
    • None
    • 2022 Week 02-04 (from Jan 10)
    • 3
    • NEW
    • NEW

      For reference please see:
      https://stackoverflow.com/questions/70622346/how-to-speed-up-solvermanager-solveandlisten

      When SolverManager.solveAndListen(...) is called, it can take ~500ms to run the ANC work in particular:
      org.drools.ancompiler.KieBaseUpdaterANC.generateAndSetInMemoryANC

      In some OptaPlanner projects, you need to repeated call solveAndListen() for sampling or other purposes, and a delay of 500ms can really add up.

      This caching enhancement would make OptaPlanner highly efficient for these use cases.

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

                Created:
                Updated:
                Resolved: