Jump to content

Multi-fragment algorithm: Difference between revisions

From Wikipedia, the free encyclopedia
Content deleted Content added
m top: Typo fixing, replaced: an heuristic → a heuristic as in the linked article.
Closing 2018 merge proposal; uncontested objections; also, it is no longer an orphan; see Talk:Travelling salesman problem#Proposed merge with Multi-fragment algorithm
Line 1: Line 1:
{{Orphan|date=January 2019}}

{{merge to|Travelling salesman problem|discuss=Talk:Travelling salesman problem#Proposed merge with Multi-fragment algorithm|date=November 2018}}
{{Infobox Algorithm
{{Infobox Algorithm
|class=[[Approximation algorithm]]
|class=[[Approximation algorithm]]

Revision as of 21:54, 7 December 2019

Multi-fragment algorithm
ClassApproximation algorithm
Data structureGraph
Worst-case performance
OptimalNo

The multi-fragment (MF) algorithm is a heuristic or approximation algorithm for the travelling salesman problem (TSP) (and related problems). This algorithm is also sometimes called the "greedy algorithm" for the TSP.

The algorithm builds a tour for the traveling salesman one edge at a time and thus maintains multiple tour fragments, each of which is a simple path in the complete graph of cities. At each stage, the algorithm selects the edge of minimal cost that either creates a new fragment, extends one of the existing paths or creates a cycle of length equal to the number of cities.[1]

References

  1. ^ Johnson, David; A. McGeoch, Lyle (1997). "The Traveling Salesman Problem: A Case Study in Local Optimization". Local Search in Combinatorial Optimization. 1.