| Genetic Algorithm and Direct Search Toolbox | ![]() |
Plotting the Objective Function Values and Mesh Sizes
To see the performance of the pattern search, you can display plots of the best function value and mesh size at each iteration. First, select the following check boxes in the Plots pane:
Then click Start to run the pattern search. This displays the following plots.
The upper plot shows the objective function value of the best point at each iteration. Typically, the objective function values improve rapidly at the early iterations and then level off as they approach the optimal value.
The lower plot shows the mesh size at each iteration. The mesh size increases after each successful iteration and decreases after each unsuccessful one, explained in How Pattern Search Works.
| Finding the Minimum of the Function | Pattern Search Terminology | ![]() |
| © 1994-2009 The MathWorks, Inc. - Site Help - Patents - Trademarks - Privacy Policy - Preventing Piracy - RSS |