|
Quandary
|
#include "optimproblem.hpp"
Functions | |
| PetscErrorCode | TaoMonitor (Tao tao, void *ptr) |
| Monitors optimization progress during TAO optimization iterations. | |
| PetscErrorCode | TaoEvalObjectiveAndGradient (Tao tao, Vec x, PetscReal *f, Vec G, void *ptr) |
| PETSc TAO interface routine for combined objective and gradient evaluation. | |
| PetscErrorCode | TaoEvalObjective (Tao, Vec x, PetscReal *f, void *ptr) |
| PETSc TAO interface routine for objective function evaluation. | |
| PetscErrorCode | TaoEvalGradient (Tao, Vec x, Vec G, void *ptr) |
| PETSc TAO interface routine for gradient evaluation. | |
| PetscErrorCode TaoEvalGradient | ( | Tao | tao, |
| Vec | x, | ||
| Vec | G, | ||
| void * | ptr | ||
| ) |
PETSc TAO interface routine for gradient evaluation.
| tao | TAO solver object |
| x | Design vector |
| G | Gradient vector |
| ptr | Pointer to user context (OptimProblem instance) |
| PetscErrorCode TaoEvalObjective | ( | Tao | tao, |
| Vec | x, | ||
| PetscReal * | f, | ||
| void * | ptr | ||
| ) |
PETSc TAO interface routine for objective function evaluation.
| tao | TAO solver object |
| x | Design vector |
| f | Pointer to store objective function value |
| ptr | Pointer to user context (OptimProblem instance) |
| PetscErrorCode TaoEvalObjectiveAndGradient | ( | Tao | tao, |
| Vec | x, | ||
| PetscReal * | f, | ||
| Vec | G, | ||
| void * | ptr | ||
| ) |
PETSc TAO interface routine for combined objective and gradient evaluation.
| tao | TAO solver object |
| x | Design vector |
| f | Pointer to store objective function value |
| G | Gradient vector |
| ptr | Pointer to user context (OptimProblem instance) |
| PetscErrorCode TaoMonitor | ( | Tao | tao, |
| void * | ptr | ||
| ) |
Monitors optimization progress during TAO optimization iterations.
This callback function is called at each iteration of TaoSolve() to track convergence and output progress information.
| tao | TAO solver object |
| ptr | Pointer to user context (OptimProblem instance) |