CVX xlog(1+y/x)

Dear everyone,I have a concave problem which objective function cantains the form like x*log(1+y/x)。 x and y are variables.Inputting this form directly will cause an error. How can I solve this problem?

Reformulate as
-rel_entr(x,x+y)

1 Like

Dear Mark where to find all these commands like, -rel_entr(x,x+y) , as mentioned here. Where is the documentation for all these special commands.

http://cvxr.com/cvx/doc/funcref.html#sets

At

we show how to convert them to conic form. That might be useful to.

1 Like