Particle Swarm Optimization

Visualization

Parameters

Expression

Optimization parameters

Simulation

Note

ω, φp and φg control the behaviour and efficacy of the PSO method.
They can have a large impact on the optimization performance. Choose them precautiously.

To update the expression, please note that x is written sqrt(x), |x| is equal to abs(x), and ex is written exp(x).