This is supporting code for my blog here
git clone git@github.com:maazadeeb/tsp-aco.git
cd tsp-aco
- Import it to your IDE of choice or even compile and run via command line (
javac *.java && java ACORunner <path to folder>/input.txt
) - The
main
function is in theACORnner
class
Note: You can edit the input.txt
to give large matrix inputs and try it out. It's quite fast for upto 200 vertices. Starts slowly degrading post that