SDP,I want to know if my code is wrong,thanks

Uncategorized
Jun 6, 2020
L

cvx_begin sdp
variable lemada nonnegative
variable u nonnegative
variable tao
maximize(tao)
subject to

[c0-(lemada)*c1-tao b0’+(lemada)*b1’;b0+(lemada)*b1 A0+(lemada)*A1]>=0;

cvx_end

c

M

You are missing u all 4 elements. And have the wrong sign for the 2nd term of he (1,1) element.

And you are missing the 2nd SDP altogether.

L
Replying to #2

Thank you for your answer,Can you see if this is correct?

cvx_begin sdp
 variable lemada nonnegative
 variable u nonnegative
 variable tao
 maximize(tao)
    subject to
       [c0+(lemada+u)*c1-tao  b0'+(lemada+u)*b1';b0+(lemada+u)*b1 A0+(lemada+u)*A1]>=0;
        A0+lemada*A1>=0
cvx_end

It’s papers

M

That looks correct to me.

L

Thank you very much!