Disciplined convex programming error: Illegal operation: {invalid} + {convex}
Look at the values of all the input data in the offending statement. If there is an NaN, CVX will deem that “invalid”.
If that input data arises from th e solution to a previous optimization problem, perhaps that problem was not solved, and one or more of the variables was therefore assigned NaN.
