# Travelling salesman problem

**Topic:** Maths · Applied mathematics  
**Page:** https://curium.ctopass.com/en/c/probleme-du-voyageur-de-commerce  
**Updated:** 2026-09-30

## The three levels

### Beginner — How many different routes can a delivery driver take to visit 20 cities?

More than sixty million billion. Each extra city multiplies the number of possible tours instead of merely adding to it. A computer testing a million of them per second would need nearly two thousand years.

### Intermediate — How do you find a good delivery round without trying every possibility?

You settle for a nearly perfect tour, found by heuristics. The simplest always heads for the nearest city not yet visited; on randomly placed cities, it gives a route about 25% longer than the best. Modern methods get within 2 or 3% of the optimum, even with millions of points.

### Expert — Why would a fast algorithm for the travelling salesman be worth a million dollars?

Because the question "is there a tour shorter than so many kilometres?" is NP-complete. An exact, fast algorithm for it would give one for every problem in the class NP, and would settle the P versus NP question, one of the seven Millennium Prize Problems offered by the Clay Institute.

## Explore next

- [P versus NP problem](https://curium.ctopass.com/en/c/probleme-p-egale-np.md)
- [Linear programming](https://curium.ctopass.com/en/c/programmation-lineaire.md)
- [Algorithm](https://curium.ctopass.com/en/c/l-algorithme.md)
- [Graph theory](https://curium.ctopass.com/en/c/theorie-des-graphes.md)
- [Prisoner's dilemma](https://curium.ctopass.com/en/c/dilemme-du-prisonnier.md)
- [Monte Carlo method](https://curium.ctopass.com/en/c/methode-de-monte-carlo.md)
- [Percentage](https://curium.ctopass.com/en/c/pourcentage.md)
- [Proportionality](https://curium.ctopass.com/en/c/proportionnalite.md)
- [Vector subspace](https://curium.ctopass.com/en/c/sous-espace-vectoriel.md)
- [Srinivasa Ramanujan](https://curium.ctopass.com/en/c/srinivasa-ramanujan.md)

---

Curium — Knowledge, one question at a time.

App Store: https://apps.apple.com/fr/app/curium/id6793886587
Google Play: https://play.google.com/store/apps/details?id=com.ctopass.curium
