Changeset 6607 for branches/VRP/HeuristicLab.Problems.VehicleRouting/3.4/Encodings/Potvin/Moves/CustomerRelocation
- Timestamp:
- 07/28/11 14:16:21 (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/VRP/HeuristicLab.Problems.VehicleRouting/3.4/Encodings/Potvin/Moves/CustomerRelocation/PotvinCustomerRelocationMoveMaker.cs
r5867 r6607 106 106 107 107 //reset move quality 108 VRPEvaluation eval = ProblemInstance.Evaluat orParameter.Value.Evaluate(ProblemInstance,newSolution);108 VRPEvaluation eval = ProblemInstance.Evaluate(newSolution); 109 109 MoveQualityParameter.ActualValue.Value = eval.Quality; 110 110 111 111 //update penalty factor 112 112 double sigma = SigmaParameter.Value.Value; 113 if (ProblemInstance. EvaluatorParameter.Value.Feasible(eval)) {113 if (ProblemInstance.Feasible(eval)) { 114 114 newSolution.PenaltyFactor /= (1 + sigma); 115 115 if (newSolution.PenaltyFactor < MinPenaltyFactorParameter.Value.Value)
Note: See TracChangeset
for help on using the changeset viewer.