-
Notifications
You must be signed in to change notification settings - Fork 46
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
TSP suite? #464
Comments
Yes! Something like this was in the initial stages of planning/ideas, but has never come to fruition due to time constraints! |
Some of our initial ideas (from 5 years ago now) label this kind of thing as |
This is awesome! I have another point to think about. We currently use pulp in the Perhaps this would be a good time to meet and discuss our future directions. |
@ljwolf This is very exciting. Can your stuff built on top of |
Yes. I will post an example if I have time tomorrow. I can't share the examples I have to hand 😄 Currently, it takes lon/lat coordinates for depot and clients, and then builds street route lengths and times from an OSRM The ETAs have to be calculated manually to allow for waiting & variable service times per client. I think for it to be opened, I would need to generalize this routing infrastructure (maybe replace it with |
One thing I've been looking into and could use advice/help on is using the nanobind bindings to osrm. If we could figure out a conda spell to get that running, then the routing system works without the osrm server process. I have written all the code to use these bindings, but these bindings always segfault on my mac/linux workstations. A client's Windows computer works fine w/ them though. |
This stuff is amazing... 🤩 |
So once your new cool stuff gets into |
So, here's a reproducible example specifying a model to deliver Guinness from the storehouse to all the pubs in Dublin. In this example, we're dropping off full kegs and picking up empties, and I'm just setting default delivery hours to 7am to 8pm. The tooling I've built takes you from something like the input clients/depot table and truck spec in the model script to the results map and output tables on stops and routes. The value add comes mainly in making the ingress/egress to |
Very nice! |
Indeed a very nice work @ljwolf!! I think it will worth a good shout on different channels once it is up in our package. Many potential end-users can be there. |
We also think this is really cool! 🎉 |
I now have a collection of vehicle routing problem tools built on top of
pyvrp
that might be useful forspopt
.The tooling mainly involves data ingestion and conversion to formats/structures that
pyvrp
can natively work with, and then tools to extract geographical output frompyvrp
solutions.So, things like calculating ETAs in timestamps, conversion of input lon/lats to integer positions and back, creating route geometries, etc.
Is this of interest? I can maintain the public version, but would welcome feedback on API decisions. I think it is substantially different from
locate
as to warrant a new top levelspopt.route
module.An example specification might be:
The text was updated successfully, but these errors were encountered: