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

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

    XMLWordPrintable

Details

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

    Description

      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?

      Attachments

        Activity

          People

            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

            Dates

              Created:
              Updated:
              Resolved: