Basic PSO algorithm developed with DEAP, performance rendered with matplotlib.
Simple two-dimensional function containing several local maxima, H1 has a unique maximum value of 2.0 at the point (8.6998, 6.7665).
H1 = (sin(x1 - x2 / 8))**2 + (sin(x2 + x1 / 8))**2 / (((x1 - 8.6998)**2 + (x2 - 6.7665)**2)**0.5 + 1)
The function is from : "The Merits of a Parallel Genetic Algorithm in Solving Hard Optimization Problems", by A. J. Knoek van Soest and L. J. R. Richard Casius.
http://deap.googlecode.com/
Link to this comment:
All Comments (0)