Skip to content
Discussion options

You must be logged in to vote

If this is the forward pass then every calculated xnext value has to be the x value in the next forward function call. However for me, the x values are different than the previous xnext values

This is the algorithm, which is a multiple-shooting algorithm. The value of xnext doesn't have to be the value of x at the next timestep's function call, only at convergence (within a given feasibility tolerance). This behaviour depends on the rollout type and the initial inverse penalty parameter mu_init. If you set to a nonlinear rollout with a lower mu_init, the states will be dynamically consistent quicker (at the cost of perhaps higher, um, cost, at algorithm convergence).

The second strange…

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Answer selected by tomekatat
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants