File Exchange

## The Genetic Algorithm (GA) : Selection + Crossover + Mutation + Elitism

version 1.0.0.0 (5.29 KB) by Seyedali Mirjalili

### Seyedali Mirjalili (view profile)

This is the implementation of the original version of the genetic algorithm

Updated 11 Jun 2018

This submission includes the main components of the Genetic Algorithm (GA) including Selection + Crossover + Mutation + Elitism. There are functions for each and the GA has been developed as a function as well. Of course, it is the discrete (binary) version of the GA algorithm since all the genes can be assigned with either 0 or 1.
I have a number of relevant courses in this area. You can enrol via the following links with 95% discount:
*******************************************************************************************************************************************
A course on “Optimization Problems and Algorithms: how to understand, formulation, and solve optimization problems”:
https://www.udemy.com/optimisation/?couponCode=MATHWORKSREF

A course on “Introduction to Genetic Algorithms: Theory and Applications”
https://www.udemy.com/geneticalgorithm/?couponCode=MATHWORKSREF
*******************************************************************************************************************************************

### Cite As

Seyedali Mirjalili (2020). The Genetic Algorithm (GA) : Selection + Crossover + Mutation + Elitism (https://www.mathworks.com/matlabcentral/fileexchange/67435-the-genetic-algorithm-ga-selection-crossover-mutation-elitism), MATLAB Central File Exchange. Retrieved .

Kuluru Sudarsana Reddy

### Kuluru Sudarsana Reddy (view profile)

Nikolas Spiliopoulos

### Nikolas Spiliopoulos (view profile)

'@testfunc3' not included (?)

Vivek Mukundan

### Vivek Mukundan (view profile)

What is the significance of the .Gene function. Is it a function? If yes, then what does it return?

Denis Piovar

eric githua