12.07.2015 Views

What Is Optimization Toolbox?

What Is Optimization Toolbox?

What Is Optimization Toolbox?

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

2 TutorialDefault Options Settings• “Introduction” on page 2-78• “Changing the Default Settings” on page 2-78IntroductionThe options structure contains options used in the optimization routines.If,onthefirstcalltoanoptimizationroutine,theoptions structure is notprovided, or is empty, a set of default options is generated. Some of the defaultoptions values are calculated using factors based on problem size, such asMaxFunEvals. Some options are dependent on the specific optimizationroutines and are documented on those function reference pages (See “MainAlgorithm” on page 4-15).“<strong>Optimization</strong> Options” on page 6-8 provides an overview of all the options inthe options structure.Changing the Default SettingsThe function optimset creates or updates an options structure to passto the various optimization functions. The arguments to the optimsetfunction are option name and option value pairs, such as TolX and 1e-4. Anyunspecified properties have default values. You need to type only enoughleading characters to define the option name uniquely. Case is ignored foroption names. For option values that are strings, however, case and the exactstring are necessary.help optimset provides information that defines the different options anddescribes how to use them.Herearesomeexamplesoftheuseofoptimset.Returning All Optionsoptimset returns all the options that can be set with typical values anddefault values.2-78

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

Saved successfully!

Ooh no, something went wrong!