Skip to content
Discussion options

You must be logged in to vote

Turn on the Hessian check in Ipopt (derivative_test second-order) and check your formulas. The errors reported by Ipopt should be small or vanish.
One thing is that you missed multiplying by obj_factor, but also after fixing that, there seems to be still an issue with $$\frac{\partial^2 f}{\partial \mu^2}$$:

*             obj_hess[    1,    1] = -1.1397872195406137e+04 v  ~  5.8792543659224957e+03  [ 2.939e+00]

Replies: 3 comments 2 replies

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
2 replies
@svigerske
Comment options

Answer selected by SlothDragon
@SlothDragon
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants