The CG method is realy a family of methods. At each step we choose a new search direction.
CG Algorithm

Can be shown that the CG algorithm is a conjugate direction method, by proving that the search directions are Q-orthogonal.
CG Algorithm for Nonquadratic Problems
The idea behind using the CG method on nonquadratic problems is that
functions can be well approximated locally by a quadratic function.
A natural approximation is
![]()
A drawback is that F(xk) is needed.
Fletcher-Reeve's Method

Polak-Ribiere's Method
Replace the formula for
with
