I need to minimize alpha in using quadprog in matlab
1/2*alpha.'*H*alpha+(-1.')*alpha
subject to: y.'alpha=0 and 0<=alpha<=inf
I have made the matrix H
for a=1:8
for b=1:8
H(a,b)=y(a)*y(b)*dot((x(a)).',x(b));
end
end
but I am unsure have to make the constraints