Skip to content

planning best National Parks road trip using evolutionary algorithm

Notifications You must be signed in to change notification settings

pagpires/np_mpi

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Planning a route across all US National Parks by evolutionary algorithm

In abstract, this is an attempt to solve Travellng Salesman Problem (TSP) by using evolutionary algorithm. The source is written in C. To improve the performance, the implementation relies MPI to achiveve parallel computing.

To give the problem a context, I collected the coordinates of all mainlain US National Parks, and used them as the locations for the problem. After 30 min computation, we can start to see some acceptable results.

A random route (before optimization using evolutionary algorithm):

This is a figure representing a random guess path for national parks

After optimization for 30 min:

This is a figure representing the optimized path for national parks

About

planning best National Parks road trip using evolutionary algorithm

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published