Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
05/19/14 16:23:58 (10 years ago)
Author:
pfleck
Message:

#2184:

  • Set BestKnownQuality and BestKnownSolution to null before setting the new ProblemInstance to avoid evaluation of the new instance with the old solution.
File:
1 edited

Legend:

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

    r10651 r10860  
    365365      Name = instance.Name;
    366366      Description = instance.Description;
     367
     368      BestKnownQuality = null;
     369      BestKnownSolution = null;
     370
    367371      if (ProblemInstance != null && instance.ProblemInstance != null &&
    368372        instance.ProblemInstance.GetType() == ProblemInstance.GetType())
     
    372376
    373377      OnReset();
    374       BestKnownQuality = null;
    375       BestKnownSolution = null;
    376378
    377379      if (instance.BestKnownQuality != null) {
Note: See TracChangeset for help on using the changeset viewer.