:orphan: # TAOCG Nonlinear conjugate gradient method is an extension of the nonlinear conjugate gradient solver for nonlinear optimization. ## Options Database Keys - ***-tao_cg_eta -*** restart tolerance - ***-tao_cg_type -*** cg formula - ***-tao_cg_delta_min -*** minimum delta value - ***-tao_cg_delta_max -*** maximum delta value ## Notes ## CG formulas are "fr" - Fletcher-Reeves "pr" - Polak-Ribiere "prp" - Polak-Ribiere-Plus "hs" - Hestenes-Steifel "dy" - Dai-Yuan ## Level beginner ## Location src/tao/unconstrained/impls/cg/taocg.c ## Examples src/tao/unconstrained/tutorials/eptorsion2.c
src/tao/unconstrained/tutorials/eptorsion2f.F90
src/tao/unconstrained/tutorials/minsurf2.c
--- [Edit on GitLab](https://gitlab.com/petsc/petsc/-/edit/release/src/tao/unconstrained/impls/cg/taocg.c) [Index of all Tao routines](index.md) [Table of Contents for all manual pages](/manualpages/index.md) [Index of all manual pages](/manualpages/singleindex.md)