首页| JavaScript| HTML/CSS| Matlab| PHP| Python| Java| C/C++/VC++| C#| ASP| 其他|
购买积分 购买会员 激活码充值

您现在的位置是:虫虫源码 > 其他 > 简单的差分进化算法(DE)

简单的差分进化算法(DE)

资 源 简 介

D I F F E R E N T I A L    E V O L U T I O N C-code in the file de.c implements Differential Evolution (DE) algorithm, more precisely DE/rand/1/bin [1,2,3] version of the method. This DE variation is probably the most used DE variation and perform well with arbitrary problems. Whole algorithm is in the file de.c and you may implement your optimization problem to a separate file. You do not have to make any changes to the de.c file, all the problem specific definitions are to be made only the file where objective function is in function func. See for example file rastrigin_2d.c for problem description. You can compile the program with command: gcc -Wall -pedantic -ansi -O -o de de.c problem.c -lm , where you replace problem.c file with the file name containing your  optimization problem. <

文 件 列 表

de
de.c
rastrigin_20d.c
rastrigin_20d_skewed.c
rastrigin_2d.c
Readme.txt
schwefel_20d.c

相 关 资 源

您 可 能 感 兴 趣 的

同 类 别 推 荐

VIP VIP