Does cuOpt natively support Multiple Trips / Vehicle Reloading at the Depot? #1450
Answered
by
np96
mariomartinezgovoy
asked this question in
Q&A
|
I am working on a Vehicle Routing Problem (VRP) where vehicles have limited capacity. Once a vehicle finishes delivering its current load, it needs to return to the depot, reload, and go back out to continue fulfilling the remaining orders. In optimization, this is typically known as the Vehicle Routing Problem with Multiple Trips (VRPMT). Does NVIDIA cuOpt currently support this behavior intrinsically or natively? Any examples or guidance on how to approach this scenario would be highly appreciated. Thanks! |
Answered by
np96
Jun 24, 2026
Replies: 1 comment 3 replies
|
@mariomartinezgovoy cuOpt does not natively support this feature. This can however be modeled as a pickup-delivery problem. Can you try that approach? |
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
@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()andset_drop_return_trips()when the initial departure and final return legs should not be charged, while intermediate depot pickup tasks still represent reloads.vrp…