NaN——Status: Infeasible Optimal value (cvx-optval): - Inf

Hello, I also encountered that during the optimization process, the optimization objective changed to NaN,
Status: Infeasible
Optimal value (cvx-optval): - Inf
When I saw the explanation for “Debugging infeasible models” at the end, I understood its meaning that it may display a failure every time the final constraint is run, but he didn’t continue to say it later, only said: “Hence.”, we have reduced the model to a much smaller model which we now must analyze in greater detail to understand why it is infeasible.
I would like to ask, how did I solve it next
I carry the results of each iteration into the next iteration, and sometimes when NaN appears, I don’t feel like I think the order of magnitude is too small and treat it as 0.
My version is cvx 2.2, mosek9. x

Unsafeguarded SCA can be very unreliable.

1 Like

Thank you very much for your reply. I will continue to revise my code