Home > deap, example, new feature > Basic PSO optimization with DEAP

Basic PSO optimization with DEAP

Following a question we had regarding if we thought about integrating swarm intelligence algorithm in DEAP, we thought : what does it take to implement the original particle swarm optimization (PSO) algorithm in EAP? The answer was : everything is already implemented!

So we rushed to code, and built a simple example, that optimizes a function H1 described in  “The Merits of a Parallel Genetic Algorithm in Solving Hard Optimization Problems”, by A. J. Knoek van Soest and L. J. R. Richard Casius. The example and the explanations on how to implement PSO with DEAP are described on googlecode wiki : PSOExample.

We also posted a video of one run plotted with matplotlib on Youtube.

Have fun with DEAP!

Categories: deap, example, new feature
  1. No comments yet.
  1. No trackbacks yet.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: