pickup and delivery option with cspy
See original GitHub issueJust had a quick google about the pickup and delivery and found this paper.
End of page 10 basically says that the bidirectional algorithm won’t work due to dominance conditions for backward labels.
Might still be worth running these with direction="forward" after we figure out how to model it
_Originally posted by @torressa in https://github.com/Kuifje02/vrpy/issues/14#issuecomment-622475443_
Issue Analytics
- State:
- Created 3 years ago
- Comments:11 (2 by maintainers)
Top Results From Across the Web
Vehicle Routing Problems — VRPy 0.1.0 documentation
CVRP with Pickup and Deliveries (VRPPD)¶. In the pickup-and-delivery problem, each demand is made of a pickup node and a delivery node. Each...
Read more >Issues · Kuifje02/vrpy - GitHub
A python framework for solving the VRP and its variants with column generation. - Issues · Kuifje02/vrpy.
Read more >Configure Pickup & Delivery - Cleantie
Step 1, Setup Delivery Route. To get started, select Admin from the main menu. Select Delivery -> General. Create delivery routes by ...
Read more >How to find an item online - Sam's Club Help
Simply enter a product description, item number or model in the search field below or use the Search bar @ SamsClub.com. ... Your...
Read more >Alpha 2.4GHz 4.5-Channel Camera R/C Spy Drone - Walmart
Buy Alpha 2.4GHz 4.5-Channel Camera R/C Spy Drone - Color may vary at Walmart.com. ... intent image for pickup. Pickup. intent image for...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found

Had another go at this. I’m playing around with allowing non-elementary routes (will submit a PR soon) and it works much better (at least better than the LP)!
The code for this (PDP) is very specific to VRPy, so not sure what the best approach would be here. We could move the VRPY-specific version of cspy out as a separate repo or maybe even here. With this we could go further into moving more subproblem parts into C++, like writing the REF functions (after passing the relevant data).
I’ve updated the implementation (on the cspy side) to what should be OK now (updating open requests sets on the fly, as opposed the previous terribly inefficient prototype). The optimal solution is reached much faster than the LP, however it takes a very long time to converge, making it actually slower.
Not sure how to proceed here, the paper suggests adding several inequalities (pickup-delivery related and others) to strengthen the formulation and probably also help with convergence. This maybe raises the need to implement the generic cutting framework so we can add all try out new and varied inequalities, maybe non-robust ones (which add resources to the subproblems).