By default delta_g is calculated as gk+1 - gk. But I am running new kind of BFGS algorithm where I need this instead: delta_g= gk+1 - gk + (pk/|delta_x|^2)delta_x, where pk = 2[f(xk) - f(xk+1)] + (gk+1 + gk)*delta_x
Asked
Active
Viewed 35 times
0
-
Please provide enough code so others can better understand or reproduce the problem. – Community Oct 06 '22 at 10:49