Optimization Rastrigin Function by Differential Evolution algorithm
Version 1.0.0.0 (1.87 KB) by
mirui wang
A simple application of Differential Evolution algorithm in the optimization of Rastrigin funtion.
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 LinuxCategories
Find more on Traveling Salesman (TSP) in Help Center and MATLAB Answers
Tags
Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.
| Version | Published | Release Notes | |
|---|---|---|---|
| 1.0.0.0 |
