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.

6 Argument and Options ReferenceCorresponding Output Arguments. Some of the fields of optimValuescorrespond to output arguments of the optimization function. After the finaliteration of the optimization algorithm, the value of such a field equalsthe corresponding output argument. For example, optimValues.fvalcorresponds to the output argument fval. So,ifyoucallfmincon with anoutput function and return fval, the final value of optimValues.fval equalsfval. The Description column of the following table indicates the fields thathave a corresponding output argument.Command-Line Display. ThevaluesofsomefieldsofoptimValues aredisplayed at the command line when you call the optimization function withthe Display field of options set to 'iter', as described in “DisplayingIterative Output” on page 2-81. For example, optimValues.fval is displayedin the f(x) column. The Command-Line Display column of the following tableindicates the fields that you can display at the command line.In the following table, L, M, and B indicate:• L — Function returns a value to the field when using a large-scalealgorithm.• M — Function returns a value to the field when using a medium-scalealgorithm.• B — Function returns a value to the field when using both large- andmedium-scale algorithms.6-18

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

Saved successfully!

Ooh no, something went wrong!