3-opt

In optimization, 3-opt is a simple local search heuristic for finding approximate solutions to the travelling salesperson problem and related network optimization problems. Compared to the simpler 2-opt algorithm, it is slower but can generate higher-quality solutions.

3-opt analysis involves deleting three edges from the current solution to the problem, creating three sub-tours. There are eight ways of connecting these sub-tours back into a single tour, one of which consists of the three deleted edges. These reconnections are analysed to find the optimum one. This process is then repeated for a different set of 3 connections, until all possible combinations have been tried in a network. A single pass through all triples of edges has a time complexity of O(n^3).{{Cite conference|title=Combining 2-OPT, 3-OPT and 4-OPT with K-SWAP-KICK perturbations for the traveling salesman problem|last1=Blazinskas|first1=Andrius|last2=Misevicius|first2=Alfonsas|s2cid=15324387|date=2011|conference=17th International Conference on Information and Software Technologies |location=Kaunas, Lithuania |conference-url=https://isd.ktu.lt/it2011/ |url=https://isd.ktu.lt/it2011/material/Proceedings/1_AI_5.pdf}} Iterated 3-opt, in which passes are repeated until no more improvements can be found, has a higher time complexity.

See also

References

{{Reflist}}

Further reading

  • {{cite journal|first= F. |last=BOCK | year = 1958 | title = An algorithm for solving traveling-salesman and related network optimization problems |journal=Operations Research |volume= 6 |issue=6}}
  • {{cite journal | last=Lin | first=Shen | title=Computer Solutions of the Traveling Salesman Problem | journal=Bell System Technical Journal | publisher=Institute of Electrical and Electronics Engineers (IEEE) | volume=44 | issue=10 | year=1965 | issn=0005-8580 | doi=10.1002/j.1538-7305.1965.tb04146.x | pages=2245–2269}}
  • {{cite journal | last=Lin | first=S. | last2=Kernighan | first2=B. W. | title=An Effective Heuristic Algorithm for the Traveling-Salesman Problem | journal=Operations Research | publisher=Institute for Operations Research and the Management Sciences (INFORMS) | volume=21 | issue=2 | year=1973 | issn=0030-364X | doi=10.1287/opre.21.2.498 | pages=498–516}}
  • {{cite book | last=Sipser | first=Michael | title=Introduction to the theory of computation | publisher=Thomson Course Technology | publication-place=Boston | date=2006 | isbn=0-534-95097-3 | oclc=58544333 | page=}}

Category:Heuristic algorithms

Category:Travelling salesman problem