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

1 star

Watchers

1 watching

Forks

Releases

No releases published

Packages

 
 
 

Contributors