Closed jfowkes closed 6 months ago
There must be something wrong with the setup, above, as if p is the zero vector, Hp = 0. This is what the fortran tests of the above say
Yes sorry p should be [0.3 0.3 0.3 0.3]
The issue is that the call to cdh evaluates the Hessian of the Lagrangian, not the John function, and thus when calling chjprod again, we have the wrong Hessian. I will update the docs, and (perhaps) at some stage add a cdhj function
When calling
chjprod
on ALLINITC with the default starting point x and Lagrange multipliers y:gives
which is clearly incorrect.