314. VRP
The Vehicle Routing Problem: given a fleet of vehicles based at a depot, serve a set of customers with minimum total cost (distance / time). Generalization of TSP to multiple vehicles.
Core supply-chain problem: last-mile delivery, beverage distribution, waste collection, school bus routing, mobile maintenance.
314.1. Capacitated VRP (CVRP)
Standard formulation. Each vehicle has capacity . Each customer has demand .
Decision variable : if vehicle traverses arc .
s.t.:
- Each customer visited exactly once
- Vehicle starts and ends at the depot
- Total demand on each vehicle’s route
- Subtour elimination (like TSP)
314.2. Why it’s harder than TSP
- NP-hard even worse than TSP (TSP is the single-vehicle case)
- Combinatorial explosion: must simultaneously partition customers into routes and route each
- Exponential number of subtour constraints, plus capacity constraints
314.3. Variants
- VRP-TW (with time windows) — each customer has a delivery window ; see VRPTW
- Pickup-and-delivery VRP (PDVRP) — pickups must precede deliveries on the same route
- Heterogeneous fleet VRP — vehicles with different capacities / costs
- Stochastic VRP — random demand or travel times
- Periodic VRP — multi-day delivery schedules with frequency constraints
- Open VRP — vehicles don’t return to depot (typical for last-mile contractors)
- Multi-depot VRP — vehicles from multiple depots
314.4. Solution methods
Exact (small instances, ):
- Branch-and-cut on the LP formulation
- Branch-and-price (column generation)
- Dynamic programming for very small fleets
Heuristics:
- Constructive: Clarke-Wright savings (the classic), Sweep, Fisher-Jaikumar
- Improvement: 2-opt, Or-opt, 3-opt within routes; inter-route swaps
- Metaheuristics: tabu search, simulated annealing, genetic algorithms, large-neighborhood search
- Modern: Adaptive Large Neighborhood Search (ALNS), HGS (Hybrid Genetic Search)
Open-source solvers:
- OR-Tools (Google) — fast LS-based heuristics
- VROOM — open-source CVRP / VRPTW solver
- VRPSolver — academic branch-cut-price
314.5. Continuous approximation
For large-scale VRP design (how many vehicles? how big are routes?), Daganzo’s continuous approximation gives clean formulas. See Daganzo.
314.6. See also
- TSP — single-vehicle case
- VRPTW — with time windows
- Clarke-Wright — standard heuristic
- Daganzo Continuous Approximation
- Assignment Problem — sub-problem in some methods