Downloaded from https://www.everyspec.com A 706-10 inverse of the matrix of second partial deriva- A general programming problem may have tives of f(x) evaluated at the optimum. equality constraints as well as inequality con- Numerical tests bear out the rapid conver- straints. Equalities often describe the opera- gence of this method. Consider, for example, tion of a system, while inequalities define the function limits within which certain physcal variables -~., -X.) 2 + ( b) 2 must lie. Thus the general problem of con- AX. )= 100(X b -strained minimization can be posed as one of (12-9) minimizing the objective function f(x) subject I This is called the Rosenbrock function (Ref.
to inequality and equality constraints: 10). Its contours are shown in Fig. 12-2. The g(x) i=l, 2,..-, minimum is at (1,1), and the steep curving (12-10) valley alongx, = x2makesminimization :Iif- hI(x)0 j1,2, -, ficult. The paths taken by the optimum gradi- When the functions f, gi, and hj are all linear, ent technique and by the Fletcher-Powell the problem is one of linear programming; if method sre also in Fig. 12-2. Notice that the any of the functions are nonlinear, the pro- Fletcher-Powell technique follows the curved gramming problem is nonlinear. valley and minimizes very efficiently.
Constrained optimization problems are AnothfT conjugate direction minimization generally more difficult to solve than those technique is the conjugate gradient method, without constraints. However, it is sometimes outlined in Table 12-1. It requires computa- possible to eliminate inequality constraints by tion of the gradient of f(x) 'nd storage of appropriate transformations. A number of only one additional vector, the actual direc- transformations, as well as sequences of trans- tion of search (Ref. 9). This method is not formation, have been found useful (Ref. 10).
quite as efficient as the Fletcher-Powell tech- 1 nique but requires much less storage, a signifi- 12-3.1 NONLINEAR CONSTRAINTS cant advantage when the number of variables A specific nonlinear programming prob- n is large (Ref. 9). lem is shown in Fig. 12-4. The constraints are There are a number of minimization tech- all linear inequalities (x, > 0, x 2 > 0, niques that do not require derivatives. 5- - x 2 > 0, - 2.5 + x 1 -x 2 0) Powell's method seems to be the most effi- which form a constraint set with four corners. cient of these (Refs. 8 and 9).
In this method, The nonlinear objective function, represented outlined in Table 12-1, each iteration requires by a set of concentric circles, is n ldimensionnJ minimizations down n linear- (x) = (x1 - 3)2 ly independent directions, ss, , " 2 , sn. Asa + (X 2 - 4)2. (12-11) result of these minimizations a new direction The minimum value of f(x) corresponds to s is defined. If a specified test is passed, s the contour of lowest value having at least replaces one of the original directions. The one point in common with the constraint set.
process usually is started from the best esti- This is the contour labeled f(x) = 2 , and the mate of the minimizing x using the initial s 's desired solution is at its point of tangency as the reference coordinate directions. with the constraint set (x* = 2, x* = 3); this is not a corner point of the set, although it is a boundary point (for linear programs, PCON S I Othe minimum is always at a corner point). Fig. PROBLEMS 12-5 shows what happens to the problem In constrained minii n problems, when the 6bjective function is changed to the variables x may take on only certain al- f(x) = (x 1 - 2)2 + (x 2 - 2)2. lovable values. In Fig.
12-3, for instance, the (12-12) unshaded area is the set of allowable values of The minimum is now at x =2, x* = 2, variables x. and Xb, called the constraint set. which is not even a boundary point of the This is the set of all points satisfying the constraint set. Therefore, this problem could inequalities x. > 0, xb 0 1 (x) 0, and have been solved as an unconstrained minimi- g 2 (x) 0. zation off(x). 12-6