Skip to content

TSP

Infrastructure for the Traveling Salesperson Problem

v1.2.7 · Mar 22, 2026 · GPL-3

Description

Basic infrastructure and some algorithms for the traveling salesperson problem (also traveling salesman problem; TSP). The package provides some simple algorithms and an interface to the Concorde TSP solver and its implementation of the Chained-Lin-Kernighan heuristic. The code for Concorde itself is not included in the package and has to be obtained separately. Hahsler and Hornik (2007) <doi:10.18637/jss.v023.i02>.

Downloads

34.9K

Last 30 days

624th

96.6K

Last 90 days

422.4K

Last year

Trend: +20.7% (30d vs prior 30d)

CRAN Check Status

14 OK
Show all 14 flavors
Flavor Status
r-devel-linux-x86_64-debian-clang OK
r-devel-linux-x86_64-debian-gcc OK
r-devel-linux-x86_64-fedora-clang OK
r-devel-linux-x86_64-fedora-gcc OK
r-devel-macos-arm64 OK
r-devel-windows-x86_64 OK
r-oldrel-macos-arm64 OK
r-oldrel-macos-x86_64 OK
r-oldrel-windows-x86_64 OK
r-patched-linux-x86_64 OK
r-release-linux-x86_64 OK
r-release-macos-arm64 OK
r-release-macos-x86_64 OK
r-release-windows-x86_64 OK

Check History

OK 14 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE Mar 10, 2026

Reverse Dependencies (17)

Dependency Network

Dependencies Reverse dependencies foreach ForagingOrg PairViz isocir tspmeta CRTspat MLCOPULA cholera jocre nlnet seriation VineCopula archetypes condvis ggEDA nilde +2 more reverse deps TSP

Version History

updated 1.2.7 ← 1.2.6 diff Mar 23, 2026
new 1.2.6 Mar 10, 2026
updated 1.2.6 ← 1.2-5 diff Nov 26, 2025
updated 1.2-5 ← 1.2-4 diff May 26, 2025
updated 1.2-4 ← 1.2-3 diff Apr 3, 2023
updated 1.2-3 ← 1.2-2 diff Mar 7, 2023
updated 1.2-2 ← 1.2-1 diff Jan 24, 2023
updated 1.2-1 ← 1.2-0 diff Jul 13, 2022
updated 1.2-0 ← 1.1-11 diff Feb 20, 2022
updated 1.1-11 ← 1.1-10 diff Oct 5, 2021
updated 1.1-10 ← 1.1-9 diff Apr 16, 2020
updated 1.1-9 ← 1.1-8 diff Feb 20, 2020
updated 1.1-8 ← 1.1-7 diff Jan 22, 2020
updated 1.1-7 ← 1.1-6 diff May 22, 2019
updated 1.1-6 ← 1.1-5 diff Apr 29, 2018
updated 1.1-5 ← 1.1-4 diff Feb 21, 2017
updated 1.1-4 ← 1.1-3 diff Feb 21, 2016
updated 1.1-3 ← 1.1-2 diff Sep 2, 2015
updated 1.1-2 ← 1.1-1 diff Jun 30, 2015
updated 1.1-1 ← 1.1-0 diff May 14, 2015