costates
Costates, also known as adjoint variables or co-states, are auxiliary variables used in optimal control theory to quantify how the optimal value of a performance criterion changes with respect to the state of the system. They accompany the state variables and form part of the necessary conditions for optimality.
In a standard finite-horizon problem, consider a dynamical system ẋ = f(x,u,t) and a cost functional J =
Interpretation and properties: the costate λ(t) represents the sensitivity of the optimal cost-to-go to small changes
Computationally, costates are found alongside the state trajectory by solving the Hamiltonian system, often using shooting