mtShaikh / tsp_through_aco

Ant Colony Optimization for the Traveling Salesman Problem

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Implementation of Ant Colony Optimisation for the Travelling Salesman Problem

Implemeted using Golang

See main.go for more details

Dependancies

gonum/plot graphing library

for usage instructions visit here requires mercurial to be installed in the system

Usage

(Assuming Go is installed and $GOPATH points to the proper directory...if not then refer here for installation and here for post installation setup.)

Run $ go get github.com/mtShaikh/tsp_through_aco to get the files

Run $ go install command in the directory where main.go file is ($GOPATH/src/github.com/mtShaikh/main): and then run $ $GOPATH/bin/main

Other Details

The implementation only considers the DIMENSION and NODE_COORD_SECTION fields in the files given. It uses the former to get the total number of cities and the latter to get the coordinates of those cities

About

Ant Colony Optimization for the Traveling Salesman Problem

License:MIT License


Languages

Language:Go 100.0%