Traveling Salesman Problem - Algorithm


Input : Number of cities n and array of costs c(i,j) i,j=1,..n (We begin from city number 1)
Output:Vector of cities and total cost.

We can find situations in which the TSP algorithm don't give the best solution.We can also succeed on improving the algorithm.For example we can apply the algorithm t times for t different cities and keep the best round every time.We can also unbend the greeding in such a way to reduce the algorithm problem ,that is there is no room for choosing cheep sides at the end of algorithm because the cheapest sides have been exhausted.


HTML PAGE DIRECTOR :Papaioannou Panagiotis