-
Notifications
You must be signed in to change notification settings - Fork 30
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[two_step_routing] Add initial support for pickup and delivery.
The input scenario can now contain both delivery-only and pickup-only shipments, both handled directoy from the vehicle or from a parking location. The direct shipments translate naturally in the solution. For shipments delivered from a parking location: - in the local model they are represented as pickup and delivery shipments with a pickup at the parking location and delivery at the customer address, or pickup from the customer address and delivery at the parking location. - in the global model, the visits to the parking are represented as delivery-only shipments where the load requirements are the maximum over the requirements of the shipments delivered from the parking and picked up from the parking. - in the merged model, the shipments are pickup-only or delivery-only again. To use the pickup & delivery requests, just add `pickups` or `deliveries` as in a vanilla CFR request. While the internal representations and models have changed significantly, the public API of two_step_routing.py did not change.
- Loading branch information
Showing
67 changed files
with
24,398 additions
and
6,449 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.