A state-of-the-art vehicle routing problem solver.
Actively maintained. Last release 6 weeks ago, commits in 20 of the last 26 weeks. A safe choice.
pip install pyvrpPyVRP is an open-source, state-of-the-art vehicle routing problem (VRP) solver developed by Applied Routing. It currently supports VRPs with:
- Pickups and deliveries (capacitated VRP, VRP with simultaneous pickup and delivery, VRP with backhaul, pickup and delivery VRP);
- Vehicles of different capacities, costs, shift durations, routing profiles, and maximum distance and duration constraints (heterogeneous fleet VRP, site-dependent VRP);
- Time windows, client service durations, and release times (VRP with time windows and release times);
- Multiple depots (multi-depot VRP);
- Reloading along routes at different reload depots (multi-trip VRP);
- Optional clients with prizes for visiting (prize collecting, team orienteering problem);
- Client groups imposing additional restrictions on multiple clients jointly (generalised VRP, VRP with multiple time windows);
- [Enterprise] Automatic break planning for EU and US hours-of-service regulations;
- [Enterprise] Vehicle-client and client-client compatibility constraints and sequencing relations;
- [Enterprise] Fairness constraints like load and shift duration balancing.
PyVRP is available on the Python package index as pyvrp.
It may be installed in the usual way as