Skip to content
/ cpso Public

Particle Swarm Optimization (PSO) in C++ with MPI support

License

Notifications You must be signed in to change notification settings

gaberoo/cpso

Repository files navigation

PARTICLE SWARM OPTIMIZATION IN C++

Copyright (c) 2011-2015 Gabriel E Leventhal

adapted from: SimPSOLib: A simple yet flexible PSO implementation in C++. Author: Tomas V. Arredondo

Test run

The test function to optimize is

f = -(x[0]-10)*(x[0]-10) - (x[1]-5)*(x[1]-5) + 10

The optimimum of this function is at x* = (10,5).

Compile test:

make libpso.a
make test

Run test:

./test test.json

About

Particle Swarm Optimization (PSO) in C++ with MPI support

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published