When SparsePOP is set as solver through the function 'sdpsettings' and I try to solve an optimization problem through the function 'solvemoment', the Matlab script always crash with the following error message
Error using sdpsettings (line 272)
Unrecognized property name 'relaxLevel'.
Error in solvemoment (line 64)
sol = solvesdp(F,obj,sdpsettings(options,'relaxLevel',k));
The issue is always reproducible, for instance the following code will generate the error:
x = sdpvar(1);
C = [x^2<=0.4];
P = exp(x)-sin(x);
ops = sdpsettings('solver','sparsepop');
[sol] = solvemoment(C,P,ops,2)
I am using the latest versions of Yalmip (R20141030) and the latest version of SparsePOP (v.300)
Is it a bug of Yalmip, a bug of SparsePOP or an error in my code?
Thanks