Hi everyone,

I have the following optimization problem

the variable of interest here is “p” with dimensions of (J*K). When I apply cvx, I get the following error

Error using cvx/rel_entr (line 71)

Disciplined convex programming error:

Illegal operation: rel_entr( {positive constant}, {convex} ).

I have searched in the forum and found that I need to rewrite my objective function in form of -log(concave function), if I got it correctly. So, now I am using

rel_entr(1, *\gamma* c *B/( *\gamma* c *B + \chi SINR))

but it seems it doesn’t work either since I am getting the following error

Error using .* (line 173)

Disciplined convex programming error:

Cannot perform the operation: {positive constant} ./ {convex}

Error in ./ (line 19)

z = times( x, y, ‘./’ );

Error in * (line 36)

z = feval( oper, x, y );

Error in / (line 15)

z = mtimes( x, y, ‘rdivide’ );

Any idea would be greatly appreciated.

Moreover, the constraint is in the form of log2(1 + ax). Is it acceptable for cvx since (1+ax) is not concave.

Thanks in advance