Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
12/12/16 16:17:58 (7 years ago)
Author:
pfleck
Message:

#2705

  • Added best-known quality-only solutions for the Solomon benchmark set (from http://web.cba.neu.edu/~msolomon/problems.htm).
  • The best-known-quality is not set to null if the BestKnownSolution is null after the evaluation. Instead it is reset if the evaluator changes.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/sources/HeuristicLab.Problems.VehicleRouting/3.4/VehicleRoutingProblem.cs

    r14185 r14481  
    198198        BestKnownQuality = new DoubleValue(ProblemInstance.Evaluate(BestKnownSolution.Solution).Quality);
    199199        BestKnownSolution.Quality = BestKnownQuality;
    200       } else {
    201         BestKnownQuality = null;
    202200      }
    203201    }
     
    208206
    209207    void ProblemInstance_EvaluationChanged(object sender, EventArgs e) {
     208      BestKnownQuality = null;
    210209      EvalBestKnownSolution();
    211210    }
Note: See TracChangeset for help on using the changeset viewer.