Hi everyone,

I have the term x*log(1+ c*y/x) in my optimization problem where x and y are variables and c is constant. when I formulate it as -rel_entr(x, x+ c*y) in cvx, it works well, but when i run cvx in gp mode, I get the following error

Disciplined convex programming error:

Illegal operation: rel_entr( {log-affine}, {log-convex} ).

Could you help me to handle this error?

Thanks in advance