Routing API w/ more than one vehicle

Good morning,

I am in the middle of developing a routing system for picking up items with more than one vehicle. With one vehicle I have had great success, but the API doesn’t seem to have any way to add more than one vehicle at a time (I want to optimize the pickup of 500 parcels given that I have 20 vehicles at my disposal). Is there anyway I can do this with TomTom’s API? Thank you all for your time.

What about Matrix Routing?

1 Like

Matrix Routing could be a good way to achieve what you want. You can quickly get travel times and distances for multiple origins (in this case your vehicles) and multiple destinations (the parcel pick up points). With the results you can find the most optimal combinations and then use batch routing to calculate the detailed routes.
The taxi dispatcher tutorial available here could be a good place to start: https://developer.tomtom.com/maps-sdk-web-js/tutorials-use-cases/taxi-cars-dispatcher