easyiec.strategies.InteractivePSO#
- class easyiec.strategies.InteractivePSO(pop_size=9, protocol=None, n_select=1, w=0.7298, c1=1.49618, c2=1.49618, vmax=0.2, **kw)[source]#
Bases:
StrategyInteractive particle swarm optimization (IPSO; Madár, Abonyi and Szeifert, 2005).
The evaluator looks at the current positions of the particles and chooses the best one(s). The top choice becomes the global guide (gbest); every chosen particle stores its position as its personal best (pbest). The velocity update is the canonical one with the constriction-equivalent coefficients
w=0.7298,c1=c2=1.49618(Eberhart and Shi, 2000).
Examples using easyiec.strategies.InteractivePSO#
CMA-ES, interactive PSO and pairwise differential evolution
CMA-ES, interactive PSO and pairwise differential evolution