symbolically show the constraints #1409
Unanswered
styw1234
asked this question in
General discussion
Replies: 1 comment 3 replies
-
Unclear what you are talking about as you haven't defined any constraint, you've simply done an assignment. If you sdisplay(y) it will show 2x(1)+2x(2) as expected |
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
x=sdpvar(1,2)
y=2*sum(x)
As is known to all, we can use 'sdisplay' to symbolically show the unknown variable y with 'y=2*(x(1)+x(2))'
Then how to symbolically show the constraints?
Beta Was this translation helpful? Give feedback.
All reactions