文件名称:pso_goldstein_
介绍说明--下载内容均来自于网络,请自行研究使用
标准PSO算法代码采用C++编制;注释丰富;带有测试函数;测试函数在(0,-1)处取得最小值3。编译运行通过修改优化模型即可直接用来优化你所需求解问题,本人在弹道优化方面已测试成功。代码内总共进行50次pso搜索运算,以提高算法的可靠性,迭代最大次数限制在500次以内,输出最佳适应值和取得最佳适应值时的迭代次数,平均进行每次pso运算要多少次迭代才能得到满足条件的解-Standard PSO algorithm code using C++ preparation Notes rich with test function test function in (0,-1) obtained at the minimum three. Compile and run directly by modifying the optimization model is used to optimize you need to solve the problem, I have been tested in the trajectory optimization success. A total of 50 times the code pso search operator to improve the reliability of the algorithm, the maximum number of iterations is limited to less than 500, the output value and the best fitness value to obtain the best fit of iterations, the average for each operation to the number of pso iterations to meet the conditions to get the solution ......
(系统自动生成,下载前可以参看下载内容)
下载文件列表
pso_goldstein
.............\pso_goldstein_price.dsp
.............\pso_goldstein_price.dsw
.............\pso_gp.cpp
.............\resource.h
.............\Script1.aps
.............\Script1.rc