Programs 
Last check  
PSO Demo/Fun, (in Math stuff about PSO)  By Maurice Clerc . Adaptive version. ANSI C source. Continuous (De
Jong, Banana...) and discrete (Fifty/fifty, integer factorization,
graph coloring, combinatorial) functions. Options: granularity,
local queens, Guided Random Generation etc... TRIBES (a parameter
free PSO). Binary PSOs. 
201204 
Particle Swarm Optimisation  Java applet by Mark C. Sinclair  200008 
BinaryPS and NKPS (for Windows)  "Games" by Jim Kennedy. When a swarm of stupid particles beats you... Frustrating!  201205 
Particle Swarm Optimizer  Related to the book "Swarm Intelligence" (J. Kennedy, R. Eberhart). C source  200108 
Code
for
Particle Swarm Tester 
A quite old one, for beginners ... 
200301 
Berkeley
Lab 
Search for "particle swarm". Several
Java classes. 
200307 
The
PSO TOOLBOX 
A collection of Matlab (.m) files
that can be used to implement the Particle Swarm Optimization
Algorithm (PSO) to optimize your system. 
200308 200405 
GenOpt,
Generic Optimization Program. Berkeley Lab 
Amongst some others: # Particle Swarm Optimization algorithms (for continuous and/or discrete independent variables), with inertia weight or constriction coefficient and velocity clamping, and with a modification that constricts the continuous independent variables to a mesh to reduce computation time. # A hybrid global optimization algorithm that uses Particle Swarm Optimization for the global optimization, and HookeJeeves for the local optimization. 
200403 
PSO
visualisation
applet 
By Ken Fitch, Project Computing.
Generates a semirandom 3D landscape. A randomly generated particle
swarm of 12 particles attempts to find the "global maximum" on the
landscape. Runs under Java 1.1. 
200404 
Auto2fit
(shareware) 
1. Genetic Algorithm (GA): both
encode/decode mode and realvalue based mode, six crossover types
and seven selection types 2. Particle Swarm Optimization (PSO): six
schemes (2 standard and 4 new) 3. Differential Evolution (DE): ten
schemes (5 new) 4. Maximum Inherit Optimization (MIO): four schemes 
200408 
Standard PSO 2006  Quite often some authors say they compare their PSO versions to
the "standard one" ... which is never the same! So the idea is to
define a real standard at least for one year, validated by some researchers of the field, in particular James Kennedy and Maurice Clerc. 
200602 
PSOpt  Visualisation of the process for some 2D functions. Written in Java  200603 
Matlab PSO Toolbox  Robust Particle Swarm toolbox implementing Trelea, Common, and Clerc types along with an alpha version of change detection.  200604 
Global Optimization by PSO: A Fortran Program  A FORTRAN program to find the global optimum by the Repulsive Particle Swarm method  200701 
Multiobjective Particle Swarm with Crowding Distance (MOPSOCD)  Rpackage Source Code (C language) for MOPSOCD as described in C. R. Raquel and P.C. Naval, "An Effective use of Crowding Distance in Multiobjective Particle Swarm Optimization", Proceedings of Genetic and Evolutionary Computation Conference (GECCO 2005), Washington, D.C., June 2529, 2005. 
201306 201210 
PSO with Mathematica (.nb file)  By Namrata Khemka and Christian Jacob. Needs Mathematica Player  200707 
Standard PSO 2007 (SPSO07)  Quite often, researchers claim to compare their version of PSO with the "standard one", but the"standard one" itself seems to vary! Thus, it is important to define a real standard that would stay unchanged for at least one year. More functions have been added in 20092010. Written in C. There is also a R version, slightly different, but with more options, by Claus Bendtsen, here.  201009 
SPSO 2007, Matlab 
Matlab version, by Mahamed Omran 
201105 
SPSO
2007, Matlab 
by Stephen Chen. An implementation of
Standard Particle Swarm Optimization with results
available for the CEC2013 RealParameter Optimization Benchmark
Functions 
201310 
ParadisEO (PARallel and DIStributed Evolving Objects)  Provides tools for the development of populationbased
metaheuristic: evolutionary algorithms, particle swarm optimization 
201306 
Java Based PSO Framework  Part of the opensource project CIlib (Computational Intelligence Library)  200712 
TRIBESD  By Maurice Clerc. A simplified version of his parameterfree particle swarm optimiser TRIBES, for real heterogeneous problems. For example, it easily finds the best known solution for the classical "Pressure vessel" problem. For multiobjective problems, it is also far better than the previous version.  200801 
PSOpackage for the free computing environment R  By Till Francke. Particle Swarm Optimization and Dynamically Dimensioned Search for R, optionally using parallel computing based on Rmpi  200909 
SwarmOps sourcecode library  By Magnus Pedersen. C# and ANSI C codes for several optimization methods, including a few global best PSO variants  200909 
Balanced PSO  By Maurice Clerc. C code with a lot of options, to
"simulate" many PSO variants. A stable version (for the Swarm
Intelligence Handbook, and a Research version). There are still some
bugs, though 
200909 
PSO
Research Toolbox 
By George Evers. An extensive PSO
toolbox suitable for industrial, academic, and personal use. 
201205 
NetLogo
Models Library: Sample Models/Computer Science 
By Stonedahl, F. and Wilensky, U.
(2008). NetLogo Particle Swarm Optimization model . Based on the algorithm presented in the following paper: Kennedy, J. & Eberhart, R. (1995) 
201005 
Variable
PSO 
By Maurice Clerc. A simple PSO with
adaptive swarm size and topology. 
201005 
PSO
in Python 
By F.A. Fortin. One of the features
of DEAP (Distributed
Evolutionary Algorithms in Python), . Warning: at this date
(20101015) this is just the original (global best) PSO, which is
bad for multimodal functions, but it is easy to transform it into a
local best one (like, say, Standard PSO). 
201010 
PSO in Python  By James D. McCaffrey (demo program on Rastrigin function)  201506 
Robots
Routing using Swarm Intelligence 
A C# project to simulate and test a
multiagent algorithm for finding multiple noisy radiation sources
with spatial and communication constraints with an emulated
environment. The robots cooperate and communicate with each other to
locate the source based on the sensors readings using concepts from
particle swarm optimization algorithm. 
201101 
Standard
PSO 2011 (SPSO2011) 
As simple as SPSO07, but not
coordinate dependent. A few optional "bells and whistles" for better
performance. Note: a short paper about the differences between SPSO 2006, 2007, 2011 is available here. There is also a R version, slightly different, with less options, by Claus Bendtsen, here. 
201101 201209 
SPSO
2011, Matlab 
Matlab version, by Mahamed Omran 
201105 
TribesPSO 
By Peter Baughman. A managed
implementation of the Tribes particle swarm optimization technique.
It is designed to be extensible without recompilation to enable
testing of variations on the Tribes algorithm. The project is
written in C# 
201107 
SimPSOLib 
By Tomas Arredondo. A small and
simple implementation in C++ (global best PSO, with Vmax) 
201107 
MATLAB
PSO Research Toolbox 
By Georges Evers. This site
also presents some papers, and a thesis 
201108 
PyGMO 
By Dario Izzo. Python Parallel Global
Multiobjective Optimizer. Include DE, PSO, CMAES, ... 
201111 
SwarmNLP 
By John Marshall. SwarmNLP is a
program for Windows that visualizes particle swarm optimization
(PSO) over multiple criteria and multiple objectives. This program
is a good teaching tool for showing how PSO runs and quickly
visualizing a solution space. 
201204 
hydroPSO 
By Mauricio ZambranoBigiarini and Rodrigo Rojas. A newly developed package for the calibration/optimisation of environmental and other realworld models that need to be executed from the system console. hydroPSO is modelindependent, allowing the user to easily interface any computer simulation model with the optimisation engine, through the model's own input and output files. It implements a stateoftheart PSO algorithm (SPSO2011 and SPSO2007 capable), with several finetuning options (topologies, boundary conditions, initialisations, etc) and PSO variants available to customise the optimisation engine to different applications. Userfriendly plotting functions facilitate the interpretation and assessment of the optimisation results. hydroPSO is parallelcapable, to alleviate the computational burden of complex models with "long" execution time.  20121221 
EPSO 
By INESC (Porto, Portugal). Evolutionary Particle Swarm Optimization, a method based on a hybrid of two established optimization techniques belonging to the metaheuristic family: evolutionary computing and particle swarm optimization.  201205 
PSO
(global best, Haskell language) 
By P. Rabanal, I. Rodriguez, F.
Rubio. Our aim is to provide a library of generic Haskell versions
of the most common bioinspired metaheuristics, as well as a library
containing the corresponding Eden (a parallel version of Haskell)
skeletons for each metaheuristic. By doing so, we will simplify the
task of using these metaheuristics in functional settings, and we
will also simplify the task of improving their performance by means
of parallelizing them. Moreover, as several metaheuristics will be
provided in the same environment, the programmer will be able to
check more easily what metaheuristics fits better for each concrete
problem. 
201206 
popot,
C++ POPulation Based Optimization Toolbox 
By Jeremy Fix. Particle Swarm
Optimization: SPSO 2006, 2007 and 2011 are implemented
but you can also play by combining different topologies,
initialization schemes, position or velocity update rules,
confinement methods, random number generators. Artificial Bee Colony

201208 
Squads:
Global Optimization technique coupling Particle Swarm and
LevenbergMarquardt optimization techniques 
By Velimir V. Vesselinov, and Dylan
R. Harp. An adaptive global hybrid optimization strategy based on
TRIBES, for complex inverse analysis of computationally intensive
physicsbased models. 
201301 
A
PSO in C 
By Kyriakos Kentzoglanakis. A small
and efficient piece of C code that can be "plugged into" any
project. It implements a standard PSO algorithm and supports
thespecification of arbitrary userdefined objective functions,
different swarm topologies, inertia weight update strategies,
boundary conditions etc. 
201303 
Standard PSO 2011 in ObjectiveC  By Ivan Rublev. To make PSO algorithm easily available for people who write apps for Macs and iPhones  201511 