Changeset 6967
- Timestamp:
- 11/08/11 13:02:59 (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/VRP/HeuristicLab.Problems.VehicleRouting/3.4/Encodings/Potvin/Manipulators/PotvinPairwiseTwoLevelExchangeManipulator.cs
r6966 r6967 79 79 80 80 replacedSourceTour.Stops[replacedSourceTour.Stops.IndexOf(replacedSource)] = replacingSource; 81 if (!allowInfeasible && !ProblemInstance.TourFeasible(replacedSourceTour, individual)) 82 return null; 83 81 84 replacedTargetTour.Stops[replacedTargetTour.Stops.IndexOf(replacedTarget)] = replacingTarget; 85 if (!allowInfeasible && !ProblemInstance.TourFeasible(replacedTargetTour, individual)) 86 return null; 82 87 83 88 double bestQuality = double.MaxValue;
Note: See TracChangeset
for help on using the changeset viewer.