Traveling-Salesman Problem
1
2
4
3
Distance matrix
Step 3:
repeat step 2 until there is no
unvisited city.
\
40
55
28
In this case:
16
7
H (1, 2, 3) = 31
66
H (2, 4, 3) = 75
So we insert 3 between 1 and 2