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.

fseminfThe vectors or matrices K1, K2, ..., Kntheta contain the semi-infiniteconstraints evaluated for a sampled set of values for the independent variablesw1, w2, ... wntheta, respectively. The two-column matrix, S, containsarecommended sampling interval for values of w1, w2, ..., wntheta, whichareusedtoevaluateK1, K2, ..., Kntheta. The ith row of S contains therecommended sampling interval for evaluating Ki. WhenKi is a vector, useonly S(i,1) (the second column can be all zeros). When Ki is a matrix, S(i,2)is used for the sampling of the rows in Ki, S(i,1) is used for the samplinginterval of the columns of Ki (see “Two-Dimensional Example” on page 8-103).On the first iteration S is NaN, so that some initial sampling interval mustbe determined by seminfcon.Note Because the functions in <strong>Optimization</strong> <strong>Toolbox</strong> only accept inputs oftype double, user-supplied objective and nonlinear constraint functions mustreturn outputs of type double.“Avoiding Global Variables via Anonymous and Nested Functions” on page2-20 explains how to parameterize seminfcon, if necessary.OutputArguments“Function Arguments” on page 6-2 contains general descriptions ofarguments returnedbyfseminf. This section provides function-specificdetails for exitflag, lambda, andoutput:exitflagInteger identifying the reason the algorithmterminated. The following lists the values ofexitflag and the corresponding reasons thealgorithm terminated.1 Function converged to a solution x.4 Magnitude of the search directionwaslessthanthespecifiedtoleranceand constraint violation was less thanoptions.TolCon.8-96

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

Saved successfully!

Ooh no, something went wrong!