How to write the f(x)=log(1+1/x) with x>0 in cvx form

Sorry, may be you can tell me directly. For exapmple, xlog(x/y) can be written as real_entr(x,y)

- I do not know the answer to your question.
- I know what I suggest is possible to do in cvx, so maybe reading the documentation can help you.
- I know this case has been discussed before so maybe if you search in previous answers you will find a solution.
- Maybe somebody else knows the answer and will post it.

`log(1 + 1/x) = rel_entr(x,x+1) + rel_entr(x+1,x)`

is one of the reformulations which works in CVX.

Thanks a lot for your reply