Why routing trucks is hard, why "good enough" is not the same as "optimal", and the 7-customer instance used throughout this site. Paper: abstract and §1 (pp. 153–154).
You need: what an integer program is.
One depot, a few trucks, and an astronomical number of plans
The capacitated vehicle routing problem asks for the shortest set of truck routes that serves every customer once without overloading any truck.
It is the core model behind parcel delivery, milk runs and waste collection, and this paper is about solving it with a proof of optimality.
It is like planning carpools for a wedding: every guest must ride, cars have seats, and you want the least total driving.
A 7-customer problem has 877 ways to split customers into groups. A 30-customer one has 8.5 × 10²³. Nobody checks them one by one.
A depot (node 1) supplies customers 2, …, n. Customer $j$ has demand $q_j$. Every vehicle has the same capacity $Q$. Each customer is on exactly one route, no route carries more than $Q$, and the total distance is minimised.
$q_j$ and $Q$ are whole numbers with $Q \ge \max_j q_j$. Distances $c_{ij}$ are symmetric and satisfy the triangle inequality. The number of vehicles $m$ may be fixed or variable. That last choice matters later: two of the new cuts work only when $m$ is variable.
On 1,590 random test problems from the authors' earlier paper, the new algorithm solved
1,369problems in 301.8 hours, against 1,239 in 451.7 hours for their 1996 algorithm and 1,107 in 586.8 hours for Laporte et al. (1985). Part 6 unpacks these numbers.
if heuristics are fast and usually good, why bother with exact methods?
A heuristic hands you a solution but no way to know how far it is from the best. An exact method also produces a lower bound, a number the optimum cannot go below. When the bound meets the best solution found, you have a certificate. Exact methods are also how heuristics get benchmarked: the 14 hard problems in the paper's Table 4.6 are compared with best-known heuristic values.
Why it is hard
The CVRP contains the travelling salesman problem (one truck with room for everything) and bin packing (which customers share a truck), so it is NP-hard p. 153. Enumerating plans fails almost immediately: the number of ways to split $k$ customers into groups is the Bell number, already 1,382,958,545 for 15 customers, before choosing the order inside each route.
The paper's approach is the one that conquered large TSPs (Padberg and Rinaldi 1991): solve a linear programme, find inequalities the LP solution breaks but every real solution obeys, add them, repeat, and branch only when stuck. That is branch-and-cut, the method of Lectures 8–9 applied to routing.
Every exact method keeps an upper bound $Z^*$ (cost of the best plan found) and a lower bound $\bar Z$ (from an LP). The optimum lies between them. The paper's contribution is better ways to push $\bar Z$ up.
A heuristic returns a plan costing 322.4. An LP relaxation of the same instance gives 318.0. What can you conclude?
The toy instance used on this site has demands $q_2,\dots,q_8 = 9, 3, 1, 3, 4, 3, 5$. What is the total demand?
Add the seven numbers.
9 + 3 + 1 + 3 + 4 + 3 + 5 = 28.
With $Q = 10$, what is the smallest number of trucks that could possibly serve all customers, using only the total demand?
Each truck carries at most 10. Round up.
$\lceil 28/10 \rceil = 3$. The paper calls this $\ell(\mathscr C)$, a lower bound on the number of vehicles, and uses it as the starting lower bound on $m$ (p. 159).
Which statement about the paper's CVRP is correct?
Why is the CVRP at least as hard as the TSP?
What does a branch-and-cut method give you that a good heuristic does not?
- The CVRP: one depot, identical trucks of capacity $Q$, each customer on one route, minimise total distance.
- It contains the TSP and bin packing, so it is NP-hard; enumeration is hopeless beyond toy sizes.
- Exact methods squeeze the optimum between an upper bound (a plan) and a lower bound (an LP); this paper strengthens the lower bound with new cuts.
- Say "the LP gives a lower bound" rather than "the LP gives the answer".
- Keep fixed m and variable m apart: the paper's new optimality cuts need variable m.
- Calling a heuristic's answer "optimal" without a matching bound.
- Forgetting that $Q \ge \max_j q_j$ is assumed, so every customer fits in a truck.
State the CVRP of the paper in one sentence.
From one depot, identical vehicles of capacity Q serve customers with known demands; each customer is on exactly one route, no route exceeds Q, and total distance is minimised; m may be fixed or variable (pp. 153–154).
What are the paper's headline numbers on the 1,590 problems?
New algorithm 1,369 solved in 301.8 h; Achuthan et al. (1996) 1,239 in 451.7 h; Laporte et al. (1985) 1,107 in 586.8 h (p. 154).
Why does an exact method need both an upper and a lower bound?
The optimum lies between them; when they meet, optimality is proved.
Build the routes yourself
Before any maths, plan the toy instance by hand and see how close you get to the optimum.
Every later chapter uses this instance, so a few minutes here make every LP picture readable.
It is like doing a jigsaw before reading the instructions: you learn which pieces are awkward.
Customer 2 needs 9 of a truck's 10 units. Where does it go?
Tap customers in order to build route 1 from the depot (square). Tap the depot or "Back to depot" to close the route and start the next. Watch each route's load against Q = 10. Then compare with the savings heuristic and the optimum.
The map is a sketch: customer 7 is drawn a little further from the depot than its true position so that the road 1–7 (length 5.1) stays visible. All costs use the true distances.
does customer 2 end up alone?
Its demand is 9. The only customer small enough to share its truck is customer 4 (demand 1), and customer 4 is on the other side of the depot. In the optimum, customer 2 gets a single-customer route 1 → 2 → 1. In the paper's model that is the one case where an edge variable equals 2: $x_{12} = 2$ (p. 154).
How good is the savings heuristic on the toy instance?
The savings algorithm starts with one route per customer, then merges the pair of routes that saves the most distance, as long as capacity allows.
This is a classic and fast way to get a first incumbent; the paper uses Paessens' (1988) modified version (p. 159). Our script uses the basic Clarke–Wright version.
It ends with routes 1→2→1, 1→7→3→4→5→1 and 1→6→8→1, costing 322.4.
Loads 9, 10 and 9: all feasible.
The optimum, found by checking all 354 feasible route plans, is 318.2: routes 1→2→1, 1→6→5→7→1 and 1→3→4→8→1.
So the heuristic is 4.2 above optimal (1.3%). Without a lower bound you could not know that.
The distance from the depot to customer 2 is $c_{12} = 48.9$. What does the single-customer route 1 → 2 → 1 cost?
The truck drives the same edge out and back.
$2 \times 48.9 = 97.8$. In the model this is $c_{12}\,x_{12}$ with $x_{12} = 2$.
How much longer is the savings plan (322.4) than the optimum (318.2)?
Subtract.
$322.4 - 318.2 = 4.2$, about 1.3% of the optimum.
What is the load of the optimal route 1 → 6 → 5 → 7 → 1? ($q_5 = 3$, $q_6 = 4$, $q_7 = 3$)
Add the three demands.
4 + 3 + 3 = 10 = Q: the truck is exactly full.
The optimum uses 3 trucks, and the total demand is 28 with Q = 10. Is 3 the fewest trucks possible?
In the paper's model, what value does $x_{12}$ take in the optimum of the toy instance?
Why is customer 4 (demand 1) not paired with customer 2 in the optimum, although the pair fits in one truck?
- The toy: depot 1 and customers 2–8, Q = 10, total demand 28, optimum 318.2 with three routes.
- A single-customer route uses its depot edge twice: $x_{1j} = 2$.
- The savings heuristic lands at 322.4; only a lower bound can show how close that is.
- Check each route's load before its distance.
- Treat the heuristic value as an upper bound, nothing more.
- Assuming small-demand customers always share a truck with big ones.
- Reading a single-customer route as "one edge used once".
What is the optimum of the toy instance and which routes achieve it?
318.2: 1→2→1, 1→6→5→7→1, 1→3→4→8→1.
When is an edge variable equal to 2 in the paper's model?
Only for a depot edge $x_{1j}$ when $(1, j, 1)$ is a route by itself (p. 154).
What does the paper use to get its first upper bound?
Paessens' (1988) modified savings algorithm, "because it is simple to implement" (p. 159).
Which of these is a lower bound on the number of vehicles in the toy instance?
Which plan is feasible for Q = 10?
How many of the 1,590 test problems did the new algorithm solve within the one-hour limit?