Top Qs
Timeline
Chat
Perspective
Multi-fragment algorithm
Travelling salesman problem heuristic From Wikipedia, the free encyclopedia
Remove ads
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.
This article relies largely or entirely on a single source. (May 2024) |
Remove ads
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]
Remove ads
References
Wikiwand - on
Seamless Wikipedia browsing. On steroids.
Remove ads