MULTIDIMENSIONAL SEARCH Problems 6.1 to 6.10 | Problems 6.11 to 6.20 | Problems 6.21 to 6.25 problem6.1 | problem6.2 | problem6.3 | problem6.4 | problem6.5 problem6.6 | problem6.7 | problem6.8 | problem6.9 | problem6.10 6-1(10). A Fibonacci search can be used to find the point on a line in space where a function is maximum. For the two points (1,-1,0,2) and (-5,-1,3,1) use a Fibonacci search assuming perfect resolution and unimodality.
Solution: a. The parametric representation of the line in the x1, x2, x3 and x4 hyperplane is:
where aj and bj are as follows for the two points given in the problem
Substituting into the equation for a line in space gives:
A Fibonacci search is performed with as the independent variable, and the initial interval of uncertainty is 0 < a < 1. Using equation (5-41) with Î = 0 and n = 5 to compute the final interval of uncertainty gives: The location of the first two experiments are obtained using equations (5-43) and (5-44).
The coordinates of the first two point are obtained using a1 = 0.375 and a2 = 0.625
b. To find the final interval of uncertainty on axis x1, use In = Io/An+1 = Io/8.
The final intervals of uncertainty on the other axes are computed the same way. 6-2(10). In the following table eight values of y are given, and y is a function of four independent variables. a. Determine the line of steep ascent passing through the point (0, 1, -1,3). b. Determine the countour tangent hyperplane passing through (0, 1, -1, 3). Solution: a. The line of steep ascent is given by equation (6-7).
The partial derivatives are calculated as follows: Substituting into the equation for the gradient line gives:
b. The contour tangent hyperplane is given by the following equation.
Substituting into the above equation gives:
Simplifying gives the equation for the contour tangent hyperplane
6-3(17). Using the method of gradient partan to find the minimum of the following function starting at (2,1,3) y = x12 + 3x22 + 5x32 Solution: It is convenient to determine the values of the partial derivatives in terms of a general point a(a1, a2, a3). Gradient partan consists of a series of line searches along the gradient line and an acceleration line as given by equations (6-25) and (6-26)
At a point a, the gradient line can be represented by
Then starting at xo(2, 1, 3) the next point x2 can be located by a gradient search as follows. Evaluate the gradient line at xo to give x1 = 2 + 4a, x2 = 1 + 6a; and x3 = 3 + 30a. Substituting into the cost function reduces it to a function with one independent variable.
Differentiating y with respect to and setting the result equal to zero gives the optimum value of a as shown below.
This value of a is used to calculate x2.
A gradient search is used to locate point x3 according to the table given on page 229 of the text. The gradient line is determined using x2 = a as follows:
The search for the minimum along the gradient line to locate point x3 is performed as follows:
Then a is used to calculate x3.
Next an acceleration is performed from xo through x3 to locate the minimum of y at x4.
and
The search for the minimum along the acceleration line to locate point x4 is performed as follows
Then a is used to calculate x4.
A gradient search is used to locate x5, and the gradient line at x4 is:
The search along the gradient line to locate point x5 is as follows.
Then a is used to calculate x5.
Next, an acceleration is performed from x2 through x5 to locate the minimum of y at x6.
A search along the acceleration line for the minimum at x6 is performed as follows:
Then is used to compute point x6.
For a quadratic function with three independent variables, there is convergence to the minimum at x6. (quadratic termination property). The computed minimum of (0.001, 0.002, 0.001), is a reasonable approximation to the exact minimum of (0, 0, 0). 6-4. For the following function draw contours on a graph for values of y of 20.0, 40.0, 60.0 and 80.0 in the region 0 < x1 < 10 and 0 < x2 < 10.
Starting at point xo(4,4) apply Pattern Search to move toward maximum and employ a step size d (½,½). Make local explorations and accelerations (pattern moves) to obtain the points through b5. Solution: a. Draw the contours of the function:
in the region 0 < x1 < 10 and 0 < x2 < 10 for values of y = 20, 40, 60, 80. Some values of x1 and x2 are computed for the specified values of y and these serve as the basis for drawing the curves shown on page 6-12. b. Apply Pattern Search to move toward the maximum starting at point (4,4) with a step size of d (½,½).
Make local explorations about (4,4) as shown below:
A pattern move to t20 is made as shown below:
and y(t20) > y(b2) so local exploration is conducted with
The results of this move are shown on the diagram on page 6-12. A pattern move to t30 is made as shown below:
and y(t30) > y(b3) so local exploration is continued with
The results of this move are shown on the diagram on page 6-12. A pattern move to t40 is made as shown below.
and y(t40) > y(b4) so local exploration is to be conducted.
The results of this move are shown on the diagram in Soln 6-4a. A pattern move to t50 is made as shown below.
The value of t50 is out of bound. At this point a modification must be made in the unconstrained search technique to insure that it remains in bounds, i.e. in the feasible region. Penalty functions or Lagrange multipliers have been used for this purpose. 6-5. In Figure 6-12 a contour map is given for a function with a maximum located in the upper center. For the four multivariable search techniques, gradient search, sectioning, gradient partan and pattern search, sketch (precisely) the path these algorithms would take, beginning at the indicated starting point and going toward the maximum. For pattern search make the step-size equal to one-half of the width of the grid. The pattern search step size can be cut in half for the search to continue, if necessary. This will be the resolution limit, however. In addition, make brief comments about the effectiveness of these four techniques as applied to this function.
Solution: The trajectories of gradient partan and sectioning are shown on the diagram in Soln 6-5a and pattern search and gradient search are shown on the diagram in Soln 6-5b. As shown on the first diagram gradient partan moves rapidly to optimum while sectioning in confounded by the resolution ridge. As shown on the second diagram pattern search moves relatively rapidly toward the optimum and gradient search moves in a typical zig-zag pattern. 6-6. On the contour map given in Figure 6-13 sketch(precisely) the path of gradient partan, Powell's method and pattern search beginning at the starting point shown. For pattern search have the step size initially equal to the grid shown on the contour map and reduce the step size by one-half again if necessary to have pattern search continue. Reduce the step size by one-half to have the search continue. Reduce the step size by one-half again if necessary to have pattern search continue. Give a brief discussion of the performance of these methods on this function. Solution: The trajectory of gradient partan is shown on the diagram in Soln 6-6a, Powell's method on the diagram in Soln 6-6b, and pattern search on the diagram in Soln 6-6c. 6-7. Newton's method is obtained from the Taylor series expansion for y(x), truncating the terms which are third order and higher, equation (6-8). Then equation (6-12) is obtained from the quadratic approximation, where x is the location of the minimum of the quadratic approximation. Discuss the iterative procedure that would be used to move to an optimum. To insure convergence to a minimum (maximum), the value of dy(x)/da always must be negative (positive), where is the parameter of the line between points xk and xk+1 obtained from successive applications of the algorithms.
Explain why this restriction is required for convergence to a local minimum (maximum). Solution: Equation (6-12), the Newton's method algorithm is:
The iterative procedure to move toward the optimum is:
6-8. Search for the minimum of the following function using gradient search starting at point xo(1,1,1)
Solution:
xk+1 = xk + a Ñy(xk) Evaluating partial derivatives gives:
The gradient line at (1, 1, 1) is:
Substituting into the cost function gives:
Locating the minimum along the gradient line gives:
Calculating x1 using the value of a gives:
The components of x1 are all zero, and referring to the equations for the partial derivatives it is seen that they are zero also at x1. Consequently, there will be no movement from x1 if another gradient search is performed; and the minimum has been located. 6-9. Develop and use a simplified version of Newton's method (quadratic fit) to search for the minimum of the function given in Problem 6-8 starting at the same point. Give the Taylor series expansion for three independent variables truncating third and higher order terms neglecting interacting (mixed partial derivative) terms for simplicity. Then differentiate the truncated Taylor series equation with respect to x1, x2 and x3 to compute the optimum of the quadratic approximation, x*1, x*2 and x*3. Then apply these results to minimize the function of the problem. Compare the effort required for one iteration of the linear algorithm to one iteration to the quadratic algorithm.
Solution: The Taylor series expansion is: The partial derivatives are evaluated at xo, and the third and higher order terms have been neglected. Also, neglecting the interacting term i.e. the one with k ¹ j and differentiating partially with respect to x1, x2 and x3 gives: Solving these equations for x1, x2 and x3 gives: These equations are an algorithm for optimization. Applying it to the equation given in Problem 6-8, the partial derivatives needed are: Evaluating the partial derivatives at the starting point (1,1,1) and substituting the algorithm gives:
The optimum has been reached in one application of the algorithm. The quadratic algorithm requires the additional effort of evaluating the second partial derivatives in addition to the first partial derivatives compared to the linear algorithm. 6-10. In problem 7-7, a simplified alkylation process with three identical reactors in series is described. The profit function for each reactor can be represented by an equation with elliptical contours, and the catalyst degradation function can be represented by a linear equation. a. If the optimum of the profit function for an individual reactor is at F = 10 and C = 95, derive the profit function to be maximized and the constraint equations to be satisfied for the process. The profit function for one reactor is given by the following equation.
The constraint equations have the form y = mx + b, and the parameters m and b can be determined from Figure 7-32. b. Form the penalty function for the above problem and discuss how this form will maximize the profit function and satisfy the constraint equations when a search technique is used to find the optimum. Solution: a. For the figure shown, in Soln 6-10 the optimum lies at C = 95 and F = 10. For one reactor, the profit function is:
The profit function for the three reactors is the same for each reactor. For the constraint equations:
and
Solving for a and b:
and
Applying the equation to each reactor gives: Reactor 1: DC1 = C2 - C1 = 2/15 F1 + 4/3 Reactor 2: DC2 = C3 - C2 = 2/15 F2 + 4/3 Reactor 3: DC3 = CF - C3 = 2/15 F3 + 4/3 where CF = 98, the initial catalyst concentration. The problem becomes: subject to: C1 - C2 + 2/15F1 + 4/3 = 0
where the independent variables are C1, C2, C3, F1, F2 and F3. b. Penalty mixed function form is: The first terms are the profit function. The term with 1/r½ as a coefficient contains the equality constraints. The term with r as a coefficient is the inequality constraint. Negative signs are required on the terms with the constraints because the function is being maximized. To obtain a solution, a value of r is selected and then a search technique is used to locate a point near the maximum. Then a smaller value of r is used and the search technique continues from the point near the maximum to one that is close to the maximum. Smaller and smaller values of r are used such that the terms containing the constraint equations become insignificantly small compared to the values of the profit function at the optimum; and the constraint equations are satisfied, i.e.: |