Conditional summation in GP problem

Hi all,

I have a problem expressing the following geometric program problem, basically my problem is the interference part where i should evaluate a summation (where j !=k). I’m confused how i can write it within the body of cvx problem (after cvx_begin gp). I use SDPT3 solver.

I used (sum - beta*p(k)) as a work around but cvx gave me the following error

Thanks in advance.

the problem:

the code:

the error:

Geometric programs must obey a set of rules similar to what CVX requires for disciplined convex programs. This problem does not satisfy these rules, so CVX cannot solve it.

1 Like