I am trying to debug my code. After a couple of runs, matlab suddenly gives this error. It is said that “??? Reference to non-existent field ‘sol’.”. I am using Mosek solver now.
Simple problem can be solved. For example
cvx_begin
variable x;
minimize(x.^2);
subject to
x >=0; x<=1;
cvx_end