question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

pickup and delivery option with cspy

See original GitHub issue

Just 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:open
  • Created 3 years ago
  • Comments:11 (2 by maintainers)

github_iconTop GitHub Comments

1reaction
torressacommented, Mar 12, 2022

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).

1reaction
torressacommented, Dec 30, 2021

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).

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found