14.01.2013 Views

Global Optimization Toolbox User's Guide - MathWorks

Global Optimization Toolbox User's Guide - MathWorks

Global Optimization Toolbox User's Guide - MathWorks

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.

Examine Results<br />

In this section...<br />

“Single Solution” on page 3-23<br />

“Multiple Solutions” on page 3-24<br />

“Iterative Display” on page 3-28<br />

“<strong>Global</strong> Output Structures” on page 3-31<br />

“Example: Visualizing the Basins of Attraction” on page 3-32<br />

“Output Functions for <strong>Global</strong>Search and MultiStart” on page 3-35<br />

“Plot Functions for <strong>Global</strong>Search and MultiStart” on page 3-39<br />

Single Solution<br />

You obtain the single best solution found during the run by calling run with<br />

the syntax<br />

[x fval eflag output] = run(...);<br />

x is the location of the local minimum with smallest objective function<br />

value.<br />

fval is the objective function value evaluated at x.<br />

eflag is an exit flag for the global solver. Values:<br />

<strong>Global</strong> Solver Exit Flags<br />

2 At least one local minimum found. Some runs of the local solver<br />

converged (had positive exit flag).<br />

1 At least one local minimum found. All runs of the local solver<br />

converged (had positive exit flag).<br />

0 No local minimum found. Local solver called at least once, and<br />

at least one local solver exceeded the MaxIter or MaxFunEvals<br />

tolerances.<br />

-1 Solver stopped by output function or plot function.<br />

Examine Results<br />

3-23

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

Saved successfully!

Ooh no, something went wrong!