Skip to content

SensorAnalyticsAus/Simple_GA_parallel

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

22 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Prerequisite

Install Message Passing Interface (MPI):
sudo apt-get install openmpi-bin openmpi-common libopenmpi-dev openmpi-doc

Compile

git clone https://github.com/SensorAnalyticsAus/Simple_GA_parallel.git
cd Simple_GA_parallel/
make
make clean

Run

For quad core processor:

mpirun -np 4 ./sga_parr
The number of processors, -np, should be set equal to the number of cores of your CPU.

Settings

SGA parameters are set in sga3.var

Acknowledgements

This C code is based upon D.E. Goldberg's Genetic Algorithms in Search, Optimisation and Machine Learning 1989. MPI parallelisation by N. Zaidi 2016.

About

Parallel Genetic Algorithm

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published