Hi, I m developing to PSO algorithm in a set of integers numbers, but I cant apply the updating of speed
v(t)=v(t-1)+ (pBest -x(t)) + (gBest -x(t))
x(t)=v(t)+x(t-1)
Because each element of set is a number between 0-499. Then If you are adding 2 elements of diferent vector or particle, the result exceeds the high limit 500.
Then I might define to operators of add and rest , Do you help me with your experience in PSO.?