With a non-convex solver, such as available under YALMIP.
x*exp(-1/x)
is convex, so it can be minimized (using exponential cone constraint), but not maximized in CVX.
Please carefully read Why isn't CVX accepting my model? READ THIS FIRST! .
With a non-convex solver, such as available under YALMIP.
x*exp(-1/x)
is convex, so it can be minimized (using exponential cone constraint), but not maximized in CVX.
Please carefully read Why isn't CVX accepting my model? READ THIS FIRST! .