Hi,

I would like to find the optimum value of x that maximizes the following function using the CVX if possible.

F(x)= \left(1-\frac{x}{z}\right) \log_{2} \left(1+m(x)\right),

where m(x) is given as

m(x)= \frac{2x \sqrt{n^{2}+2n(r C-x)+(r C+x)^{2}}}{n^{2}+x\Big(r C+x-\sqrt{(n+r C)^{2}-2x(n-r C)+x^{2}} \Big)+n \Big(r C-2x+\sqrt{(n+r C)^{2}-2x(n-r C)+x^{2}}\Big)} \cdot

where x \leq C , n,z are fixed integers >0, r\in(0,1).

Thank you very much in advance.