JAVA代码实现PSO来查找最小值.或最大功能 [英] JAVA code to implement PSO to find the min. or max function

查看:74
本文介绍了JAVA代码实现PSO来查找最小值.或最大功能的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述



在JAVA中实施粒子群优化算法(PSO)来找到mini-
函数的最大值或最大值(Scha?er F6,抛物线,Rosenbrock,Ras-
trigrin,Griewank)使用最合适的参数.

并使用标准方程式并至少改变dif-
来改变惯性权重 正确的3个值.运行算法20次(即使用
至少运行60次) 3个权重).



Implement the particle swarm optimization algorithm (PSO) in JAVA to fi nd the mini-
mum or maximum of the functions (Scha er F6, Parabolic, Rosenbrock, Ras-
trigrin, Griewank)by using parameters that are most appropriate.

And Use the standard equation and vary the inertia weight with at least dif-
ferent 3 values. Run your algorithm 20 times (i.e. at least 60 times with the
3 weights).

推荐答案

简单的解决方案:实施,毕竟是您的工作.
Simple solution: you implement it, after all, it is your assignment.


这篇关于JAVA代码实现PSO来查找最小值.或最大功能的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆