资源介绍
%%####################################################################
%%#### Particle swarm optimization
%%#### With linkage operator
%%#### Deepak devicharan july 2003
%%####################################################################
%%## to apply this to different equations do the following
%%## generate initial particles in a search space close to actual soln
%%## fool around with no of iterations, no of particles, learning rates
%%## for a truly generic PSO do the following
%%## increase the number of particles , increase the variance
%%## i.e let the particles cover a larger area of the search space
%%## then fool around as always with the above thins
%declare the parameters of the optimization
max_iterations = 1000;
no_of_particles = 50;
dimensions = 1;
delta_min = -0.003;
delta_max = 0.003;
c1 = 1.3;
c2 = 1.3;
- 上一篇: 用基本粒子群算法求解函数最优解得问题
- 下一篇: PSO粒子群算法求最大最小值 -——python