ArcGIS Route Optimization REST API stops order

318
0
03-03-2019 01:13 AM
MoB
by
New Contributor

I have recently come across ArcGIS for route optimization and it is a great API.

I am facing just an issue here in terms of my expectations.

I am trying to use findBestSequence to find the best route which has 5 stops.

I am wondering if there is any way I can force for example stop 2 occurs after stop 1 and occurs before stop 4.

So stop 2 should occur between stop 1 and stop 4 while it optimizes the route using findBestSequence set to true.

I need that to make sure pickup does not occur after drop off of a passenger. So to make sure the passenger is picked up first and then dropped off.

I hope this makes sense and I definitely need to use findBestSequence as true because I need the route to be optimized.

Thanks everyone in advance and I look forward to hear your solutions.

0 Kudos
0 Replies