Disciplined convex programming error: Invalid numeric values (NaNs) may not be used in CVX expressions.

This means that one or more input data values is NaN. So look at the input data values and find the offending data.

Are you using an iterative process in which one or more optimal variable values from a CVX problem are used to generate the input data for the next CXV problem? If so, if a problem is not solved to optimality (for example, infeasible, unbounded, or solver encounters numeric difficulties), CVX will populate the variable values as NaN, which could then result in NaN in the input data for the next CVX problem. You need to look at the solution status, and perhaps also be aware of the possibility of wilder and wilder solotuons eventually leading to CVX problem failure for some reason.

Related: See