Real Genetic Algorithm
Version 2.0.0 (6.24 KB) by
Mehdi Ghasri
Functions optimization with the help of the Genetic Algorithm (GA)
Real Genetic Algorithm
This code is set for three different types of selection. Includes: Roulette Wheel Selection, Tournament Selection, and Random Selection.
This code is defined for ten functions as follows:
- Ackley
- Dixon & Price
- Ackley 2
- Cigar
- Csendes
- Rastrigin
- Rosenbrock
- Rotated Ellipse 1
- Rotated Ellipse 2
- Bumpy (KBF)
To cooperate in articles, send an email to the following address (with Subject = CO Article):
Email: Eng.mehdighasri@gmail.com
The figure below illustrates an example of the algorithm execution steps:
Cite As
Mehdi Ghasri (2024). Real Genetic Algorithm (https://www.mathworks.com/matlabcentral/fileexchange/124565-real-genetic-algorithm), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Created with
R2022b
Compatible with any release
Platform Compatibility
Windows macOS LinuxTags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.