Optimization priority

how can I know which priority is set on the optimization method? because in my case I need shorter distance to be more important than amount and quantity.

Hey,

I’d assume that it’s using the recommended preference.
If you need the shortest preference, you’ll have to pass your own matrix to the optimization endpoint.
Have a look at the API docs and the VROOM docs.

Best regards

1 Like