Skip to content
GabineteTools for thinking

No. 2392Workflow and delivery

Travelling salesman problem and vehicle routing problem

Menger and others · 1959

Board with brass pins: to the left a red thread that crosses; to the right three clean blue loops that come out of the central pole.

The table / Model card · No. 2392 · Workflow and delivery

Travelling salesman problem and vehicle routing problem

Plan the cheapest set of routes that visits every stop, within vehicle capacity and time limits.

The essentials

What it is

What it solves

With dozens or thousands of stops, the number of possible routes explodes, and a hand-made route is rarely near the best. How do you cut kilometres, hours and vehicles while meeting delivery constraints?

When to use it

Use it for daily delivery and collection planning, field-service dispatch, school-bus or waste routes, and when fleet size or fuel cost is significant and stops change often.

Where it comes from

The TSP was first formulated in 1930 and studied in Vienna and at Harvard in the 1930s (Karl Menger among others). Dantzig, Fulkerson and Johnson published an influential solution method in 1954. The vehicle routing problem first appeared as the truck dispatching problem in a 1959 paper by George Dantzig and John Ramser, applied to petrol deliveries. The year given here is that of the VRP paper.

George B. Dantzig, John Ramser and Karl Menger · 1959

How it works

A route is an ordering of stops, and cost is the sum of travel between consecutive ones. For n stops there are about n factorial orderings, so brute force fails beyond tiny cases, and the problem is NP-hard. Exact methods use linear programming with cutting planes and branch-and-bound, as in the 1954 work, and handle a few hundred stops. For larger or constrained VRPs, practitioners build a starting solution (nearest neighbour, savings) and improve it with local search such as 2-opt, then use metaheuristics. Typical constraints are vehicle capacity, time windows, driver hours and pickups with deliveries. Solvers trade guaranteed optimality for speed.

You need

Depot and stop locations, distance or travel-time matrix, demands, vehicle capacities and costs, time windows, driver rules.

You get

A route per vehicle (ordered stops), total distance, time and cost, and the number of vehicles required.

Case

Illustrative case

Quillon Couriers sends 3 vans from one depot to 36 stops, 12 per van, capacity 40 parcels each. Dispatchers build routes by nearest neighbour and total 142 km. Running a savings heuristic followed by 2-opt improvement on the same stops gives 121 km, a cut of 21 km (about 15%) per day. At 0.35 per km and 300 working days that is about 2,200 a year on distance alone, before driver-hour savings. Drivers object to one cross-town leg, so the planner adds a rule and accepts 124 km.

A fictional company used to explain the model.

Caution

When to avoid it

  • Avoid heavy optimisation for a handful of fixed stops, where a driver's knowledge may be as good.
  • It also needs reliable distance and time data, and a model that ignores real rules (driver preferences, access limits) gives routes that nobody follows.

Common mistakes

  • Using straight-line distance instead of road times.
  • Ignoring time windows or loading rules until after routing.
  • Trusting a single heuristic run as optimal.
  • Rebuilding the routes daily so drivers never learn the area.

Known weaknesses

  • NP-hard: optimality is out of reach at scale.
  • Depends on accurate travel-time data.
  • Hard rules can conflict with driver practice.
  • Frequent re-planning can reduce route familiarity.

How to apply it in 6 steps

How to apply it

Travelling salesman problem and vehicle routing problem

6 steps

Use the arrow keys to move between steps, Home and End for the first and last, and Enter to fold or unfold the booklet.

View all 6 steps
  1. Collect the data

    Gather stop locations, demands, time windows and a real road-time matrix.

  2. Define the rules

    List vehicle capacity, driver hours, cost per km and hour, and which rules are hard or soft.

  3. Build a first solution

    Create routes with a constructive heuristic such as nearest neighbour or savings.

  4. Improve with local search

    Apply exchanges such as 2-opt and relocation until no move helps, or use a solver.

  5. Check against reality

    Test routes with dispatchers and drivers and add rules the model missed.

  6. Re-run and track

    Re-plan as orders change and track actual versus planned distance.

Which decisions it helps with

Decision profile

A tool to take action on processes and operations.

Keyboard: Tab to the sheet, use the arrows to explore the assessments and their questions, and press Escape to close the note.

IIdentity

Type of tool
Other formatDoes not fit neatly into the available categories
Decision stage
Plan the work, roles and deadlines
What it applies to
Processes and operations
Discipline
Lean, operations and quality

IIIResources required

  • TimeOne hour or less
  • PeopleA small group (2 to 8)
  • DataQuantitative analysis
  • ExpertiseWorks best with a facilitator
  • Time horizonDays or weeks
  • ScopeA unit or department
  • FrequencyA regular practice

IITen axes

The dot shows which end the model favours. A hollow dot means no clear preference.

  • DirectionExecution
  • Top-downBottom-up
  • PeopleProcesses
  • Generate optionsNarrow down options
  • Step-by-step analysisIntuition and experience
  • A strict sequence of stepsA flexible framework
  • Protect what we haveTake a risk
  • Improve what we haveFundamental change
  • Inside the organisationOutside the organisation
  • Understand firstAct now

IVUseful when

  • Our projects keep running late or going over budget
How was this profile calculated?

An automated system reads each model card and answers the same questions for every model. This profile has answers for 77 of 77. No answers are entered by hand.

A very high probability counts as “yes” and a very low one as “no”. Intermediate answers are hidden.

On the axes, mixed means the model favours neither end.

How it works →

Thinking space

Workflow and delivery

They organize and accelerate day-to-day delivery: Kanban, DevOps, development cycles, automation and work standards.

Membership: 40 % · also “Diagnosing processes” (14 %)

View in the atlas of spaces →

Each point is a model. Distance reflects answers to the decision questions. Light points share this model’s space.

Similar models

Verified sources

Use the arrow keys to move between sources.

Original work

  1. Dantzig, G., Fulkerson, R. and Johnson, S. (1954). Solution of a Large-Scale Traveling-Salesman Problem. Journal of the Operations Research Society of America.Landmark paper on solving a large travelling-salesman instance with linear programming and cutting planes (per Wikipedia). Crossref record shows title and three authors.View source: Solution of a Large-Scale Traveling-Salesman Problem (opens in a new tab) ↗
  2. Dantzig, G. B. and Ramser, J. H. (1959). The Truck Dispatching Problem. Management Science.First formulation of what became the vehicle routing problem, applied to fuel deliveries. Crossref record shows title and authors.View source: The Truck Dispatching Problem (opens in a new tab) ↗

Key development

  1. Laporte, G. (1992). The vehicle routing problem: An overview of exact and approximate algorithms. European Journal of Operational Research.Standard overview of exact and heuristic methods for vehicle routing. Crossref record shows title and author.View source: The vehicle routing problem: An overview of exact and approximate algorithms (opens in a new tab) ↗
  2. Drexl, M. (2012). Rich vehicle routing in theory and practice. Logistics Research 5(1-2), pp. 47-63.Reviews the routing literature against a study of commercial routing software: which problem features those systems handle and which solution methods they use. Only the machine summary was opened, not the abstract.View source: Rich vehicle routing in theory and practice (opens in a new tab) ↗

Practical guide

  1. Toth, P. and (eds.), D. V. (2002). The Vehicle Routing Problem. SIAM.Edited monograph covering VRP variants and solution methods. Crossref lists the book with ISBN 9780898718515; editors read from its chapter records.View source: The Vehicle Routing Problem (opens in a new tab) ↗

The catalogue does not yet list a published critique of this specific model.

Wikipedia article (opens in a new tab) ↗