I have a constraint as follows
for b=1:B
for a=1:A
norm(w)<=Q(a,b)*sqrt(p1);
norm(w)>=Q(a,b)*sqrt(p2);
end
end
Here, w is a complex vector. Q is a binary variable and is declared as
variable Q(A,B) binary
The error is
Invalid constraint: {convex} >= {real affine}
Is there a way to overcome this?