Genetic algorithm sounds complicated, I myself thought it was the first time I heard about it, but it’s definitely not.

About genetic algorithm

It’s a method for solving both constrained and unconstrained optimization problems based on a natural selection process that mimics biological evolution.

I know, it’s even worse, but keep reading.

What is natural selection ?

Image for post

Natural selection is the process by which individual organisms with favorable traits are more likely to survive and reproduce. said Charles Darwin.

Also expressed as ‘’ the survival of the fittest’’, it means that if you can suit the conditions and environment you live in, then you’re more likely to survive and reproduce so that your traits could be passed to next generations.

Sum up : we keep individuals with particular traits that make them good for a particular task and get rid of bad ones.

Image for post

How it works ?

First, let’s introduce terms that we’ll be using

Population_ :__ Potential solutions randomly picked._

Individual :_ A solution among the population._

Chromosome :_ Contains the traits of each individual._

We can say that each individual is represented by its chromosome.

Gene _: _Each chromosome is a set of genes, and each gene represent a particular trait of an individual.

#pid #matlab #algorithms

Learning from nature to solve complexe optimization problems.
1.15 GEEK