Here is a convex constraint:

I wrote this constraint as

`subject to for k = 1:K {[transpose(H(:,k)'*W); sqrt(sigma_2);H_zegond(:,k)'*W(:,k)],... real(norm([sqrt(1/SINR_target)*(H_prim(:,k)')*W(:,k);... (H(:,k)'*W(:,k))]))}... == complex_lorentz(K + 2); % SINR CONSTRAINT end`

and I get an error

Disciplined convex programming error: Invalid constraint: {convex} == {real affine}

please guide me to remove this error.

Note that Here W is Variable