• Hi All

    Please note that at the Chandoo.org Forums there is Zero Tolerance to Spam

    Post Spam and you Will Be Deleted as a User

    Hui...

  • When starting a new post, to receive a quicker and more targeted answer, Please include a sample file in the initial post.

Travelling Salesman Problem

game_federer

New Member
Hi,
Newbie here. I'm looking for a solution to the salesman problem where the algo is minimum of each row. For eg.

1 2 3 4
1 - 7 8 3
2 7 - 5 1
3 8 5 - 4
4 3 1 5 -

We have 4 places to go 1,2,3,4 and then we've to come back to 1. In this, the guy will go from 1 to 4 first since 3 in the first row this is the least value. From 3 it will move to 4, from 4 to 2 and then back to 1.

Your help would be greatly appreciated.
 
Back
Top