Changeset 6838 for branches/VRP/HeuristicLab.Problems.VehicleRouting/3.4/Encodings/Potvin/Manipulators
- Timestamp:
- 09/27/11 13:29:56 (13 years ago)
- Location:
- branches/VRP/HeuristicLab.Problems.VehicleRouting/3.4/Encodings/Potvin/Manipulators
- Files:
-
- 2 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; -
branches/VRP/HeuristicLab.Problems.VehicleRouting/3.4/Encodings/Potvin/Manipulators/PotvinTwoLevelExchangeManipulator.cs
r6796 r6838 66 66 route1.Stops.RemoveAt(customer1Position); 67 67 68 if (ProblemInstance. Feasible(tour)) {68 if (ProblemInstance.TourFeasible(tour, individual)) { 69 69 int routeIdx, place; 70 70 if (FindInsertionPlace(individual,
Note: See TracChangeset
for help on using the changeset viewer.