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

collect_items and Vroom can handle shipment relations #241

Conversation

senhalil
Copy link
Contributor

  • collect_data_items respects the minimum vehicle limits
  • linking_relations can be grouped in collect_items
  • split_solve represents services w multiple points
  • Vroom can handle simplified setup durations
  • Vroom can handle shipments as relation
  • max_split_size prevents only optim-sync and Vroom can be called for sub-rpoblems
  • small quality and linter fixes

senhalil added 9 commits June 18, 2021 10:48
Simplify asserts
Prepare Vroom for shipment relation implementation
Fix linter warnings
Remove dead code
Improve dev and test error messages
s.setup_duration, v.coef_setup, v.additional_setup can be simplified:

IF
all services at point p has the same setup_duration_p, and
all vehicles with time matrix t have the same
coef_setup_t and additional_setup_t
THEN
each time matrix t can be modified so that for all pairs of i and p
t'_ip = t_ip + coef_setup_t * setup_duration_p + additional_setup_t.

Basically, arriving point p takes longer to include the setup modifiers.

This way solvers like Vroom can be used even if there is setup duration.
representative_vrp represents the original VRP by merging all points
belonging to the same vehicle_cluster (coming from the first split) in
to several points -- one is the mean and the remaining are the extreme
points of all services of vehicle v. This way clustering can take into
account the distribution of the original services.
IF the relations are completely compatible. For shipments this
means that the pickup and delivery locations and skills are the same.
@senhalil senhalil mentioned this pull request Jun 18, 2021
2 tasks
@fonsecadeline fonsecadeline self-requested a review June 22, 2021 15:17
@fab-girard fab-girard merged commit ea58317 into Mapotempo:dev Jun 23, 2021
@senhalil senhalil deleted the feat/study_shipment_clustering_and_vroom_improvement branch June 24, 2021 13:00
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.

4 participants