Open zahert opened 1 month ago
The objective is to try to make sure that the distance between each of the tasks does not exceed a certain distance eg. max 5 KM per task
There is no way to enforce this currently, as the max_distance
parameter applies to the full route. Can you expand on the use-case/reason to discard route legs over a given threshold?
You could get distance matrix between the points (ex. using OSRM) and then put large number (ex. max_distance
) for values that are higher than 5 in matrix and pass this custom matrix to VROOM.
@RegularnaMatrica Can you please elaborate, the proposed solution and how it could impact VROOM solution
Hi I have a problem and not sure if VROOM can solve this specific case:-
we have max_distance & max_tasks parameters
The objective is to try to make sure that the distance between each of the tasks does not exceed a certain distance eg. max 5 KM per task. or even decide if the solution must have a certain max distance depending on the trips tasks that I will get out of the solution. is there any workaround to get this result