TSP - Infrastructure for the Traveling Salesperson Problem

Hahsler, Michael and Hornik, Kurt ORCID: https://orcid.org/0000-0003-4198-9911 (2007) TSP - Infrastructure for the Traveling Salesperson Problem. Journal of Statistical Software, 23 (2). pp. 1-21. ISSN 1548-7660

This is the latest version of this item.


Download (862kB)


The traveling salesperson (or, salesman) problem (TSP) is a well known and important combinatorial optimization problem. The goal is to find the shortest tour that visits each city in a given list exactly once and then returns to the starting city. Despite this simple problem statement, solving the TSP is difficult since it belongs to the class of NP-complete problems. The importance of the TSP arises besides from its theoretical appeal from the variety of its applications. Typical applications in operations research include vehicle routing, computer wiring, cutting wallpaper and job sequencing. The main application in statistics is combinatorial data analysis, e.g., reordering rows and columns of data matrices or identifying clusters. In this paper, we introduce the R package TSP which provides a basic infrastructure for handling and solving the traveling salesperson problem. The package features S3 classes for specifying a TSP and its (possibly optimal) solution as well as several heuristics to find good solutions. In addition, it provides an interface to Concorde, one of the best exact TSP solvers currently available. (authors' abstract)

Item Type: Article
Keywords: combinatorial optimization / traveling salesman problem / R
Divisions: Departments > Finance, Accounting and Statistics > Statistics and Mathematics > Hornik
Version of the Document: Published
Depositing User: ePub Administrator
Date Deposited: 14 Oct 2013 11:54
Last Modified: 24 Oct 2019 13:41
FIDES Link: https://bach.wu.ac.at/d/research/results/42410/
URI: https://epub.wu.ac.at/id/eprint/3990

Available Versions of this Item


View Item View Item


Downloads per month over past year

View more statistics