Cannot perform the operation: {real affine} ./ {real affine}

The error is occurring in the constraint
log(1+p(1)*norm(h(1))^2/(1+Interference(1))) >= R_min
because Interference(1) is (equal to) p(1)
This constraint is convex because the LHS is conccave in p(1).

You ought to be able to use the approach, modified to handle the norm(h(1))^2 multiplying p(1). in @Michal_Adamaszek’s answer in Can CVX solve this kind of function {x-log(1+x/(x+1))} which will be DCP-compliant, and hence accepted by CVX.

The constraint
log(1+p(2)*norm(h(2))^2/(1+Interference(2))) >= R_min
is o.k. as is because Interference(2) = 0.

However, the MAC constraints violate the DCP rules, and will be rejected by CVX. Why isn't CVX accepting my model? READ THIS FIRST! . The 2nd of these MAC constraint trivially holds, and so can be eliminated.

However, the first MAC constraint is non-convex; if the constraint is formulated as LHS - RHS <= 0, then LHS -RHS has 2nd derivative with respect to p(1) being either positive or negative for various values of p(1) >= 0; therefore it is non-convex I haven’t checked the convexity of the 3rd of the MAC constraints.

1 Like