Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
05/23/12 17:32:07 (12 years ago)
Author:
svonolfe
Message:

Added VRP test instances (#1177)

File:
1 edited

Legend:

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

    r7871 r7881  
    4040
    4141      CVRPProblemInstance problem = new CVRPProblemInstance();
    42       problem.Coordinates = new DoubleMatrix(cvrpData.Coordinates);
     42      if(cvrpData.Coordinates != null)
     43        problem.Coordinates = new DoubleMatrix(cvrpData.Coordinates);
    4344      if (cvrpData.MaximumVehicles != null)
    4445        problem.Vehicles.Value = (int)cvrpData.MaximumVehicles;
Note: See TracChangeset for help on using the changeset viewer.