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

Planner: benchmark ranking algorithms must be failure safe (score is null)

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • 5.5.0.Final
    • None
    • optaplanner-core
    • None

      Things that are problematic in the ranking code (all classes under org.drools.planner.benchmark.core.ranking):

      • score can be null, totalScore can be null, ... when there are failures
      • org.drools.planner.benchmark.core.ranking.TotalRankSolverBenchmarkRankingWeightFactory: Usage of SolverBenchmark.getScoreList() because some SolverBenchmark might have extra problem inputFiles.

      The question is, should the ranking first compare the failureCount? Yes, I think it should.
      What code should do that? the DefaultPlannerBenchmark, by default, or the rankers itself?

              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: