One possible algorithm is to calculate the total distance for all possible Hamiltoniam cycles
but this is far too complieated for more than about five cities
if there are 20 cities then the number of possiber cycles is
which is about 6 been
but they take too long to apply
there are several have heuristic algoritham that quickly tell us approximately what the shortest distance is