Skip to content

mtShaikh/tsp_through_aco

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 

Repository files navigation

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

Releases

No releases published

Packages

No packages published

Languages