Skip to content

parallelized genetic algorithm for finding approximate solution to traveling salesperson problem

Notifications You must be signed in to change notification settings

rcannon/genetic-tsp

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 

Repository files navigation

A parallelized genetic algorithm for finding approximate solutions to the traveling salesperson problem.

To compile, move into src and run $ make

Parameters: 2 million iterations, pop_size of 1000, 0.3 mutation_rate

The best result I found was 5862.06.

Run time of best result (4 threads): 4.92 seconds.

Single-Thread Runtime: ~14 seconds.

About

parallelized genetic algorithm for finding approximate solution to traveling salesperson problem

Resources

Stars

Watchers

Forks