standard Particle Swarm Optimization (with weight)