调研并寻找一种算法,求函数(式1)的最优解f(x)=∑_(i=1)^(N-1)▒[100*(x_i^2-x_(i+1))^2+(1-x_i)^2](式1)x_i∈[-5.12,5.12]