You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jun 1, 2023. It is now read-only.
in CasADi from solver nlpsol, I could get adjoint variable lam_x if my nolinear programming variables are x' and lagrangian lam_g if the nonlinear constraints are g(x). But I can't find whether there is costate variable if I get optimal control solution, in ocl.Problem there are only children struct states, integrator, controls, parameters, h. so I ask if there is an approach to get costate variable calculated by CasADi?
The text was updated successfully, but these errors were encountered:
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
in CasADi from solver
nlpsol
, I could get adjoint variablelam_x
if my nolinear programming variables arex'
and lagrangianlam_g
if the nonlinear constraints areg(x)
. But I can't find whether there is costate variable if I get optimal control solution, inocl.Problem
there are only children structstates, integrator, controls, parameters, h
. so I ask if there is an approach to get costate variable calculated by CasADi?The text was updated successfully, but these errors were encountered: