Status: Unbounded Optimal value (cvx_optval): -Inf in my cvx code

my code is:
lamda1=0.077;
lamda2=0.077;
w=0.3;
f1=lamda1+w;
f2=lamda2+w;
cvx_begin
variables r1 r2 rou1 rou2
minimize(-lamda1r1-lamda2r2-f1rou1-f2rou2+ log(1+exp(rou2+r2)+exp(rou1+r1)+exp(rou1+rou2+r1)+exp(rou1+rou2+r2)) )
cvx_end

the result is
Status: Unbounded
Optimal value (cvx_optval): -Inf

why this results? how can I solve it ?

The solver tells you objective value is minus infinity. Do you have any reason for that cannot be true?

1 Like

thank you for your reply , thats true its is infinity, but why the status un bounded?? what is mean?

Unbounded means the optimal objective value is minus infinity. This is normally considered a mistake.

1 Like

you can check the gradient or derivative of function, maybe it is monotonous.