Skip to content

fix(objectives): support depots with no location for hierarchical areas#11

Open
hutchinsp01 wants to merge 1 commit into
masterfrom
fix/support-depots-with-no-location-for-hierarchical-areas
Open

fix(objectives): support depots with no location for hierarchical areas#11
hutchinsp01 wants to merge 1 commit into
masterfrom
fix/support-depots-with-no-location-for-hierarchical-areas

Conversation

@hutchinsp01

@hutchinsp01 hutchinsp01 commented Mar 20, 2026

Copy link
Copy Markdown
Collaborator

We provide a start location of None if the technician doesn't have a depot set.

This is an issue as technically the VRP doesn't support VehicleShiftStarts with no start location, though it happily accepts it, and generates schedules with no depot location.

When using the Hierarchical Areas objective we run into an issue where it expects all locations to be valid, but we can incidentally include depots with no real location.

This filters those out to fix this objective erroring out.

@hutchinsp01 hutchinsp01 force-pushed the fix/support-depots-with-no-location-for-hierarchical-areas branch 2 times, most recently from 1bc45e8 to 6cf2c8c Compare May 12, 2026 03:25
@hutchinsp01 hutchinsp01 force-pushed the fix/support-depots-with-no-location-for-hierarchical-areas branch from 6cf2c8c to 6ad64f0 Compare June 10, 2026 04:18
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