Downloaded from https://www.everyspec.com AMCP 70S-17 TABLE 12-1 OPTIMIZlNG UNMC(}NRAINED PROBLEMS od sepu Domit 4. Compte Ite mwabixH o (usually chosen as L Start the compuaton at z-3 &A*) -(b +j(e)+9'(b) the lrmtty matx) and an ialtial notn intilpoint F, awaly the b -- c po~nt 1. MW i step, i - 0, 1,... best available etimate of the mini- CompUt procede as folms. mum. The ith iteration (i - 0,1, 2, 2. Comnpute t gradient, ) Proceeds as follows. w [. - c'(.wJ(b)J V f(d. 2. Compute the gradient 6. Compute 3. Compute the direction: VIx 1 ) and let the current 4'-ction i(b)+w-z T -- H1 V f () of 3.rch bes, -- t t(xl). b (b)--(b)+ (b-a) 4.
Choose a step length a, to 3 Compute a step length a, by minimize (a) - f(j + a). See doosing Q, to mim Aif(i + )i. 7. If g(&,) and 9(a,) cubic or quadtic interpolation Cubic wd quadratic interpolation g(b), accept a, as the desired mini- proceJure above. piocedures a detailed below. mum value of*. 5. Compute 61 - ai 4. Compute a succmxe vector 8. If (a,) > g(a) or g'(q,) > 6. Compute a new value + 1 for O, repeat steps 4 through 6 using b from the relatioship 9. Otherwise, repeat steps 4 7. Compute 5. Check a stop criterion (see through6usnga-a,. YIVf K+ )-VfM-) below). If it is satisfied, stop. 8.
Compute the matrix Otherwise, return to sp 2 and r- Ouadratic Interpolation F-' I- place i by i + 1. 1. Calculate A, the maximum A 0 " , value of li I. Possible Stop Criteria for Twinat- 2. Divide each component of Compute the matrix ing CompAtion the vector! byA. B H -- HH 1. Nazi e for a - ,V, until g(a) g(O). 10. Compute the successor ma. Set a -0, b - a, and c- 2a andgo trix 2 . 2 ctostep5. d e 4. Compute g(a) fora - 0,1, U. Chek the stop criterion If - 2, 4, 8, .... a, b, c. Stop the compu- is ak t hfed, stop. Otherwise, re 3. f( (X')/+ ) e tation at a - c when the present turn to step 2, using the successor 4. Maxi(+x 1 .
1 - I[) 1 value of g(a) s greater than the last compute valuematrix a the new H 1 , and replaceI computed value. q Cubic Interpolation . Compute by i + 1. 1. Calculate A, the maximum (r - The Conjugate Gradient Method value of IsjI. lhfg(a)(c 2 - b 2 ) + g(b)(a 2 -C 2 ) 1. Start with an initial vector 2. Divide each component of +g(c)(b 2 -a2) ] of vari with an initaldiec. the vector 9 by A. ' [g(a)(c - b) + g(b)(a - c) of variables o and an initial direc. 3. Compute g(d) and g(a) 4sj +g(c)(b -a)) t 0 1 2 f..) po e it s ( V f(x + ai) fora -0, 1, 2,4,...a, 6. Ifg(t,) a s , 2. Choose a step length a to b, where b Is the first of these val.
the desired minimum value, a*; minimize ues at which eitherg' is nonnegativ, otherwise accept b as the dedred g+ or g has not decreased. If g(1) >> value a*. Act) f(S + ) 0(0), divide the omponents ofW by t wSee cubic or quadratic interpolation some factor (2 or 3) and repeat this procedure above. step. 1. Start with a positive defin. * 12-3