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.

fminimaxRelLineSrchBndDurationTolConNumber of iterations for which thebound specified in RelLineSrchBndshould be active (default is 1).Termination tolerance on the constraintviolation.TolFunTermination tolerance on the functionvalue.TolX Termination tolerance on x.ExamplesFind values of x that minimize the maximum value ofwhereFirst, write an M-file that computes the five functions at x.function f = myfun(x)f(1)= 2*x(1)^2+x(2)^2-48*x(1)-40*x(2)+304;f(2)= -x(1)^2 - 3*x(2)^2;f(3)= x(1) + 3*x(2) -18;f(4)= -x(1)- x(2);f(5)= x(1) + x(2) - 8;% ObjectivesNext, invoke an optimization routine.8-64

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

Saved successfully!

Ooh no, something went wrong!