Log convex error

Nonconvex
Jul 13, 2021
S

Hello,

My objective function is log2(x^2+1+x) which is a quasiconvex function. How can I write this objective in CVX? I get Disciplined convex programming error: Illegal operation: log( {convex} ).

Thanks!

M

It’s neither convex nor concave over the entirety of its natural domain. So I think you’re out of luck with CVX. But if someone knows better, let them post.

S
Replying to #2

Hello Mark,

Thanks for you reply. It is true that this function is neither convex nor concave. But it is a quasi convex function!.

E
Replying to #3

But it is not good enough that it is quasi convex. It must be convex if you want to use cvx.

S
Replying to #4

Oh! Thank you, Erling.