Skip to content

Latest commit

 

History

7 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 

Repository files navigation

particle-swarm-optimization

This is an application of PSO on two benchmarks that are Rosenbrock and Rastrigin functions. Parameter a, which can be considered as the likelihood of a particle to preserve its position, has been reduced over time for optimal performance. Plots of several generations are shown in figures where black dots indicate the final one. Surprisingly, this old technique has a really quick convergence rate.

Rosenbrock

alt text

Rastrigin

alt text

Requirements:

matplotlib, numpy

About

No description or website provided.

Topics

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages