login

<b>TSP</b>- Infrastructure for the Traveling Salesperson Problem

Journal of Statistical SoftwarePublished 1 January 2007Open access
Michael Hahsler, Kurt Hornik
Citations160
SJR quartileQ1
SJR score3.21
SNIP4.61
View PDF

TL;DR

The R package TSP is introduced which provides a basic infrastructure for handling and solving the traveling salesperson problem and provides an interface to Concorde, one of the best exact TSP solvers currently available.

Abstract

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

Keywords

Engineering