Monday, February 1, 2010

Powell's Method

The essence of Powell's method is to add two steps to the process described in the preceding paragraph. The vector [Graphics:Images/PowellMethodMod_gr_40.gif] represents, in some sense, the average direction moved over the n intermediate steps [Graphics:Images/PowellMethodMod_gr_41.gif] in an iteration. Thus the point [Graphics:Images/PowellMethodMod_gr_42.gif] is determined to be the point at which the minimum of the function f occurs along the vector [Graphics:Images/PowellMethodMod_gr_43.gif]. As before, f is a function of one variable along this vector and the minimization could be accomplished with an application of the golden ratio or Fibonacci searches. Finally, since the vector [Graphics:Images/PowellMethodMod_gr_44.gif] was such a good direction, it replaces one of the direction vectors for the next iteration. The iteration is then repeated using the new set of direction vectors to generate a sequence of points [Graphics:Images/PowellMethodMod_gr_45.gif]. In one step of the iteration instead of a zig-zag path the iteration follows a "dog-leg" path. The process is outlined below.
Let [Graphics:Images/PowellMethodMod_gr_46.gif] be an initial guess at the location of the minimum of the function

Let [Graphics:Images/PowellMethodMod_gr_48.gif] for [Graphics:Images/PowellMethodMod_gr_49.gif] be the set of standard base vectors.
Initialize the vectors [Graphics:Images/PowellMethodMod_gr_50.gif] for [Graphics:Images/PowellMethodMod_gr_51.gif] and use their transpose [Graphics:Images/PowellMethodMod_gr_52.gif] to form the columns of the matrix U as follows:


Initialize the counter [Graphics:Images/PowellMethodMod_gr_54.gif].

(i) Set [Graphics:Images/PowellMethodMod_gr_55.gif].

(ii) For [Graphics:Images/PowellMethodMod_gr_56.gif],
find the value of
[Graphics:Images/PowellMethodMod_gr_57.gif] that minimizes [Graphics:Images/PowellMethodMod_gr_58.gif],
and set

(iii) Set [Graphics:Images/PowellMethodMod_gr_60.gif] for [Graphics:Images/PowellMethodMod_gr_61.gif] and

(iv) Increment the counter [Graphics:Images/PowellMethodMod_gr_63.gif].

(v) Find the value of [Graphics:Images/PowellMethodMod_gr_64.gif] that minimizes [Graphics:Images/PowellMethodMod_gr_65.gif],
and set [Graphics:Images/PowellMethodMod_gr_66.gif].

(vi) Repeat steps (i) through (v) until convergence is achieved.

A typical sequence of points generated by Powell's method is shown in Figure 2 below.

Figure 2. A sequence of points in 2D generated by Powell's method.

Algorithm (Powell's Method for Finding a Minimum). To numerically approximate a local minimum of [Graphics:Images/PowellMethodMod_gr_67.gif], where f is a continuous function of n real variables and [Graphics:Images/PowellMethodMod_gr_68.gif] by starting with one point [Graphics:Images/PowellMethodMod_gr_69.gif] and using the "dog-leg" search along the directions of the direction vectors [Graphics:Images/PowellMethodMod_gr_70.gif].

Enhanced Powell's Method

In step (iii) of Powell's method the first vector [Graphics:Images/PowellMethodMod_gr_181.gif] was discarded and the average direction vector [Graphics:Images/PowellMethodMod_gr_182.gif] was added to the list of direction vectors. In fact, it would be better to discard the vector [Graphics:Images/PowellMethodMod_gr_183.gif] along which the greatest decrease in f occurred. It seems reasonable that the vector [Graphics:Images/PowellMethodMod_gr_184.gif] is a large component of the average direction vector [Graphics:Images/PowellMethodMod_gr_185.gif]. Thus, as the number of iterations increase, the set of direction vectors will tend to become linearly dependent. When the set becomes linearly dependent one or more of the directions will be lost and it is likely that the set of points [Graphics:Images/PowellMethodMod_gr_186.gif] will not converge to the point at which the local minimum occurs. Furthermore, in step (iii) it was assumed that the average direction vector represented a good direction in which to continue the search. But that may not be the case.

Outline of the Enhanced Powell's Method

(i) Set [Graphics:Images/PowellMethodMod_gr_187.gif].

(ii) For [Graphics:Images/PowellMethodMod_gr_188.gif],
find the value of [Graphics:Images/PowellMethodMod_gr_189.gif] that minimizes [Graphics:Images/PowellMethodMod_gr_190.gif],
and set [Graphics:Images/PowellMethodMod_gr_191.gif].

(iii) Let [Graphics:Images/PowellMethodMod_gr_192.gif] for [Graphics:Images/PowellMethodMod_gr_193.gif]. Find the subscript r
so that [Graphics:Images/PowellMethodMod_gr_194.gif] is the magnitude of the maximum decrease f ,
and [Graphics:Images/PowellMethodMod_gr_195.gif] the direction of the maximum decrease over all the direction vectors in step (ii).

(iv) Increment the counter [Graphics:Images/PowellMethodMod_gr_196.gif].

(iv) Let [Graphics:Images/PowellMethodMod_gr_197.gif] for [Graphics:Images/PowellMethodMod_gr_198.gif].
Let [Graphics:Images/PowellMethodMod_gr_199.gif] be the function value in the extended direction [Graphics:Images/PowellMethodMod_gr_200.gif] from [Graphics:Images/PowellMethodMod_gr_201.gif].
If [Graphics:Images/PowellMethodMod_gr_202.gif] set [Graphics:Images/PowellMethodMod_gr_203.gif] and go to step (i), or
if [Graphics:Images/PowellMethodMod_gr_204.gif] set [Graphics:Images/PowellMethodMod_gr_205.gif] and go to step (i).
Otherwise, continue to step (vi).

(vi) Set [Graphics:Images/PowellMethodMod_gr_206.gif], where the subscript r is given in step (iii).

(vii) Find the value of [Graphics:Images/PowellMethodMod_gr_207.gif] that minimizes [Graphics:Images/PowellMethodMod_gr_208.gif],
and set [Graphics:Images/PowellMethodMod_gr_209.gif].

(vii) Repeat steps (i) through (vii).

If the conditions in step (v) are satisfied, then the set of direction vectors is left unchanged. The first inequality in step (v) indicates that there is no further decrease in the value of f in the average direction [Graphics:Images/PowellMethodMod_gr_210.gif]. The second inequality indicates that the decrease in the function f in the direction of greatest decrease [Graphics:Images/PowellMethodMod_gr_211.gif] was not a major part of the total decrease in f in step (ii). If the conditions in step (v) are not satisfied, then the direction of greatest decrease [Graphics:Images/PowellMethodMod_gr_212.gif] is replaced with the average direction from step (ii); [Graphics:Images/PowellMethodMod_gr_213.gif]. In step (vii) the function is minimized in this direction. Stopping criteria based on the magnitudes [Graphics:Images/PowellMethodMod_gr_214.gif] or [Graphics:Images/PowellMethodMod_gr_215.gif] are typically found in steps (v) and (vii). We leave it for the reader to investigate these enhancements.

No comments:

Post a Comment

Introductory Methods of Numerical Analysis