Solution Techniques

Clarke and Wright Savings Algorithm

The Clarke and Wright savings algorithm is one of the best-known heuristics for the VRP. It was developed in [Clarke and Wright 1964] and it applies to problems for which the number of vehicles is not fixed (it is a decision variable), and it works equally well for both directed and undirected problems. When two routes (0,…,i,0) and (0,j,…,0) can feasibly be merged into a single route (0,…,i,j,…,0), a distance saving s(i, j) is generated. The algorithm works as follows (the first step is the same in both the parallel and sequential versions):

Step 1. Savings Computation

Parallel Version

Step 2. Best Feasible Merge

Starting from the top of the savings list, execute the following:

Given a saving s(i, j), determine whether there exist two routes that can feasibly be merged:

Combine these two routes by deleting (0, j) and (i, 0) and introducing (i, j).

Sequential Version

Step 2. Route Extension