MCusumano

Adding Routes to Vehicle Routing Problem

Discussion created by MCusumano on Jul 19, 2011
Latest reply on Jul 21, 2011 by jsandhu-esristaff
I am trying to solve a VRP where 24 trucks service 106,928 service points in a gas district in 21 cycle days. I don't see an option in the orders input fields to specify number of days, so my idea was to create 504 separate routes (24 trucks x 21 days = 504 routes). I created the 24 trucks for one cycle day, and then copied and pasted them 21 times to make the routes.

The problem is the solver will not run unless each route has a unique name, and I was wondering if there was a way to automatically generate routes using specified criteria while creating unique names so that I don't have to go through each route renaming it Cycle_1_Truck_1, Cycle_1_Truck_2, etc....Thanks.

Outcomes