Comments (3)
You are right, depending on the number of routes, a specific approach designed for the "multi-trip" VRP could perform better. The code of "A Memetic Algorithm for the Multi-Trip Vehicle Routing Problem" was actually implemented by Diego Cattaruzza, I would suggest contacting him directly regarding this code (his contact information seems to be available on his website: https://sites.google.com/site/cattaruzzaxdiego/). Regarding this specific issue, I will now mark it as closed. Thank you very much for your feedback!
from hgs-cvrp.
Thank you very much for your contribution.
The setting that you describe is typical of the "multi-trip" vehicle routing problem. See, for example, the following references for surveys on classic vehicle routing problem variants and a multi-trip algorithm:
https://www.sciencedirect.com/science/article/abs/pii/S0377221713002026
https://www.sciencedirect.com/science/article/abs/pii/S0377221719308422
https://www.sciencedirect.com/science/article/abs/pii/S0377221713005006
The HGS-CVRP code has been designed to be extremely compact, simple to read and use, and therefore it covers only the canonical variant of the vehicle routing problem (the capacitated vehicle routing problem) which does not allow multiple trips per vehicle. A quick question: do you have a total resource constraint on the trips assigned to a given vehicle (like a duration, or time constraint?). If this is not the case, you could simply generate more routes than there are vehicles (by setting a large enough number of vehicles in the code), and a-posteriori assign several routes to each vehicle.
from hgs-cvrp.
Thanks for the references! Yes, the total duration of a route is fixed. You are right, otherwise I could just increase the nr of vehicles. Given the duration constraint, however, we could improve the solution even more (which is pretty astonishing either in its current form, by the way) by having multi-trip routes. I could see you implemented the "A Memetic Algorithm for the Multi Trip Vehicle Routing Problem" in c++. Can you maybe make it public or share it with me? Of course I know it will not be pluggable to this repository out-of-the-box, but it could probably help us with the implementation. (I already extended the current implementation with a second demand/capacity dimension.)
from hgs-cvrp.
Related Issues (17)
- The plan for improving the solver interface HOT 2
- Cryptic error: `terminate called after throwing an instance of 'char const*'` when failing demand or distance checks HOT 1
- Question about divRank and fitRank in updateBiasedFitnesses() HOT 3
- Branch Management HOT 1
- great job HOT 1
- Is there any way to feed an initial solution to the algorithm? HOT 3
- Does this repo support GPU? HOT 1
- Git action recently failing on Windows HOT 8
- [bug] segfault if number of vehicles is too low HOT 1
- Broken pairs distance is not symmetric HOT 3
- Unexpected Calculation of BiasedFitnesses HOT 3
- EDGE_WEIGHT_FORMAT keyword in vrp file is not supported HOT 2
- Last offspring kept after resetting the algorithm HOT 2
- What if `start` is greater than `end` ?
- Could you provide a more detailed description of the dataset? HOT 1
- package naming HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from hgs-cvrp.