Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
07/28/11 14:16:21 (13 years ago)
Author:
svonolfe
Message:

Merged changes from trunk (#1561) into branch (#1177)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/VRP/HeuristicLab.Problems.VehicleRouting/3.4/Encodings/Potvin/Moves/CustomerRelocation/PotvinCustomerRelocationMoveMaker.cs

    r5867 r6607  
    106106
    107107      //reset move quality
    108       VRPEvaluation eval = ProblemInstance.EvaluatorParameter.Value.Evaluate(ProblemInstance, newSolution);
     108      VRPEvaluation eval = ProblemInstance.Evaluate(newSolution);
    109109      MoveQualityParameter.ActualValue.Value = eval.Quality;
    110110
    111111      //update penalty factor
    112112      double sigma = SigmaParameter.Value.Value;
    113       if (ProblemInstance.EvaluatorParameter.Value.Feasible(eval)) {
     113      if (ProblemInstance.Feasible(eval)) {
    114114        newSolution.PenaltyFactor /= (1 + sigma);
    115115        if (newSolution.PenaltyFactor < MinPenaltyFactorParameter.Value.Value)
Note: See TracChangeset for help on using the changeset viewer.