How to write x*log(1+y) in cvx?
Is that known to be a convex or concave function?
Also since convexity is dependent on how the term appears in the model there is no way we can answer that question.
You may want to take a look at
Thank you for the reply. Yes, x*log(1+y) is concave jointly in x and y. I tried to formulate it using rel_entr and entr but could not do it. Can you help me here?
This in indefinite, i.e., neither convex nor concave. For instance, at x = y = 1, its Hessian has one positive eigenvalue and one negative eigenvalue. Therefore, this can not be handled by CVX.
bro, what about -(rel_entr(x, 1+y) + entr(x)) ?
i am not sure.
The first term is convex, the second one is concave. CVX won’t accept their sum because of DCP rule.