Logistics glossary
What is the vehicle routing problem (VRP)?
Also known as VRP · Vehicle routing · CVRP · VRPTW · Araç rotalama problemi
The vehicle routing problem (VRP) is a combinatorial optimization problem that asks how a fleet of vehicles leaving a depot should visit a given set of customer locations, respecting constraints such as capacity and time, along routes that minimize total distance, time or cost.
How is a VRP defined?
A VRP instance is built from these inputs:
- Depot: the point vehicles leave from and return to (there can be more than one).
- Customers: each with a location, demand and service time.
- Vehicles: how many, and their capacity.
- Cost matrix: travel time or distance between points.
- Objective: minimize total cost, time or number of vehicles.
Common types of VRP
| Type | Added constraint |
|---|---|
| CVRP | Vehicle capacity |
| VRPTW | Customer time windows |
| PDP (pickup and delivery) | Pickups and drop-offs on the same route |
| MDVRP | Multiple depots |
Real operations are usually a mix of these: capacity, windows, driver breaks and vehicle capabilities all apply at once.
VRP example
A distributor has 8 vehicles and 150 dealer stops. Each vehicle has a different pallet limit, and some dealers only accept deliveries in the morning. The solution is 8 routes showing which dealer goes on which vehicle and in what order it is visited.
How is the VRP solved in practice?
Delivery software does not try to solve the VRP exactly; it produces a high-quality draft in a reasonable amount of time. Letting the operations team review and adjust that draft matters as much as the math. For a step-by-step walkthrough, see the guide how to optimize delivery routes.
Which data matters most for solving a VRP?
The quality of the solution depends on the quality of the input. Wrong coordinates, missing service times or out-of-date vehicle capacities produce routes that fall apart in the field, no matter how good the math is. That is why address validation and real road travel times matter as much as the algorithm.
Vehicle routing in QDelivery
QDelivery’s route planning area splits your stops into tours by capacity (6 dimensions: quantity, units, weight, volume, parcels, pallets), skills, time window and address proximity. You review the draft on the map and lock it; with partial optimization, only the affected vehicles are recalculated. For the everyday meaning of the concept, see the route optimization entry.
FAQ
Frequently asked questions
What is the difference between the VRP and the traveling salesman problem (TSP)?
The traveling salesman problem (TSP) looks for the shortest tour a single vehicle can take through all locations. The VRP accounts for multiple vehicles, the capacity of each and, often, time windows; it is a generalization of the TSP.
Why is the VRP a hard problem?
As the number of stops grows, the number of possible route combinations explodes; on large instances, trying every option is not practical. That is why software uses heuristic and metaheuristic methods that find good solutions quickly.
Is route optimization artificial intelligence?
The VRP is usually solved with operations research methods. These methods can be counted as AI, but machine learning is not required.