Closed wly2014 closed 1 year ago
You cannot give the Hessian of the Lagrangian directly from JuMP, but you can provide Hessians for user-defined functions: https://jump.dev/JuMP.jl/stable/tutorials/nonlinear/user_defined_hessians/.
Note that JuMP does not use finite differences, so the Hessian it computes for Ipopt is exact.
If you have a large dual infeasibility, it might be some artifact of your formulation. But it's hard to say more without a reproducible example.
Perhaps you could post on the forum, https://discourse.julialang.org/c/domain/opt/13, with a reproducible example and we could discuss further? We try to keep the GitHub issues for bug reports and feature requests.
Closing this because it isn't a bug in Ipopt.
Please post on the forum and we can discuss more: https://discourse.julialang.org/c/domain/opt/13
When using the Ipopt to solve a nonlinear problem, I find the index
inf_du
is big always as following.As suggested in https://list.coin-or.org/pipermail/ipopt/2007-February/000700.html , I want to give the exact Hessian. However, I don't find the API of giving the hessian matrix in the JuMP directly. Thank you very much.