Question: use MATLAB or Python 6.12 Write a routine implementing the con jugate gradient method of Section 6.3.6 for unconstrained minimization. You will need a line
use MATLAB or Python


6.12 Write a routine implementing the con jugate gradient method of Section 6.3.6 for unconstrained minimization. You will need a line search routine to determine the parameter xx ai cach iteration. Try boih the Fleicher Reeves and Polak-Ribiere formulas for com pili.li?: /hl i ?.O :XX, how lnlich (li iic:rell(x: i'liL; makes. Test your routine on both quadratic and nonquadratic objective functions. Fora reasonable error tolerance, does your routine function of n variables? 6.12 Write a routine implementing the con jugate gradient method of Section 6.3.6 for unconstrained minimization. You will need a line search routine to determine the parameter xx ai cach iteration. Try boih the Fleicher Reeves and Polak-Ribiere formulas for com pili.li?: /hl i ?.O :XX, how lnlich (li iic:rell(x: i'liL; makes. Test your routine on both quadratic and nonquadratic objective functions. Fora reasonable error tolerance, does your routine function of n variables
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
