Hello, I am new CVX user. So I need help to solve my function. My objective function is (x/(1-x))
I try to solve in CVX software, but results show Disciplined convex programming error:
Cannot perform the operation: {real affine} .* {convex}
How to solve the problem. Please be advise and thanks in advance. Code below:
cvx_begin
cvx_expert true
cvx_precision best
variable x nonnegative
maximize x
subject to
0.1 <= x <= 1;
x.*inv_pos((1-x)) <= 10;
cvx_end