Skip to content

changeInitialState in Dms does not work #216

@manuel1801

Description

@manuel1801

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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions