12.07.2015 Views

What Is Optimization Toolbox?

What Is Optimization Toolbox?

What Is Optimization Toolbox?

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

2 TutorialNorm of First-orderIteration f(x) step optimality CG-iterations1 1997.07 1 555 02 1072.56 6.31716 377 13 480.232 8.19554 159 24 136.861 10.3015 59.5 25 44.3708 9.04697 16.3 26 44.3708 100 16.3 27 44.3708 25 16.3 08 -8.90967 6.25 28.5 09 -318.486 12.5 107 110 -318.486 12.5 107 111 -415.445 3.125 73.9 012 -561.688 3.125 47.4 213 -785.326 6.25 126 314 -785.326 4.30584 126 515 -804.414 1.07646 26.9 016 -822.399 2.16965 2.8 317 -823.173 0.40754 1.34 318 -823.241 0.154885 0.555 319 -823.246 0.0518407 0.214 520 -823.246 0.00977601 0.00724 6<strong>Optimization</strong> terminated successfully:Relative function value changing by less than OPTIONS.TolFunConvergence is rapid for a problem of this size with the PCG iteration costincreasing modestly as the optimization progresses. Feasibility of the equalityconstraints is maintained at the solutionnorm(Aeq*x-beq)ans =1.9854e-013PreconditioningIn this example, fmincon cannot use H to compute a preconditioner because Honly exists implicitly. Instead of H, fmincon uses Hinfo, the third argumentreturned by brownvv, to compute a preconditioner. Hinfo is a good choicebecause it is the same size as H and approximates H to some degree. If Hinfo2-64

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

Saved successfully!

Ooh no, something went wrong!