Particle Swarm Optimization algorithm was based on Ali Mirjalilis matlab implementation.
The python implementation requires two dependancies, matplotlib and numpy.
The following is a guide to download python, matplotlib, and numpy onto your personal machine to run the code.
http://web.cs.wpi.edu/~cs1004/e17/Resources/Windows/SettingUpPython_Windows.pdf
courtesy of WPI