:orphan: # TaoResetStatistics Initialize the statistics collected by the `Tao` object. These statistics include the iteration number, residual norms, and convergence status. This routine gets called before solving each optimization problem. ## Synopsis ``` #include "petsctao.h" PetscErrorCode TaoResetStatistics(Tao tao) ``` Collective ## Input Parameter - ***solver -*** the `Tao` context ## See Also [](ch_tao), `Tao`, `TaoCreate()`, `TaoSolve()` ## Level developer ## Location src/tao/interface/taosolver.c --- [Edit on GitLab](https://gitlab.com/petsc/petsc/-/edit/release/src/tao/interface/taosolver.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)