| Name |
Value |
Type |
Description |
Default |
Example |
| VehicleIDs * |
|
Array (comma separated list) of String |
If provided, these should be ID strings of your choice that you can use to identify each vehicle in the output. If this field is not left blank, you must enter the same number of VehicleIDs as Origins and Destinations. If left blank, the default values V1, V2, V3,... will be used. |
|
VanOne,VanTwo |
| VehicleOrigins |
|
Array (comma separated list) of String |
The location of the start point for each vehicle, as a postcode, an OS grid reference or lat/long coordinate. Easting/Northing pairs should be hash-separated, while Lat/Long pairs in WGS84 format should be pipe-separated. Locations should be pre-validated using the VerifyLocation web service. |
|
WR26NJ,B495HH |
| VehicleDestinations |
|
Array (comma separated list) of String |
The location of the end point for each vehicle, as a postcode, an OS grid reference or lat/long coordinate. Easting/Northing pairs should be hash-separated, while Lat/Long pairs in WGS84 format should be pipe-separated. Locations should be pre-validated using the VerifyLocation web service. |
|
WR26NJ,B495HH |
| VehicleCapacities * |
|
Array (comma separated list) of Float |
The maximum capacity of each vehicle, in whatever units you like. Supply no values if you do not wish to optimise by capacity; supply a single value if every vehicle has the same capacity; or supply a full array of values if each vehicle has a different capacity. |
-1 |
15,12.5 |
| VehicleBreakStarts * |
|
Array (comma separated list) of Integer |
If the driver needs to take a break mid-route, specify the start time of the break in minutes from the route start time. Supply no values, or -1 if you do not wish to factor in driver breaks; supply a single value if every driver has the same break start time; or supply a full array of values if some drivers have different break start times. Each driver can have a maximum of one break. |
-1 |
240,-1 |
| VehicleBreakLengths * |
|
Array (comma separated list) of Float |
If the driver needs to take a break mid-route, specify the length of the break in minutes. Supply no values, or -1 if you do not wish to factor in driver breaks; supply a single value if every driver has the same break length; or supply a full array of values if some drivers have different break lengths. Each driver can have a maximum of one break. |
-1 |
30,-1 |
| WaypointIDs * |
|
Array (comma separated list) of String |
If provided, these should be ID strings of your choice that you can use to identify each Waypoint in the output. If this field is not left blank, you must enter the same number of IDs as Waypoints. If left blank, the default values W1, W2, W3,... will be used. |
|
MyDeliveryID1,MyDeliveryID2,MyDeliveryID3 |
| WaypointLocations |
|
Array (comma separated list) of String |
The location of each waypoint to visit, as a postcode, an OS grid reference or lat/long coordinate. Easting/Northing pairs should be hash-separated, while Lat/Long pairs in WGS84 format should be pipe-separated. Locations should be pre-validated using the VerifyLocation web service. |
|
HR74DU,458706#298565,52.014|-2.843 |
| WaypointSizes * |
|
Array (comma separated list) of Float |
The size of the delivery for the waypoint, in the same units as VehicleCapacities. Supply no values if you do not wish to optimise by capacity; supply a single value if every waypoint has the same size; or supply a full array of values if each waypoint has a different size. Each waypoint that has a size set greater than zero will consume 3 credits rather than 1. |
-1 |
7.5,-1,-1 |
| WaypointPauses * |
|
Array (comma separated list) of Integer |
The expected pause time in minutes at each waypoint. Leave blank if there is no pause time at any waypoint; supply a single value if every waypoint has the same pause time; or supply a full array of values if each waypoint has a different pause time. |
0 |
0,5,3 |
| WaypointTimeslotStarts * |
|
Array (comma separated list) of Integer |
The start of the preferred timeslot, measured in whole minutes from the vehicle's start time. Leave blank if you do not wish to optimise by timeslot or supply a complete array of values if some or all waypoints have timeslots; if only some waypoints have timeslots, supply '-1's for the waypoints with no timeslot. Each waypoint that has a timeslot set to anything other than -1 will consume 3 credits rather than 1. |
-1 |
60,-1,-1 |
| WaypointTimeslotEnds * |
|
Array (comma separated list) of Integer |
The end of the preferred timeslot, measured in whole minutes from the vehicle's start time. Leave blank if you do not wish to optimise by timeslot or supply a complete array of values if some or all waypoints have timeslots; if only some waypoints have timeslots, supply '-1's for the waypoints with no timeslot. Each waypoint that has a timeslot set to anything other than -1 will consume 3 credits rather than 1. |
-1 |
180,-1,-1 |
| TimeslotStrictness * |
|
String |
An indication of how strictly you wish to adhere to the given timeslots. Weak means that a vehicle may be given a route up to 15 minutes off the optimal in order to hit a single waypoint. Medium and Strong may induce a detour of up to 30 and 60 minutes respectively. |
Weak |
Medium |
| DepotReloadTime * |
|
Integer |
The expected time a vehicle will be stationary in the depot mid-route, if capacity constraints force it to return to the depot for a reload. |
0 |
10 |
| ExcludeMissedTimeslots * |
|
Boolean |
If set to true, the optimisation algorithm will exclude a waypoint from the results if it is unable to create an efficient route that arrives at the waypoint during the given timeslot. If set to false, the results will always include every waypoint in the output, regardless of whether or not the timeslot was hit. If set to true and the route hits the waypoint very slightly early, it may wait up to {15 (Weak), 30 (Medium), 60 (Strong)} minutes at the waypoint for the timeslot to arrive, depending upon the TimeslotStrictness parameter. |
False |
False |
| AlwaysWaitForTimeslot * |
|
Boolean |
If set to true, the optimisation algorithm will always ask a driver to wait at a waypoint if they are early for the timeslot, no matter how early they are. |
False |
False |
|
|
  |
|