Changeset 6838 for branches/VRP/HeuristicLab.Problems.VehicleRouting/3.4/Encodings/Potvin/Manipulators/PotvinLocalSearchManipulator.cs
- Timestamp:
- 09/27/11 13:29:56 (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/VRP/HeuristicLab.Problems.VehicleRouting/3.4/Encodings/Potvin/Manipulators/PotvinLocalSearchManipulator.cs
r4752 r6838 69 69 distance = individual.GetTourLength(individual.Tours[currentTour]); 70 70 individual.Tours[currentTour].Stops.InsertRange(currentCity, toBeDeleted); 71 if (ProblemInstance. Feasible(individual.Tours[currentTour])) {71 if (ProblemInstance.TourFeasible(individual.Tours[currentTour], individual)) { 72 72 double lengthIncrease = 73 73 individual.GetTourLength(individual.Tours[currentTour]) - distance;
Note: See TracChangeset
for help on using the changeset viewer.