Real Genetic Algorithm

Functions optimization with the help of the Genetic Algorithm (GA)

You are now following this Submission

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:
  1. Ackley
  2. Dixon & Price
  3. Ackley 2
  4. Cigar
  5. Csendes
  6. Rastrigin
  7. Rosenbrock
  8. Rotated Ellipse 1
  9. Rotated Ellipse 2
  10. 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 (2026). Real Genetic Algorithm (https://se.mathworks.com/matlabcentral/fileexchange/124565-real-genetic-algorithm), MATLAB Central File Exchange. Retrieved .

General Information

MATLAB Release Compatibility

  • Compatible with any release

Platform Compatibility

  • Windows
  • macOS
  • Linux
Version Published Release Notes Action
2.0.0

Some errors were fixed.

1.0.0