Skip to content

FTOCP function #1

@tuanpfiev

Description

@tuanpfiev

Hi Urosolia,
I am running the program and get this error:

=======================================
Time step: 1, Iteration: 2
Error using * (line 49)
Multiplying NaN with an SDPVAR makes no sense.

Error in FTOCP (line 55)
Cost = Cost + Qfun*lambda;

Error in LMPC (line 17)
[xPred, uPred ] = FTOCP(x_LMPC(:,t), N, Q, R, Qfun, SS, A, B, X, U);

Error in main (line 32)
[ x_LMPC, u_LMPC, SS, Qfunction, IterationCost] = LMPC(x0, SS, Qfun, A, B, Q, R, ...

=======================================

Could you please help me resolve this issue?
Thank you in advance.
Tuan

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions