[MPCTools] How to use getCasadiDAE.m to add algebraic constraints?

71 views
Skip to first unread message

Caesar Chen

unread,
Apr 5, 2023, 12:32:55 AM4/5/23
to CasADi
Hello,

I am trying to add a constraint to the state [x1, x2] and the control input [u1, u2], like

x1+u1=c1,
x2+u2=c2

where c1 and c2 are fixed constants. I am wondering if any examples show how to use getCasadiDAE.m to make this constraint work.

Regards and thanks,
Caesar
Reply all
Reply to author
Forward
0 new messages