I currently doing a Particle Swarm Optimization(PSO) project which find the minimum of rosenbrock function. The problem I facing now is I cant get a constant result like others example.
For an simple example, when I find the minimum of f(x)=(x+1)^2 I can get a constant result of -1. But when finding resenbrock function it given me difference result each time I simulate it.
Can anyone help me with this?