View Single Post
  #28  
Old 02-22-2013, 07:54 PM
melipone melipone is offline
Senior Member
 
Join Date: Jan 2013
Posts: 72
Default Re: Quadratic programming

Quote:
Originally Posted by jakvas View Post
@invis

for the 100 points problem 400 iterations may be too little (i used 2000 iterations in my matlab code and in ~2% of the cases even that limit was exceeded but that still gives a decent accuracy you could use even more but don't go too far or you will never get results) also for the upper bound I used 10^5 and 10^10 without any significant change in results, 10^22 seems a bit much considering you are probably using single precision numbers
How do you specify the number of iterations in Octave's qp? I tried
options=optimset('MaxIter',1000);
[alphas]=qp([],H,Q,A,B.LB,UB,[],[],[],options) but got an error.

TIA
Reply With Quote