Can you describe the main idea of Particle Swarm Optimization in a few words?
In particular: does it run quicker because of the swarm (why),
or is just easier to write than a single particle trying all possibilities
(and possibly marking unsuccessful areas like, e.g., Ant Colony Optimization)?
in a few words?Can you describe the main idea of Particle Swarm Optimization
The search is performed by moving the individuals towards those
who are the best (with random steps).
Exhaustive search is impossible when the dimension of the search
space is high (number of unkowns grows: e.g. for Induction motor:
we have 7 paramters: Rs, Ld, Lq, f, J, P, and for PMSM: Rs, Ld,
Lq, phi, f, J, P, and neural nets with hundreds or thousands of
weights).
Another hint: we can restart the algorithm with the last obtained
best solution (use it for randomly initializing the individuals in
the neighborhood (near at some extent) of that best solution).
Also, we can avoid local traps (local minima or maxima). The PSO
gives the global best solution or solutions (optimal or suboptimal
with a certain given tolerance).
Hi, Here is my attempt to write a PSO programme and some applications.
It is written for gforth.
Save the code for PSO as pso.fs and include it in application files.
Sysop: | Keyop |
---|---|
Location: | Huddersfield, West Yorkshire, UK |
Users: | 475 |
Nodes: | 16 (2 / 14) |
Uptime: | 20:06:29 |
Calls: | 9,487 |
Calls today: | 6 |
Files: | 13,617 |
Messages: | 6,121,093 |