Elaborating on @jackfsuia 's answer, if one iteration of CVX fails due to being infeasible or solver numerical difficulty, the variable values are populated with NaN
, which are then fed in as input data to the next iteration. CVX considers NaN
input data to be invalid
, hence the error message.
You should ask not what is wrong with CVX, but what is wrong with crude, unsafeguarded SCA.