Skip to content
This repository has been archived by the owner on Jun 1, 2023. It is now read-only.

costate from NLP solver #162

Open
SiyangMeng opened this issue Aug 13, 2021 · 0 comments
Open

costate from NLP solver #162

SiyangMeng opened this issue Aug 13, 2021 · 0 comments

Comments

@SiyangMeng
Copy link

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?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant