Learn R Programming

TSP (version 1.1-1)

Concorde: Using the Concorde TSP Solver

Description

The Concorde TSP Solver package contains several solvers. Currently, interfaces to the Concorde solver (Applegate et al. 2001), one of the most advanced and fastest TSP solvers using branch-and-cut, and the Chained Lin-Kernighan (Applegate et al. 2003) implementation are provided in TSP. The Concorde TSP Solver package is freely available for academic research and has to be obtained separately from the Concorde web site (see details).

Usage

## set path for executables
concorde_path(path)

## obtain a list of command line options for the solvers concorde_help(exe = NULL) linkern_help(exe = NULL)

Arguments

exe
an optional character string containing the whole path to the executable (including the executable's name). Other options are (1) to use concorde_path() to set the path to the directory containing the executables fo
path
path to the directory where the executables are stored.

Details

The code of the Concorde TSP package is not included in this package and has to be obtained separately from the Concorde web site (see references). Either download the precompiled executables and place them in a suitable directory (either in the search path, or you have to use concorde_path()) and make them executable, or you can get the source code and compile it on your own.

To get a list of all available command line options which can be used via the clo option for solve_TSP use concorde_help() and linkern_help(). Several options (, , , ) are not available via solve_TSP since they are used by the interface.

References

Concorde home page, http://www.tsp.gatech.edu/concorde/

Concorde download page, http://www.tsp.gatech.edu/concorde/downloads/downloads.htm

David Appletgate, Robert Bixby, Vasek Chvatal, William Cook (2001): TSP cuts which do not conform to the template paradigm, Computational Combinatorial Optimization, M. Junger and D. Naddef (editors), Springer.

David Applegate and William Cook and Andre Rohe (2003): Chained Lin-Kernighan for Large Traveling Salesman Problems, INFORMS Journal on Computing, 15, 82--92.

See Also

solve_TSP