Fork me on GitHub

pso.js + chart.js
In this example the optimizer is run 500 times with different parameter configurations.
The average of the best solution found is plotted in black and the average of the whole population in blue.
The objective function is Rastrigin and the search space is bidimensional.

Status: {{appController.busy ? 'busy' : 'idle'}}
Number of iterations (between 4 and 64)
Initial population size (between 4 and 64)
Inertia weight (between 0 and 1)
Social influence (between 0 and 1)
Personal influence (between 0 and 1)