Question: Sort a list of points so as to give the shortest path.

Hello guys,

List of points:

LT := [[1, 1, 0], [3, 2, 0], [2, 3, 1], [1, 3, 1], [1, 4, 2], [1, 5, 0], [2, 5, 1], [3, 5, 3], [4, 5, 3], [3, 4, 5], [4, 3, 2], [5, 3, 2], [5, 4, 1], [5, 2, 1], [5, 1, 0], [4, 1, 2], [3, 1, 2], [2, 1, 2], [1, 2, 1], [1, 1, 0]]

Does Maple have some function to sort a list of points to give the shortest path?

Regards,

Oliveira

Please Wait...