x = sdpvar(2,1);
Constraints = [sum(x) <= 1, x(1)==0, x(2) >= 0.5];
Objective = x'*x;
options = sdpsettings('verbose',1,'solver','cplex','cplex.qpmethod',1);
sol = solvesdp(Constraints,Objective,options);
if sol.problem == 0
solution = double(x);
else
display('Hmm, something went wrong!');
yalmiperror(sol.problem)
end
I am a beginner, I start with the basics.,but the matlab say"Error using ==> sdpsettings at 1682 Unrecognized property name 'cplex.qpmethod'. ",how to deal with it!thank you.