My L_new, linear_coeff, and constant_term are all 1×3 vectors. Why am I encountering this error in CVX, and how can I fix it?
NaN
in the input data is considered by CVX to be invalid. So apparently linear_coeff
has at least one element which is NaN
.