This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision Next revision Both sides next revision | ||
travelling_salesman_problem [2023/08/02 07:19] 65.108.103.106 old revision restored (2023/07/01 21:05) |
travelling_salesman_problem [2024/04/29 13:21] 47.128.18.77 old revision restored (2024/04/24 03:08) |
||
---|---|---|---|
Line 41: | Line 41: | ||
===== Computing a solution ===== | ===== Computing a solution ===== | ||
- | ==== Computational complexity ==== | + | <note tip> |
The problem has been shown to be NP-hard (more precisely, it is complete for the complexity class FPNP; see function problem), and the decision problem version (" | The problem has been shown to be NP-hard (more precisely, it is complete for the complexity class FPNP; see function problem), and the decision problem version (" | ||
=== Complexity of approximation === | === Complexity of approximation === | ||
- | In the general case, finding a shortest travelling salesman tour is NPO-complete. If the distance measure is a metric and symmetric, the problem becomes | + | In the general case, finding a shortest travelling salesman tour is NPO-complete. If the distance measure is a metric and symmetric [[http://www.bantayso.com|website]], the problem becomes |
If the distances are restricted to 1 and 2 (but still are a metric) the approximation ratio becomes 8/7. In the asymmetric, metric case, only logarithmic performance guarantees are known, the best current algorithm achieves performance ratio $0.814 log(n)$; it is an open question if a constant factor approximation exists. | If the distances are restricted to 1 and 2 (but still are a metric) the approximation ratio becomes 8/7. In the asymmetric, metric case, only logarithmic performance guarantees are known, the best current algorithm achieves performance ratio $0.814 log(n)$; it is an open question if a constant factor approximation exists. |