Resources
Links:
Matlab GA exercise:
My challenge to you is to find a genetic algorithm that performs best for Rastrigin’s function. You can use the matlab GA code provided below and log your results in the excel worksheet. You may want to investigate Matlab options in crossover operators, selection operators, and parameter settings to find a GA that performs well (A user’s manual may be helpful in understanding the Matlab GA). You can test the robustness of your GA by calculating the average and standard deviation of fitness over several random trials.
Matlab GA files: