Hello everyone,

I am working on optimization of a function of (variable h) i.e,

max f(h)=log ( h^2 + a^2 ) * ( a + 2 sqrt (h^2+a^2) ) ,

where a and h both are non negative.

Also ‘(h^2 + a^2)’ is convex inside the log function and ‘sqrt (h^2+a^2)’ is also convex.

I also proved that the second derivative of this function ‘f(h)’ itself is positive. Therefore I wanted to write it in CVX but it is giving me an error 'invalid log(convex ) ’ function. Please guide me if there is a way to write it in cvx.