Solutions of dynamic optimization problems
Source:R/dynamic-opt-collocation.R
DynamicOptSolution.RdDynamicOptSolution(model, sol, input_sol) holds the result of
solve() on a DynamicOptProblem(): model describes the solved
nonlinear program (objective value, constraint violation, iterations,
optimized parameters and final time), sol is an ODESolution of the
states on the collocation grid (index it with variables, sol$sol[x]; its
retcode reports convergence), and input_sol an ODESolution of the
inputs (or NULL without inputs).