Skip to content

Adds maximum travel duration constraint#51

Draft
merschformann wants to merge 2 commits into
developfrom
merschformann/max-travel-duration
Draft

Adds maximum travel duration constraint#51
merschformann wants to merge 2 commits into
developfrom
merschformann/max-travel-duration

Conversation

@merschformann
Copy link
Copy Markdown
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