Skip to content
/ tsp-acs Public
forked from piperamirez/tsp-acs

Implementation of an Ant Colony System to solve the Traveling Salesman Problem with OpenMp

License

Notifications You must be signed in to change notification settings

Dyuko/tsp-acs

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

tsp-acs OpenMP

About

This is an implementation of an Ant Colony System (ACS) to solve the Traveling Salesman Problem (TSP). It supports both sequential and parallel versions (OpenMp).

In doc/tsp-acs.pdf the algorithm is described in detail and a comparison of performance is discussed.

Authors

  • Felipe Ramirez

Usage

./tsp-acs <data> <number_of_ants> <use_threads>
  • data is an instance of the TSP
  • number_of_ants is the number of ants to be routed
  • use_threads whether 0 or 1

Changes made to the fork

Migrate pthread and semaphore to omp

About

Implementation of an Ant Colony System to solve the Traveling Salesman Problem with OpenMp

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C 98.6%
  • Makefile 1.4%