Max Speed

03-22-2012 06:38 AM
Occasional Contributor
Is there a way to set the maximum speed a vehicle can travel in python between 2 points on a Vehicle Routing Problem?
Tags (2)
0 Kudos
1 Reply
Esri Regular Contributor
Generally the maximum speed is handled by computing the travel time of a road based on its specified max speed. So the route solver minimizes the overall travel time. If you have a vehicle that travels at 5 miles per hour even on a 35 MPH road, than you can compute the travel time on all the roads in the network based on 5 miles per hour and then solve the path. Or you could set up a parameterized attribute where at run time you specify the speed of the vehicle and the travel time for each edge is computed at solve time (slow performance). You can read more about parameterized attributes here:

Jay Sandhu
0 Kudos