I am quite new to C# and PSO algorithm. Recently, I am trying to optimize multi-parameters (multi- variables) of an objective function. I gave the boundary limit to each parameter, and give the inital velocity for each parameter, but I found the trial point (parameter set) always jump out of the bounday. How to let the search point stay within the space? Or something wrong with initial vecocity?
Any people who knows the pso algorithm can give this help?
Thanks in advance.