CVX sum(cvx_status == 'Solved') with error

Uncategorized
Mar 12, 2024
K

what dose this mean? and how to avoid this error? Thank you.

M

I don’t see why sum(cvx_status == 'solved') makes any sense. however, i don’t see why it should produce an error message. CVX populated cvx_status with solved, so CVX’s role is complete, and from then on, any further processing of it is just MATLAB.

K
Replying to #2

well, it makes no sense, just want to know how many ‘solved’ status have done :grinning: