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.
The getInitialGuess() does not reliably provide a feasible solution to my optimal control problem, and I would like to specify a feasible solution to my optimal control problem as the initial guess. I tried the following but get stuck when calling getInitialGuessWithUserData.m:
Create my Problem ocp
Get an initial guess: sol_ig=ocp.getInitialGuess();
General a feasible control and the corresponding paths of the states, and Initialize the InitialGuess in ocp by calling ocp.initialize(...)
General the feasible initial guess by: sol_igf = getInitialGuessWithUserData(sol_ig, ocp.stage, ocp.solver.collocationList{1})
It seems that there is a syntax error with the first argument of getInitialGuessWithUserData(). Any advice on this? Or are there examples to show how to specify a solution as the initial guess to my optimal control problem? Thanks!
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.
The getInitialGuess() does not reliably provide a feasible solution to my optimal control problem, and I would like to specify a feasible solution to my optimal control problem as the initial guess. I tried the following but get stuck when calling getInitialGuessWithUserData.m:
It seems that there is a syntax error with the first argument of getInitialGuessWithUserData(). Any advice on this? Or are there examples to show how to specify a solution as the initial guess to my optimal control problem? Thanks!
The text was updated successfully, but these errors were encountered: