Skip to content

Commit

Permalink
Update README.txt
Browse files Browse the repository at this point in the history
  • Loading branch information
MichaelFerrari authored Dec 9, 2016
1 parent b4191fb commit cf76b8c
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion go/greedy/README.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
## Chuqi Zhou (cz4792)

This "99 Traveling Salespeople Problem - go version" program finds out the shortest path using greedy algorithm in Go language. It visits every city exactly once and returns to the city you started from.

To run this "99 Traveling Salespeople Problem - go version" program, just enter "make run" in the command line, the default input is "a280.tsp". You can also enter "go run 99tsp.go input/<filename>"

The output solution route will be in the format of "LocationNumber-LocationNumber-LocationNumber-...". For example, the solution is from location1 to location2 and to location3 finally, the output will be "1-2-3".
The output solution route will be in the format of "LocationNumber-LocationNumber-LocationNumber-...". For example, the solution is from location1 to location2 and to location3 finally, the output will be "1-2-3".

0 comments on commit cf76b8c

Please sign in to comment.