Mosek error: MSK_RES_ERR_SPACE (Out of space.) Error using svd

51 views
Skip to first unread message

abdulsalam2009

unread,
Jul 13, 2019, 4:38:21 PM7/13/19
to YALMIP
I want to check the positivtity of two polynomials subjected to compact set constraint.
I get feasible solution with the 4th order polynomials. But when I increase the order of polynomlais to 5, I get an error it says,'' 


Mosek error: MSK_RES_ERR_SPACE (Out of space.)
{ Error using svd
Input to SVD must not contain NaN or Inf.

Error in extractsolution>numranks (line 108)
    [U{i},S{i},V{i}] = svd(moment{i});

Error in extractsolution (line 23)
[U,S,V,ranks] = numranks(moment);

Error in solvemoment (line 142)
    x_extract = extractsolution(momentsstructure,options);

Error in solvesdp (line 233)
    [diagnostic,x,momentdata] = solvemoment(F,h,options,options.moment.order);

Error in solvesos (line 137)
        sol =  solvesdp(F,obj,options);

Error in DSOS_11July_1 (line 171)
solvesos(F,[],ops,var);
}  

AbdulLog_3131609.log

Johan Löfberg

unread,
Jul 14, 2019, 2:01:36 AM7/14/19
to YALMIP
Well, exactly what it says. Using moment relaxation simply doesn't work as the model gets to big. Use sum-of-squares (exploits symmetries if there are any) or global optimization instead
Reply all
Reply to author
Forward
0 new messages