12.07.2015 Views

What Is Optimization Toolbox?

What Is Optimization Toolbox?

What Is Optimization Toolbox?

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

quadprogNext, invoke a quadratic programming routine.[x,fval,exitflag,output,lambda] = ...quadprog(H,f,A,b,[],[],lb)This generates the solutionx =0.66671.3333fval =-8.2222exitflag =1output =iterations: 3algorithm: 'medium-scale: active-set'firstorderopt: []cgiterations: []lambda.ineqlinans =3.11110.44440lambda.lowerans =00Nonzero elements of the vectors in the fields of lambda indicate activeconstraints at the solution. In this case, the first and second inequalityconstraints (in lambda.ineqlin) are active constraints (i.e., the solutionis on their constraint boundaries). For this problem, all the lowerbounds are inactive.8-198

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!