/genetic-algorithm-optimization

Genetic Algorithm (GA) for 2D periodic function

Primary LanguageMATLAB

genetic-algorithm-optimization

Genetic Algorithm (GA) is a common technique in Evolutionary Computation using to solve optimization problems. When I was studying my master degree I did a GA to solve two dimension optimization problem for f(x,y). The function is periodic, and the objective is to find a maximum of this function between [-1,2].

 f(x,y) = x*sin(4*pi*x) - y*sin(4*pi+pi) + 1

alt text

Run by yourself!