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

Adds maximum travel duration constraint #51

Draft
wants to merge 2 commits into
base: develop
Choose a base branch
from

Conversation

merschformann
Copy link
Member

Description

This update introduces a new constraint to limit the maximum travel duration for vehicles. In contrast to the duration limit which limits the full vehicle's time starting from start_time, the travel_duration omits any wait time that may be caused by window constraints on the first stop in a vehicle's route.

Changes

  • Reinstates max travel duration constraint ( 🚧 WIP 🚧 )
  • Added MaxTravelDuration (max_travel_duration) field to the Vehicle struct in schema/input.go.
  • Included a new test case max_duration_early_start.json to validate the functionality.

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

Successfully merging this pull request may close these issues.

1 participant