Substitute decision variable with a constant value

20 views
Skip to first unread message

robingizmo

unread,
Apr 11, 2017, 5:32:58 AM4/11/17
to YALMIP
Is it possible to fix a variable (x) to a constant value (x=1) in an LMI that was previously defined, such that the original LMI does not need to respecified. I.e. is het possible to change the entries of a previously defined LMI and specifically the decision variables, or should the LMI be explicitly restated?

Johan Löfberg

unread,
Apr 11, 2017, 5:37:57 AM4/11/17
to YALMIP
replace(myexpression,x,1)
Reply all
Reply to author
Forward
0 new messages