Multivehicle Routing Solver orders don't match routes

370
1
01-17-2022 09:30 AM
ScottAndersonGQ
New Contributor III

I have 16 inspections: most of them without a "RouteName" property.

I have 4 inspectors/routes, each with a unique name. 

I am able to successfully return from https://logistics.arcgis.com/arcgis/rest/services/World/VehicleRoutingProblem/GPServer/SolveVehicleR...

The solver assigns the inspections a RouteName property from the list of routes. The problem is that the routes don't match the orders. For example:
Route A's geometry goes to Route B's orders.
Route B's geometry goes to Route C's orders.
Route C's geometry goes to Route A's orders.
Route D's geometry goes to Route D's orders. (same)

I'm using SolveVehicleRoutingProblem/jobs/{{jobId}}/results/out_Routes? and SolveVehicleRoutingProblem/jobs/{{jobId}}/results/out_Stops? to get my routes and stops/orders.

Has anyone gotten this issue before? I'm fairly certain the JS displaying the routes is correct. The solver just appears to be sending the wrong geometry. 

0 Kudos
1 Reply
ScottAndersonGQ
New Contributor III

Some extra information. When I divide the inspection by 2 routes. Sometimes it will return the correct geometry path and other times it will return the opposite route's path. 

0 Kudos