I have a question about this.
This is the expression of the objective function，the error is at L2，tV(n) is variable.
for n = 1:N
f(n) = 0;
P_n(n) = gamma*P(n);
numerator = P_n(n)*(uV(n)-u(n));
denominator = log(2)*(u(n)^2+P_n(n)*u(n));
L1 = numerator/denominator;
L2 = tV(n)*pow_p((tV(n)+P_n(n)),-1);
f(n) = f(n)-L1-(rel_entr(1,L2));
Actually,the third term of f(n) is log(1+Pn/tV(n)).If expressed directly, there will be a log(convex) error.
So I chose the above expression method, but there is a mistake of affine.*convex.
I really appreciate it if you could help me with this question!thank you!
First,thank you for your reply!
This is a proved convex optimization problem after transformation. The problem we have now is that the expression does not know how to conform to CVX rules.Or maybe there are some built-in functions that I don’t know very well for this expression.