Current Volume | Browse | Search | RSSHome | Instructions for Authors | JSS Style Guide | Editorial Board

Authors: Michael Hahsler, Kurt Hornik
Title: [download]
(6548)
TSP—Infrastructure for the Traveling Salesperson Problem
Reference: Vol. 23, Issue 2, Dec 2007
Submitted 2006-12-21, Accepted 2007-11-24
Type: Article
Abstract:

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.

Paper: [download]
(6548)
TSP – Infrastructure for the Traveling Salesperson Problem
(application/pdf, 842.7 KB)
Supplements: [download]
(1425)
TSP_0.2-1.tar.gz: R source package
(application/x-gzip, 748.1 KB)
[download]
(1342)
v23i02.R: R example code from the paper
(application/zip, 2 KB)
Resources: BibTeX | OAI
Creative Commons License
This work is licensed under the licenses
Paper: Creative Commons Attribution 3.0 Unported License
Code: GNU General Public License (at least one of version 2 or version 3)
Current Volume | Browse | Search | RSSHome | Instructions for Authors | JSS Style Guide | Editorial Board