How to handel log convex

Uncategorized
Apr 11, 2021
S

Hello everyone!

How can I write log(1+(1+x)^2) in CVX?

Thanks!

E

does not seem neither convex nor concave. See

S
Replying to #2

Thanks for your reply!

However, I have the following constraint : 0<=x<=1.
According to the MATLAB plot, this function is nearly concave in this interval!

So, this constraint can make my main optimization problem convex or not?

image

E
Replying to #3

It seems it is very hard to use cvx unless the function is convex on its natural domain.
It seems pretty linear so maybe you can just an linear approximation.

S
Replying to #4

Thanks!

I will approximate the objective function in that interval.