Hello:
I have been trying to run a Vehicle Routing Problem (VRP) but keep getting Error: "Insufficient input. Need at least one order." When I click on the error message it takes me to an Esri Resource solution that says "Provide at least one order and rerun tool." I have tried reading around to find a solution without success. I have read the posts here but do not see any solution that can help me. I follow the demos from this Esri video to put my tables together. I am using the Esri's network data source for this project. Below are screenshots, including the attribute tables of the my orders, depots, and routes. I have reviewed the table but can't figure out what I am doing wrong. Thanks in advance for your assistance.
Orders:
Depots:
Routes:
Hi YaleKodwo,
Do you have at least one order for each route?
I don't see your network analyst window open with the orders lined up like in the video.
Here's the ArcGIS Pro Help link: https://pro.arcgis.com/en/pro-app/latest/help/analysis/networks/vehicle-routing-problem-analysis-lay...
After skimming the help document I see you have to load the program with all your inputs.
Here's another good discussion of the salesman dilemma and the vehicle routing problem.
I have done this analysis before, but I had step-by-step instructions to get me to the promised land.
It's complicated for sure, but be curious, keep reading the directions, watch other people's videos, and try again.
Thanks RonaldHaug for your response. I was able to find the source of the errors. The errors were related to the geocode match scores. I reviewed the error messages and found that locations that had less than 100 percent match score were throwing errors. One of the geocoded depot locations had 99.54 match score but it still generated an error. I wonder if the VRP is set up to take only 100 percent match scores?
Good job YaleKodwo, for persevering with the problem and solving it!
I didn't even know about match scores.... I wonder if there is a tolerance acceptance range which can be set.
Also there's that thing about making sure all the feature classes which undergo analysis need to be in the same coordinate system...
Now that you have a working model, will you be using this every day for your work?
Will be using it occasionally because my work routine does not require its use daily.
The geocoding process returns a match score but once an address is turned into a point feature, then you can load it into your VRP layer by clicking on the Orders button on the VRP ribbon or using the Add Locations GP tool. Have you done this step? If yes and you still get the error then the next step is to check if you have road features in your network dataset that are near the Order locations for them to be located on the network. Can you draw your network and check?
Jay Sandhu