Download CSMOn from the URL below and then unpack it: https://web.inf.ufpr.br/vri/software/csmon/ In the command line, compile CSMOn package: cd # According to your Operating System. make The standard PSO implementation is provided with the code. To run the Python example code (update pso_example.py as necessary): cd python cd python<2 or 3> # According to the installed python version. python pso_example.py And to run the C++ example code (update the parameters as necessary): cpp/pso_example pso -s1 -5.12 -s2 5.12 -w -0.5 -c1 -0.2 -c2 0.35 -n 100 -p 30 -M 50000 -R -0.08 # On Linux. Or cpp\pso_example pso -s1 -5.12 -s2 5.12 -w -0.5 -c1 -0.2 -c2 0.35 -n 100 -p 30 -M 50000 -R -0.08 # On Windows.