The workspace contains five folders, where:
bin
: contains classes after compiledata
: contains data instanceslib
: contains dependenciesoptimalResults
contain optimal resultsoutput
: contains output filessrc
: contains sources
Data http://comopt.ifi.uni-heidelberg.de/software/TSPLIB95/tsp/
Large data http://www.math.uwaterloo.ca/tsp/world/countries.html
Data description http://comopt.ifi.uni-heidelberg.de/software/TSPLIB95/tsp95.pdf
Data FAQ http://comopt.ifi.uni-heidelberg.de/software/TSPLIB95/TSPFAQ.html
One can download the datasets .tsp
, .opt.tsp
from here by:
- Direct to your folder of the project:
cd path\to\folder
- For Windows:
- Install winrar and set path:
set path="path\to\WinRAR\";%path%
- Run
getData-Win.bat
:getData-Win.bat
- Install winrar and set path:
- For Linux/MacOS:
- Install
curl
:sudo apt install curl
- Run getData-Unix.sh:
bash getData-Unix.sh
- Install
- Install Java Development Kit and set path:
set path="path\to\Java\";%path%
- Choose some problem to solve in
data
- Open App.java and write problem name to
problemList
in line10
- Save the change by
ctrl
+S
- Direct to your folder of the project:
cd path\to\folder
- Run program in terminal by:
javac App.java java App.java