Travelling salesman problem

旅行商问题是一个经典的组合优化问题,涉及寻找最短路径以访问所有城市并返回起点。它在理论计算机科学和运筹学中具有重要意义,且被广泛应用于规划、物流和微芯片制造等领域。尽管问题复杂,但已有多种启发式算法和精确算法用于求解,甚至能处理成千上万个城市的实例。该问题的决策版本属于NP完全问题,其计算复杂度随城市数量增加而增加。此外,旅行商问题还有多种变体和实际应用,如在DNA测序和天文学中的应用。
摘要由CSDN通过智能技术生成

The travelling salesman problem (also called the travelling salesperson problem or TSP) asks the following question: “Given a list of cities and the distances between each pair of cities, what is the shortest possible route that visits each city exactly once and returns to the origin city?” It is an NP-hard problem in combinatorial optimization, important in theoretical computer science and operations research.

The travelling purchaser problem and the vehicle routing problem are both generalizations of TSP.

In the theory of computational complexity, the decision version of the TSP (where given a length L, the task is to decide whether the graph has a tour of at most L) belongs to the class of NP-complete problems. Thus, it is possible that the worst-case running time for any algorithm for the TSP increases superpolynomially (but no more than exponentially) with the number of cities.

The problem was first formulated in 1930 and is one of the most intensively studied problems in optimization. It is used as a benchmark for many optimization methods. Even though the problem is computationally difficult, many heuristics and exact algorithms are known, so that some instances with tens of thousands of cities can be solved completely and even problems with millions of cities can be approximated within a small fraction of 1%.[1]

The TSP has several applications even in its purest formulation, such as planning, logistics, and the manufacture of microchips. Slightly modified, it appears as a sub-problem in many areas, such as DNA sequencing. In these applications, the concept city represents, for example, customers, soldering points, or DNA fragments, and the concept distance represents travelling times or cost, or a similarity measure between DNA fragments. The TSP also appears in astronomy, as astronomers observing many sources will want to minimize the time spent moving the telescope between the sources; in such problems, the TSP can be embedded inside an optimal control problem. In many applications, additional constraints such as limited resources or time windows may be imposed.

在这里插入图片描述

Solution of a travelling salesman problem: the black line shows the shortest possible loop that connects every red dot.

1 History

2 Description

2.1 As a graph problem

2.2 Asymmetric and symmetric

2.3 Related problems

3 Integer linear programming formulations

3.1 Miller–Tucker–Zemlin formulation[21]

3.2 Dantzig–Fulkerson–Johnson formulation

4 Computing a solution

4.1 Exact algorithms

4.2 Heuristic and approximation algorithms

5 Special cases

5.1 Metric

5.2 Euclidean

5.3 Asymmetric

5.4 Analyst’s problem

5.5 Path length for random sets of points in a square

6 Computational complexity

6.1 Complexity of approximation

7 Human and animal performance

8 Natural computation

9 Benchmarks

10 Popular culture

11 See also

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值