#include "petsctao.h" PetscErrorCode TaoGetHistory(Tao tao, PetscReal **obj, PetscReal **resid, PetscReal **cnorm, PetscInt *nhist)Collective on Tao
obj | - array used to hold objective value history | |
resid | - array used to hold residual history | |
cnorm | - array used to hold constraint violation history | |
nhist | - size of obj, resid, and cnorm (will be less than or equal to na given in TaoSetHistory) |
call TaoGetHistory(Tao tao, integer nhist, integer info)
This routine is useful, e.g., when running a code for purposes of accurate performance monitoring, when no I/O should be done during the section of code that is being timed.
Level:advanced
Location:src/tao/interface/taosolver.c
Index of all Tao routines
Table of Contents for all manual pages
Index of all manual pages