TaoMonitorResidual#
Views the least-squares residual at each iteration of TaoSolve()
Synopsis#
#include "petsctao.h"
PetscErrorCode TaoMonitorResidual(Tao tao, PetscViewerAndFormat *vf)
Collective
Input Parameters#
tao - the
Taocontextvf -
PetscViewerAndFormatcontext
Options Database Keys#
-tao_monitor_residual viewer_specification - view the least-squares residual at each iteration, see
PetscOptionsCreateViewer()forviewer_specificationdetails-tao_monitor_residual_interval interval - only monitor the residual every
intervaliterations and final value, or only final value if negative
See Also#
TAO: Optimization Solvers, Tao, TaoMonitorDefault(), TaoMonitorSet()
Level#
advanced
Location#
Index of all Tao routines
Table of Contents for all manual pages
Index of all manual pages