I am trying to solve a semidefinite programming problem. Invalid constraint: {convex} >= {convex} , CVX is giving me this error. kindly help me
code is given as:
gamma=1;
sigma=1;
cvx_begin sdp
variable V(1+2Nl,1+2Nl) complex semidefinite
find(real(abs(V)))
subject to
sum=0;
j=1;
for i=1:I
for q=1:Q
new_val= real(abs(trace(A_N_copy(:,:,j)*V) +b(:,i,q)*b(:,i,q)'));
sum = sum + new_val;
j=j+1;
end
end
sum1=0;
j=1;
for i=1:I
for q=1:Q
new_val1= real(abs(trace(A_N_copy1(:,:,j)*V) +b1(:,i,q)*b1(:,i,q)'));
%new_val1= abs(new_val1);
sum1 = sum1 + new_val1;
j=j+1;
end
end
sum >= real(t)*(sigma+sum1);
for k=1:1+2Nl
real((V(k,k)))<=1;
end
V == semidefinite(1+2Nl);
cvx_end