Changeset 6851 for branches/VRP/HeuristicLab.Problems.VehicleRouting/3.4/Encodings/Potvin/Manipulators
- Timestamp:
- 09/29/11 15:51:56 (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/VRP/HeuristicLab.Problems.VehicleRouting/3.4/Encodings/Potvin/Manipulators/PotvinCustomerRelocationManipulator.cs
r6753 r6851 67 67 for (int i = 0; i < route1.Stops.Count; i++) { 68 68 int stop = route1.Stops[i]; 69 if (ProblemInstance. Demand[stop]< 0) {69 if (ProblemInstance.GetDemand(stop) < 0) { 70 70 int source = pdp.PickupDeliveryLocation[stop]; 71 71 … … 158 158 159 159 //drive there 160 double currentDistace = vrptw.GetDistance(start, end );160 double currentDistace = vrptw.GetDistance(start, end, individual); 161 161 time += currentDistace; 162 162
Note: See TracChangeset
for help on using the changeset viewer.