Differential Evolution

版本 1.16.0.1 (64.1 KB) 作者: Markus Buehren
Optimization using the evolutionary algorithm of Differential Evolution.
25.8K 次下载
更新时间 2019/11/13

查看许可证

This contribution provides functions for finding an optimum parameter set using the evolutionary algorithm of Differential Evolution. Simply speaking: If you have some complicated function of which you are unable to compute a derivative, and you want to find the parameter set minimizing the output of the function, using this package is one possible way to go.
The core of the optimization is the Differential Evolution algorithm. However, this package provides much more than the code available on the Differential Evolution homepage:
http://www.icsi.berkeley.edu/~storn/code.html
Here is a list of some features:
* Optimization can run in parallel on multiple cores/computers.
* Extensive and configurable progress information during optimization.
* Intermediate results are stored for later review of optimization progress.
* Progress information can be sent by E-mail.
* Optimization toolbox is not needed.
* Quick start with demo functions.
* Intermediate results are displayed after the optimization.
* Different end conditions can be chosen (maximum time, value to reach etc.).
* Each parameter value can be constrained to an interval.
* Each parameter value can be quantized (for example for parameters of integer nature).
* Code can easily be extended to use the evolutionary algorithm of your choice.
I have spent many hours to develop this package. If you would like to let me know that you appreciate my work, you can do so by leaving a donation:
https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=KAECWD2H7EJFN
Keywords: Optimization, evolutionary algorithm, genetic algorithm, differential evolution, parallel processing, distributed computing, multiple core.

引用格式

Markus Buehren (2024). Differential Evolution (https://www.mathworks.com/matlabcentral/fileexchange/18593-differential-evolution), MATLAB Central File Exchange. 检索时间: .

MATLAB 版本兼容性
创建方式 R2009b
兼容任何版本
平台兼容性
Windows macOS Linux
类别
Help CenterMATLAB Answers 中查找有关 Global Optimization Toolbox 的更多信息
致谢

启发作品: Ogive optimization toolbox

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!
版本 已发布 发行说明
1.16.0.1

Sound feature removed due to incompatibility of function wavread with newer Matlab versions.

1.16.0.0

Deactivated pushbutton generation which causes error in late Matlab versions.

1.15.0.0

New feature: A previous optimization run can be continued. Set DEParams.saveHistory to true for saving intermediate results, then call differentialevolution.m with the name of the intermediate result file as an extra input argument.

1.14.0.0

Bugfix: File needed by setfilesemaphore.m was missing.

1.13.0.0

Performance optimization for multicore processing.

1.12.0.0

Bugfix: Results computed by slave processes were set to NaN when maxMasterEvals was not equal to Inf.

1.11.0.0

New feature: Now the objective function may return NaN, Inf or -Inf.

1.10.0.0

New feature: Now the objective function may return NaN, Inf or -Inf.

1.7.0.0

Only E-mail changed in html file.

1.6.0.0

Bugfix: Constraint function was called with empty matrix as input argument. blat.exe no longer contained in the package due to restrictions on Matlab Central.

1.5.0.0

Bugfix: Constraint function was called with empty matrix.

1.4.0.0

Paths are now built using the system-dependent file separator.

1.3.0.0

Semaphore mechanism improved.

1.2.0.0

Link in package description corrected.

1.1.0.0

File datenum2 was not needed.

1.0.0.0

Handling of parameter quantization improved.