pso
代码说明:
说明: 用一种粒子来模拟上述的鸟类个体,每个粒子可视为N维搜索空间中的一个搜索个体,粒子的当前位置即为对应优化问题的一个候选解,粒子的飞行过程即为该个体的搜索过程.粒子的飞行速度可根据粒子历史最优位置和种群历史最优位置进行动态调整.粒子仅具有两个属性:速度和位置,速度代表移动的快慢,位置代表移动的方向。每个粒子单独搜寻的最优解叫做个体极值,粒子群中最优的个体极值作为当前全局最优解。不断迭代,更新速度和位置。最终得到满足终止条件的最优解。(Each particle can be regarded as a search individual in the n-dimensional search space, the current position of the particle is a candidate solution of the corresponding optimization problem, and the flight process of the particle is the search process of the individual. The flight speed of the particle can be dynamically adjusted according to the historical optimal position of the particle and the historical optimal position of the population There are two attributes: speed and position. Speed represents the speed of movement and position represents the direction of movement. The optimal solution searched by each particle is called individual extremum, and the optimal individual extremum in particle swarm optimization is the current global optimal solution. Iterate continuously to update the speed and position. Finally, the optimal solution satisfying the termination condition is obtained.)
文件列表:
psopid.slx, 27455 , 2021-02-02
optfun.m, 229 , 2021-02-02
PSO.m, 3416 , 2021-02-02
下载说明:请别用迅雷下载,失败请重下,重下不扣分!