pyswarms and swarmopt
These are competitors offering alternative implementations of particle swarm optimization algorithms, where pyswarms is a mature, feature-rich research library while swarmopt is a simpler, less-maintained alternative for the same core optimization task.
About pyswarms
ljvmiranda921/pyswarms
A research toolkit for particle swarm optimization in Python
Provides multiple PSO variants (global-best and local-best) with built-in benchmark functions and visualization tools for tracking swarm convergence and particle trajectories. Features hyperparameter optimization via grid and random search to tune swarm behavior coefficients. Designed with an extensible API allowing researchers to implement custom PSO variants while leveraging NumPy-based computation and Matplotlib integration for analysis.
About swarmopt
SioKCronin/swarmopt
Swarm intelligence optimizer
Related comparisons
Scores updated daily from GitHub, PyPI, and npm data. How scores work