Lin–Kernighan heuristic
- This article is about the heuristic for the traveling salesman problem. For a heuristic algorithm for the graph partitioning problem, see Kernighan–Lin algorithm.
In combinatorial optimization, Lin–Kernighan is one of the best heuristics for solving the Euclidean traveling salesman problem. It briefly involves swapping pairs of sub-tours to make a new tour. It is a generalization of 2-opt and 3-opt. 2-opt and 3-opt work by switching two or three paths to make the tour shorter. Lin–Kernighan is adaptive and at each step decides how many paths between cities need to be switched to find a shorter tour.
See also
References
‹The stub template below has been proposed for renaming to . See stub types for deletion to help reach a consensus on what to do.
Feel free to edit the template, but the template must not be blanked, and this notice must not be removed, until the discussion is closed. For more information, read the guide to deletion.›