Python Code for Particle Swarm Optimization

Python Code for Particle Swarm Optimization

Particle Swarm Optimization is one of a meta-heuristic algorithm which was used in many real world optimization problems of many fields including civil engineering field as well. Particle Swarm Optimization was first introduced by Kennedy and Eberhart in 1995. The algorithm was proposed based on the behavior or movement of a bird flock.
To apply the theory of PSO to the optimization problem, we can implement the theory to Python code.
In the video below, we can solve the Sphere function by using the PSO algorithm with Python programming language.

Download Python code file here: Link 1
Link to references:
- Standard PSO paper by Kennedy and Eberhart in 1995 here
- CLPSO paper by Liang and Qin in 2006 here

Comments