Skip to content

cdglitch/Glasgow-TSP-Challenge

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Glasgow TSP Challenge

These instructions and all the code and data files are available on github.com/GUTS2015/Glasgow-TSP-Challenge

To get everything onto your computer just type:

git clone [email protected]:GUTS2015/Glasgow-TSP-Challenge.git
  1. Find the shortest tour that covers the 348 locations in file g7k.tsp.
  2. All locations are space delimited x y coordinates (units might vary), one location per line, e.g.: 1632 4570 1118 3080 6275 3525 0 0 4488 3269
  3. There are smaller location files (SisterTour.tsp, etc.) you might use for solution development & debugging
  4. The first location in each file has index 0.
  5. Each solution solution must be a permutation of location indices, e.g.: 0 2 4 3 1
  6. All locations have to be visited once and only once.
  7. Your solution will be costed using Verify.java program, i.e.: java Verify g7k.tsp g7k.sol
  8. Shortest tour wins, tie breaking on who commits that tour on github first.
  9. You have to show us your code (github), and your program computing the route must be your own.
  10. Your program can be written in any programming language you want.
  11. You can push a solution to github as often as you wish.
  12. You can visualise any valid tour using Display.java, i.e.: java Display SisterTour.tsp SisterTour.sol
  13. You have to compile all .java files with java 7 (and not java 8), like this: javac *.java

Best of luck,

Adam Kurkiewicz & Patrick Prosser

02/10/2015

Releases

No releases published

Packages

No packages published

Languages

  • Pascal 77.6%
  • Java 22.2%
  • Shell 0.2%