MATLAB: Customizing fitness function of genetic algorithm

fitness functiongenetic algorithm

HI, all
I am trying to implement a Genetic algorithm through matlab. Is there any code that I can customize the fitness function of GA?
I wonder if I have to implement it from scratch, or if there is a package that is easy to use.

Best Answer

Hi,
The link here might be helpful!
Hope this helps!