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

Pareto: AllBestSolutionsRecaller: Solver should support returning all the solutions with the same best score found during solving, not just the first

XMLWordPrintable

    • Icon: Feature Request Feature Request
    • Resolution: Unresolved
    • Icon: Major Major
    • Future
    • None
    • optaplanner-core

      Extra method on Solver: getBestSolutions().
      Maybe rename BestSolutionRecaller to AllBestSolutionsRecaller? I wouldn't keep the first if a couple experiments should little or no performance degradation due to the hashing of each solution step (especially in sim ann).

      What do we do with Solver.getBestSolution()?
      Proposition 1: remove it
      Proposition 2: keep it and return getBestSolutions().get(0)

            Unassigned Unassigned
            gdesmet@redhat.com Geoffrey De Smet (Inactive)
            Votes:
            1 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: