| Genetic Algorithm and Direct Search Toolbox | ![]() |
Pattern Search Terminology
This section explains some standard terminology for pattern search, including
Patterns
A pattern is a collection of vectors that the algorithm uses to determine which points to search at each iteration. For example, if there are two independent variables in the optimization problem, the default pattern consists of the following vectors.
The following figure shows these vectors.
Meshes
At each step, the pattern search algorithm searches a set of points, called a mesh, for a point that improves the objective function. The algorithm forms the mesh by
The algorithm multiplies the pattern vectors by 4 and adds them to the current point to obtain the following mesh.
[1.6 3.4] + 4*[1 0] = [5.6 3.4] [1.6 3.4] + 4*[0 1] = [1.6 7.4] [1.6 3.4] + 4*[-1 0] = [-2.4 3.4] [1.6 3.4] + 4*[0 -1] = [1.6 -0.6]
The pattern vector that produces a mesh point is called its direction.
| Plotting the Objective Function Values and Mesh Sizes | Polling | ![]() |
| © 1994-2009 The MathWorks, Inc. - Site Help - Patents - Trademarks - Privacy Policy - Preventing Piracy - RSS |