Skip to content
Discussion options

You must be logged in to vote

@mariomartinezgovoy hi there.

PDPTW modeling will not guarantee that vehicle load will be drained each run.
To model repeated depot reloads in one solve, create pickup-delivery pairs where every pickup order uses the depot location id and each delivery order uses its customer location. Pickup/delivery pairs are order indices, not location ids. Use positive demand on depot pickups and matching negative demand on deliveries; vehicle capacity controls how many deliveries can be loaded per depot visit. Use set_skip_first_trips() and set_drop_return_trips() when the initial departure and final return legs should not be charged, while intermediate depot pickup tasks still represent reloads.

vrp…

Replies: 1 comment 3 replies

Comment options

You must be logged in to vote
3 replies
@mariomartinezgovoy
Comment options

@np96
Comment options

Answer selected by mariomartinezgovoy
@mariomartinezgovoy
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants