Quantum-Behaved Particle Swarm Optimization
Version 1.0.0 (6.46 KB) by
David Franco
The Q-PSO function + 11 benchmark functions.
The folder contain the Quantum PSO main code (QPSO) and 11 functions for benchmark.
EXAMPLE:
fun = @griewankfcn;
D = 30;
nPop = 50;
lb = -600;
ub = 600;
maxit = 1000;
maxeval = 10000*D;
[xmin,fmin,histout] = QPSO(fun,D,nPop,lb,ub,maxit,maxeval);
OR DIRECTLY:
[xmin,fmin,histout] = QPSO(@griewankfcn,30,50,-600,600,1000,10000*30);
MATLAB Release Compatibility
Created with
R2018b
Compatible with any release
Platform Compatibility
Windows macOS LinuxCategories
Find more on Particle Swarm in Help Center and MATLAB Answers
Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.
Quantum-behaved Particle Swarm Optimization
Version | Published | Release Notes | |
---|---|---|---|
1.0.0 |