in this constraint,x and y are all variables.thanks.
How to write:log(1+1/x)<=y
log(1 + 1/x) = rel_entr(x,x+1) + rel_entr(x+1,x)
So
rel_entr(x,x+1) + rel_entr(x+1,x) <= y
There are other formulations, but in this form, it is ready to go with CVXQUAD.