Dear,
I'm new to CasADi but I think it is great! I made a NMPC controller using IPOPT interface in CasADi (MATLAB) and it works great! Only now I was wondering if I could get the gradient value out of the IPOPT solver. The standard output of the solver is:
- sol.f --> objective function value
- sol.g (gradient???- or constraint value?)
- sol.lam_g (??, maybe Lagrange multipliers?)
- sol.lam_p (??, maybe Lagrange multipliers?)
- sol.lam_x (??, maybe Lagrange multipliers?)
- sol.x --> output of decision variables
Could somebody maybe clear this up please? I could not find it in the manual.
Also, if sol.g is not the gradient, is there a way to extract this from IPOPT?
Thanks in advance,
RFTV