Sorry, this page is no longer available
We may earn an affiliate commission when you visit our partners.

Traveling Salesman Problem

Save
May 1, 2024 3 minute read

The Traveling Salesman Problem (TSP) challenges us to find the shortest possible route to visit a set of cities and return to the starting city, without revisiting any cities. It is a classic combinatorial optimization problem in computer science that has countless applications in logistics, telecommunications, and manufacturing.

Understanding the Traveling Salesman Problem

Suppose you own a delivery service in New York City and need to develop a route for your delivery truck to visit five customers. To minimize fuel costs and optimize delivery time, you want to find the shortest possible route that visits all five customers and returns to the starting point. This is an instance of the Traveling Salesman Problem.

Solving the Traveling Salesman Problem

Solving the TSP is computationally complex, especially for large sets of cities. For small sets, an exhaustive search can be used to evaluate all possible routes and find the shortest one. However, for larger sets, more efficient algorithms are needed.

Approximation algorithms, such as the nearest neighbor algorithm or the 2-opt algorithm, provide good solutions to the TSP without guaranteeing the optimal solution. These algorithms start with an initial solution and iteratively improve it by making small changes.

Applications of the Traveling Salesman Problem

The TSP finds applications in various domains:

Path to Traveling Salesman Problem

Take the first step.
We've curated three courses to help you on your path to Traveling Salesman Problem. Use these to develop your skills, build background knowledge, and put what you learn to practice.
Sorted from most relevant to least relevant:

Share

Help others find this page about Traveling Salesman Problem: by sharing it with your friends and followers:

Reading list

We've selected six books that we think will supplement your learning. Use these to develop background knowledge, enrich your coursework, and gain a deeper understanding of the topics covered in Traveling Salesman Problem.
Provides a comprehensive overview of the Traveling Salesman Problem (TSP), including its history, formulations, and solution methods. It valuable resource for anyone interested in studying or applying TSP algorithms.
Focuses specifically on the TSP and its many variations. It provides a detailed overview of the different types of TSPs, as well as the algorithms used to solve them.
Provides a practical guide to solving TSPs. It covers a variety of algorithms, including exact and heuristic methods. It also includes a software library that can be used to implement these algorithms.
Presents techniques for designing approximation algorithms, which provide approximate solutions to NP-hard problems like TSP. It includes a chapter on approximation algorithms for TSP.
Provides a German-language overview of the TSP. It covers the history, formulations, and solution methods of the problem.
Covers integer programming, a branch of optimization that is used to solve TSP and other problems. It provides a comprehensive treatment of integer programming techniques.
Table of Contents
Our mission

OpenCourser helps millions of learners each year. People visit us to learn workspace skills, ace their exams, and nurture their curiosity.

Our extensive catalog contains over 50,000 courses and twice as many books. Browse by search, by topic, or even by career interests. We'll match you to the right resources quickly.

Find this site helpful? Tell a friend about us.

Affiliate disclosure

We're supported by our community of learners. When you purchase or subscribe to courses and programs or purchase books, we may earn a commission from our partners.

Your purchases help us maintain our catalog and keep our servers humming without ads.

Thank you for supporting OpenCourser.

© 2016 - 2025 OpenCourser