a is a constant. x is a scalar and x>0.

I try to divide it into a * exp(x) + exp(x) / x.

And for the second part exp(x)/x, I express it as:

z * inv_pos(x)

(x,1,z) == exponential(1)

however, cvx shows that:

Disciplined convex programming error:

Cannot perform the operation: {real affine} .* {convex}

Could you plz tell me how to express it? Thanks.