View Single Post
  #11  
Old 08-24-2012, 06:19 AM
jakvas jakvas is offline
Member
 
Join Date: Jul 2012
Posts: 17
Default Re: Quadratic programming

as for the matlab this worked for me

UB(1:N,1)=10^5;
options = optimset('LargeScale','off','MaxIter',2000);
alpha=quadprog(Q,f,[],[],Class,0,zeros(N,1),UB,[],options);

oh and for clarification Class is the +1/-1 classification of the points and the empty matricies are unused restrictions I hope this helps a little and isn't frowned upon from the collaboration point of view after all you know what you are doing;P
Reply With Quote