If I try to solve the following easy example with qpOASES
w = sdpvar(2,1);
cost = w(1)*w(1)+w(2)*w(2);
constr = (-2 <= w <= 2);
options = sdpsettings('solver', 'qpoases','verbose',2,'debug',1);
solvesdp(constr, cost, options):
it gives the following error:
__________________________________________
Error using qpOASES
ERROR (qpOASES): Vector argument 6 must not be in sparse format!
Error in callqpoases>callsolver (line 62)
[x,fval,exitflag,iter,lambda] = qpOASES(model.Q, model.c, A,
model.lb,model.ub,lbA,ubA,options.qpoases);
Error in callqpoases (line 12)
solution = callsolver(model,options);
Error in solvesdp (line 335)
eval(['output = ' solver.call '(interfacedata);']);
Error in qpoases_test (line 11)
solvesdp(constr, cost, options)
___________________________________________
Does it have something to do with MATLAB sparse matrices?
I'm running the latest YALMIP version.