Optimization Rastrigin Function by Differential Evolution algorithm

A simple application of Differential Evolution algorithm in the optimization of Rastrigin funtion.
2.3K Downloads
Updated 2 Jun 2014

View License

The zip include four files
DE.m main DE funtion with detailed comment.
PlotR.m is used to visulize the Rastrigin function.
rand1.m is the mutation method used by DE and one can change it to other mutation method according to different porblem. But rand is good enough to most of the problems.
Rastrigin.m is the Rastrigin function itself.

Cite As

mirui wang (2026). Optimization Rastrigin Function by Differential Evolution algorithm (https://www.mathworks.com/matlabcentral/fileexchange/46818-optimization-rastrigin-function-by-differential-evolution-algorithm), MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R2013a
Compatible with any release
Platform Compatibility
Windows macOS Linux
Categories
Find more on Traveling Salesman (TSP) in Help Center and MATLAB Answers
Version Published Release Notes
1.0.0.0