Travelling salesman problem – Computing Reference – eLook.org


Travelling salesman problem



<algorithm, complexity> (TSP or “shortest path”, US: “traveling”) Given a set of towns and the distances between them, determine the shortest path starting from a given town, passing through all the other towns and returning to the first town.

This is a famous problem with a variety of solutions of varying complexity and efficiency.

The simplest solution (the brute force approach) generates all possible routes and takes the shortest.

This becomes impractical as the number of towns, N, increases since the number of possible routes is !(N-1).

A more intelligent algorithm (similar to iterative deepening) considers the shortest path to each town which can be reached in one hop, then two hops, and so on until all towns have been visited.

At each stage the algorithm maintains a “frontier” of reachable towns along with the shortest route to each.

It then expands this frontier by one hop each time.

Pablo Moscato’s TSP bibliography (http://www.densis.fee.unicamp.br/~moscato/TSPBIB_home.html). Fractals and the TSP (http://www.ing.unlp.edu.ar/cetad/mos/FRACTAL_TSP_home.html).

< Previous Terms Terms Containing travelling salesman problem Next Terms >
trap door
trap-door function
trash
Trash-80
traveling salesman problem
brute force
memetic algorithm
traveling salesman problem
TSP
traversal
traverse
trawl
tree
tree-killer
Read More
2 weeks ago
41
2 weeks ago
28
2 weeks ago
30

New Casinos
Download the latest version of Dragon Tiger online casino APK for Android! Enjoy safe, free gameplay and unleash your luck in this thrilling card game.
Explore Mascot Gaming's top online casinos and gaming slots! Discover exciting bonuses, thrilling casino games, and the best mascot gaming slots for 2024!
Best online casino games on Banger.casino! Play on mobile apps or desktop and win real money. ✓ Get your welcome bonus +125% UP TO €250 right now!

© Copyright 2024 | Elook.org