Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Does VROOM retrieve route and duration from Valhalla based on historical traffic data? #1225

Open
mostafa-orei opened this issue Feb 22, 2025 · 1 comment
Labels

Comments

@mostafa-orei
Copy link

Does VROOM retrieve route and duration from Valhalla based on historical traffic data? i create graph of valhalla with historical traffic.

For example, if a job starts at 6 AM and takes until 9 PM to complete, does vroom get routes from Valhalla dynamically and calculate the next route’s duration based on the estimated completion time of the previous route? In other words, does each subsequent route consider the updated start time based on when the previous route finishes?

@jcoupey
Copy link
Collaborator

jcoupey commented Feb 24, 2025

does vroom get routes from Valhalla dynamically

No, this would mean waiting for a full routing computation each time we need to evaluate possible trip options which would be prohibitively too expensive.

What happens is that we first fetch matrices for all travel times and distances between all locations involved in the problem, then re-use that throughout the optimization phase.

Consequently, the travel times that are used are static, meaning they do not account for time of day information. We'll simply pick whatever values are returned by your routing engine a priori.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants