Particle Swarm Optimization Toolbox
The most basic code of PSO has been presented here. It is most helpful for people new to coding.
It can be used on any optimization problem. Being a heuristic algorithm it tends to find the global minimum value and as the code has been vectorized the speed has also been increased. The presented files are for unconstrained functions but with the help of penalty function the problem can be easily constrained.
If it works for many users I intend to develop a GUI for PSO as well present the constrained PSO files.
The widely used benchmark functions for checking the functioning of PSO are also added.
The improved PSO file has also been added in which the linearly changing inertial weight value has been considered.
Let me know in the comments if it helps.
인용 양식
Bhanu Pratap Singh (2025). Particle Swarm Optimization Toolbox (https://kr.mathworks.com/matlabcentral/fileexchange/45991-particle-swarm-optimization-toolbox), MATLAB Central File Exchange. 검색 날짜: .
MATLAB 릴리스 호환 정보
플랫폼 호환성
Windows macOS Linux카테고리
태그
도움
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!