Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

changeInitialState in Dms does not work #216

Open
manuel1801 opened this issue Sep 23, 2022 · 0 comments
Open

changeInitialState in Dms does not work #216

manuel1801 opened this issue Sep 23, 2022 · 0 comments

Comments

@manuel1801
Copy link

It seems that some functions of the DmsSolver class don't work or at leas not how I expect it.
For example the function changeInitialState() which I wanna use to update the problem in order to use it in MPC fashon.
If I solve an Optimal Control Problem with the DmsSolver as described in the Tutorial: Classical, Constrained Direct Multiple Shooting for a Damped Oscillator, and then change the initial states via dmsSolver->changeInitialState(x_0_new); they don't get updated e.g. if I solve again still the old initial states are taken. The same problem occurs for changing constraints.
Does anyone has an Idea how to solve that problem?

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

No branches or pull requests

1 participant