Capacitated Vehicle Routing Problem

CVRP · Dantzig et al., 1959

In the Capacitated Vehicle Routing Problem, identical vehicles with limited capacity, based at a single depot, must serve a set of customers with known demands. Each customer is visited exactly once by one vehicle, the load of each route cannot exceed the vehicle capacity, and the goal is to minimize the total distance. Some classic instances also limit the duration of each route, which may include a service time at each customer.

Mathematical Definition

Let $V = \{0, 1, \dots, n\}$ be the set of vertices, where $0$ is the depot and $V_+ = V \setminus \{0\}$ are the customers. Each customer $i \in V_+$ has a demand $q_i > 0$, travelling between $i$ and $j$ costs $c_{ij}$, and the vehicles have capacity $Q$. A route is a sequence $r = (0, i_1, \dots, i_p, 0)$ of distinct customers, with load $q(r) = \sum_{k=1}^{p} q_{i_k}$ and cost $c(r) = c_{0 i_1} + \sum_{k=1}^{p-1} c_{i_k i_{k+1}} + c_{i_p 0}$.

A solution is a set of routes $R$ in which every customer belongs to exactly one route and $q(r) \le Q$ for every $r \in R$. The CVRP asks for a solution of minimum total cost $\sum_{r \in R} c(r)$.

Instance sets differ in how $c_{ij}$ is computed and rounded, in how the number of routes $|R|$ is limited, and in extra constraints such as a maximum route duration. The table of instance sets below gives the conventions of each set.

Instance Sets

15 instance sets · 376 instances

Set Instances Distance Solution Cost Number of Routes
A
Augerat et al., 1995
27 Euclidean rounded to the nearest integer (TSPLIB) Total distance Fixed
B
Augerat et al., 1995
23 Euclidean rounded to the nearest integer (TSPLIB) Total distance Fixed
E
Christofides et al., 1969
E-n13-k4, E-n31-k7: Explicit distance matrix
13 Euclidean rounded to the nearest integer (TSPLIB) Total distance Fixed
F
Fisher, 1994
3 Euclidean rounded to the nearest integer (TSPLIB) Total distance Fixed
M
Christofides et al., 1979
5 Euclidean rounded to the nearest integer (TSPLIB) Total distance Fixed
P
Augerat et al., 1995
24 Euclidean rounded to the nearest integer (TSPLIB) Total distance Fixed
CMT
Christofides et al., 1979
CMT6, CMT7, CMT8, CMT9, CMT10, CMT13, CMT14: Maximum route duration and service time
14 Euclidean in full precision Distance rounded to two decimals Free
tai
Rochat et al., 1995
13 Euclidean in full precision Distance rounded to two decimals Free
Golden
Golden et al., 1998
Golden_1, Golden_2, Golden_3, Golden_4, Golden_5, Golden_6, Golden_7, Golden_8: Maximum route duration
20 Euclidean in full precision Distance rounded to two decimals Free
Li
Li et al., 2005
All instances: Maximum route duration
12 Euclidean in full precision Distance rounded to two decimals Free
X
Uchoa et al., 2017
100 Euclidean rounded to the nearest integer (TSPLIB) Total distance Free
AGS
Arnold et al., 2019
10 Euclidean rounded to the nearest integer (TSPLIB) Total distance Free
DIMACS
DIMACS, 2021
12 Explicit distance matrix Total distance Free
XML
Queiroga et al., 2022
0 Euclidean rounded to the nearest integer (TSPLIB) Total distance Free
XL
Queiroga et al., 2026
100 Euclidean rounded to the nearest integer (TSPLIB) Total distance Free
All CVRP Instances