How to implement a pso tunning for a function ?
显示 更早的评论
Hi! I'm starting to study pso and still remained some details I don't get how they work. I know that pso is a stochastic and heuristic AI method and that simuletes a set of particles travelling in a number of dimensions to find the maximums or the minimums of a function. How could I tune a set of constants of a function using pso?
Let's suppose the function is :
V = A + B/x + C*x;
Where A, B and C are constants and x is a variable.
How could I tune A, B and C using pso (conceptually speaking)?
回答(1 个)
Alan Weiss
2017-1-30
0 个投票
Well, if you have Global Optimization Toolbox release 2014b or later, you can look at the documentation for examples and explanations of how the algorithm works.
Good luck,
Alan Weiss
MATLAB mathematical toolbox documentation
类别
在 帮助中心 和 File Exchange 中查找有关 Particle Swarm 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!