The particle position is computed by Eq. (6), following exactly the standard procedure of PSO. If the new position
X0
i < 0, we redefine X0
i = 0. If for the case of discrete problems it should be X0
i > Xsup, where Xsup is a predefined
maximum position, then in full analogy to the velocity case we set X0
i = Xsup. All the remaining issues related to the
standard PSO algorithm remain unchanged