Finding Shortest Path through whole points without revisiting
Ältere Kommentare anzeigen
Hi all,
I have a problem and I need urgent help. I have more than 30 points (2D cartesian coordinate) with known x and y coordinates. All points can be distributed randomly or on a regular basis such as star shape or cross shape. I would like to asing a one way path which connects all points without circling or revisiting them. How can I implement this question? I would like to visit each point only once and complete the whole journey as quick as possible.
Thanks in advance.
Akzeptierte Antwort
Weitere Antworten (2)
Walter Roberson
am 18 Aug. 2020
0 Stimmen
this problem is known as the Hamiltonian Path
https://www.mathworks.com/matlabcentral/fileexchange/51610-hamiltonian-graph-source-destination
1 Kommentar
Ömer Yaman
am 18 Aug. 2020
Ömer Yaman
am 18 Aug. 2020
0 Stimmen
Kategorien
Mehr zu Traveling Salesman (TSP) finden Sie in Hilfe-Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!