Write constraints of exponential form


(John) #1

Hi all,
I want to write (e^x -1 ) / y <= z, Anyone can help me with this please?
x>0 & y>0
Thanks alot


(Mark L. Stone) #2

This is not convex, even when x > 0 and y > 0. For instance, the Hessian of (exp(x)-1)/y is indefinite at x = 0.5, y = 1, having eigenvalues of -0.18496846 and 3.1311323.