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 TutorialThe example produces the following output:Norm of First-order Trust-regionIteration Func-count f(x) step optimality radius0 65 4281.92 615 11 130 1546.86 1 329 12 195 112.552 2.5 34.8 2.53 260 106.24 6.25 34.1 6.254 261 106.24 6.25 34.1 6.255 326 51.3854 1.5625 6.39 1.566 327 51.3854 3.90625 6.39 3.917 392 43.8722 0.976562 2.19 0.9778 457 37.0713 2.44141 6.27 2.449 458 37.0713 2.44141 6.27 2.4410 523 26.2485 0.610352 1.52 0.6111 588 20.6649 1.52588 4.63 1.5312 653 17.2558 1.52588 6.97 1.5313 718 8.48582 1.52588 4.69 1.5314 783 4.08398 1.52588 3.77 1.5315 848 1.77589 1.52588 3.56 1.5316 913 0.692381 1.52588 3.31 1.5317 978 0.109777 1.16206 1.66 1.5318 1043 0 0.0468565 0 1.53<strong>Optimization</strong> terminated successfully:First-order optimality is less than options.TolFunThe finite-difference version of this example requires the same number ofiterations to converge as the analytic Jacobian version in the precedingexample. It is generally the case that both versions converge at about the samerate in terms of iterations. However, the finite-difference version requiresmany additional function evaluations. The cost of these extra evaluationsmight or might not be significant, depending on the particular problem.Multiobjective ExamplesThe previous examples involved problems with a single objective function.This section shows how to solve problems with multiobjective functions usinglsqnonlin, fminimax, andfgoalattain. The first two examples show how tooptimize parameters in a Simulink model.2-26

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

Saved successfully!

Ooh no, something went wrong!