Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
03/29/11 15:40:01 (14 years ago)
Author:
svonolfe
Message:

Merged changes from trunk into branch (#1177)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/VRP/HeuristicLab.Problems.VehicleRouting/3.4/Analyzer/BestSolution/BestVRPSolutionAnalyzer.cs

    r5202 r5867  
    149149          validSolution = new VRPSolution(problemInstance, best.Clone() as IVRPEncoding, new DoubleValue(qualities[i].Value));
    150150          BestValidSolutionParameter.ActualValue = validSolution;
    151           results.Add(new Result("Best valid VRP Solution", validSolution));
     151          if (results.ContainsKey("Best valid VRP Solution"))
     152            results["Best valid VRP Solution"].Value = validSolution;
     153          else
     154            results.Add(new Result("Best valid VRP Solution", validSolution));
    152155        }
    153156      } else {
Note: See TracChangeset for help on using the changeset viewer.