TaoMonitorDefault#
Default routine for monitoring progress of TaoSolve()
Synopsis#
#include "petsctao.h"
PetscErrorCode TaoMonitorDefault(Tao tao, PetscViewerAndFormat *vf)
Collective
Input Parameters#
tao - the
Taocontextvf -
PetscViewerAndFormatcontext
Options Database Keys#
-tao_monitor [ascii][:filename] - monitor function and residual norms at each iteration, only ASCII viewers supported
-tao_monitor_interval interval - only monitor function and residual norms every
intervaliterations, and the last iteration
Note#
This monitor prints the function value and gradient norm at each iteration.
See Also#
TAO: Optimization Solvers, Tao, TaoMonitorDefaultShort(), TaoMonitorSet()
Level#
advanced
Location#
Index of all Tao routines
Table of Contents for all manual pages
Index of all manual pages