Dear Johan Löfberg,
I came accross the following problem:
applying bisection method on an SDP problem, there is a value of the variable, which caused error in the Mosek solver (MSK_RES_ERR_NO_DUAL_INFEAS_CER (A certificate of dual infeasibility is not available.))
In this case if it is used with optimizer struct, YALMIP crashes with:
Reference to non-existent field 'sol'.
Error in callmosek>call_mosek_lpqpsocpsdpdual (line 189)
D_struc = [res.sol.itr.xx];
Error in callmosek>call_mosek_lpqpsocpsdp (line 80)
[x,D_struc,problem,r,res,solvertime,prob] = call_mosek_lpqpsocpsdpdual(model);
Error in callmosek (line 50)
[x,D_struc,problem,r,res,solvertime,prob] = call_mosek_lpqpsocpsdp(model);
Error in optimizer/subsref (line 111)
eval(['output = ' self.model.solver.call '(self.model);']);
If I use replace + solvesdp functions, they returns with "Unknown problem in solver (try using 'debug'-flag in sdpsettings)" errorcode without crash.
I think this may be a bug.
Best regards,
József Kuti (PhD Student)
Ps1 A script and the datas are attached to display the problem. (I used matlab R2014b, MOSEK 7.1.0.15., YALMIP R20150204)
Ps2 This new YALMIP relase displays the old version number.