I have a matlab snippet that uses cvx . but running, the system crashes
cvx_begin
variable t
variable theta
minimize(square(t)*inv_pos(1 - theta));
subject to
0 < theta < 1;
t >= 0;
cvx_end
this is the error
I have a matlab snippet that uses cvx . but running, the system crashes
cvx_begin
variable t
variable theta
minimize(square(t)*inv_pos(1 - theta));
subject to
0 < theta < 1;
t >= 0;
cvx_end
this is the error
You should be using quad_over_lin
.