The position of a particle repre-sents an alternative solution in a multidimensional solution space.Each particle is assigned a velocity, which changes over time andwhich is used to update the particle’s position over iterations untilthe optimal solution is found.