Why I use v = sdpvar(n,n,'symmetric') in yalmip but get a non-symmetric solution? #1189
Replies: 1 comment 4 replies
-
Looks symmetric to me, so not clear what you are talking about. Symmetric is default, so no reason to use the 'symmetric' flag |
Beta Was this translation helpful? Give feedback.
4 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Dear all,
I define variables v = sdpvar(n,n) in the yalmip,
Constraints = [v(2,2)+v(4,1)*2^n==1;v(1,1)==v(2,2)+v(4,1);v>=0];
My solution just gives me
But I hope I can get
How can I define a variable like this? Does the matrix have a name? I know I can add more constraints, but I don't want to do that.
Beta Was this translation helpful? Give feedback.
All reactions