Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
09/30/11 13:51:01 (13 years ago)
Author:
svonolfe
Message:

Added support for the multi depot pickup and delivery problem with time windows (#1177)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/VRP/HeuristicLab.Problems.VehicleRouting/3.4/Encodings/Potvin/Manipulators/PotvinCustomerRelocationManipulator.cs

    r6854 r6856  
    6868          int stop = route1.Stops[i];
    6969          if (ProblemInstance.GetDemand(stop) < 0) {
    70             int source = pdp.PickupDeliveryLocation[stop];
     70            int source = pdp.GetPickupDeliveryLocation(stop);
    7171
    7272            if (!visited.ContainsKey(source))
     
    8181            deliveryViolations[random.Next(deliveryViolations.Count)];
    8282
    83           int source = pdp.PickupDeliveryLocation[selected];
     83          int source = pdp.GetPickupDeliveryLocation(selected);
    8484
    8585          //find route of source
Note: See TracChangeset for help on using the changeset viewer.