Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
09/30/11 11:36:05 (13 years ago)
Author:
svonolfe
Message:

Added support for the multi depot CVRP with time windows (#1177)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/VRP/HeuristicLab.Problems.VehicleRouting/3.4/VehicleRoutingProblem.cs

    r6851 r6854  
    247247      parser.Parse();
    248248
    249       MDCVRPProblemInstance problem = new MDCVRPProblemInstance();
     249      MDCVRPTWProblemInstance problem = new MDCVRPTWProblemInstance();
    250250
    251251      problem.Coordinates = new DoubleMatrix(parser.Coordinates);
     
    255255      problem.Depots.Value = parser.Depots;
    256256      problem.VehicleDepotAssignment = new IntArray(parser.Vehicles);
     257      problem.ReadyTime = new DoubleArray(parser.Readytimes);
     258      problem.ServiceTime = new DoubleArray(parser.Servicetimes);
     259      problem.DueTime = new DoubleArray(parser.Duetimes);
     260
    257261      int depot = 0;
    258262      int i = 0;
Note: See TracChangeset for help on using the changeset viewer.