简单的差分进化算法(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.
下载说明:请别用迅雷下载,失败请重下,重下不扣分!