research toolkit for particle swarm optimization in Python


PySwarms is an extensible research toolkit for particle swarm optimization (PSO) in Python.

It is intended for swarm intelligence researchers, practitioners, and students who prefer a high-level declarative interface for implementing PSO in their problems. PySwarms enables basic optimization with PSO and interaction with swarm optimizations.

  * High-level module for Particle Swarm Optimization
  * Built-in objective functions to test optimization algorithms
  * Plotting environment for cost histories and particle movement
  * Hyperparameter search tools to optimize swarm behaviour

This package contains the Python 3.x version of PySwarms.

Upload more screenshots

Please help extend the collection of screenshots. Just make a screenshot and upload it here. You don't need to register or anything.

Upload a screenshot

Hint: upload an image here from your clipboard with Ctrl-V


Install this software package

If the package is available for the distribution you are currently using on your computer then install the software by clicking on…

Install python3-pyswarms