-
Enhancement
-
Resolution: Done
-
Major
-
None
-
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.