#include "taosolver.h" PetscErrorCode TaoSetSeparableObjectiveRoutine(TaoSolver tao, Vec sepobj, PetscErrorCode (*func)(TaoSolver, Vec, Vec, void*),void *ctx)Logically collective on TaoSolver
tao | - the TaoSolver context | |
func | - the objective function evaluation routine | |
ctx | - [optional] user-defined context for private data for the function evaluation routine (may be PETSC_NULL) |
func (TaoSolver tao, Vec x, Vec f, void *ctx);
x | - input vector | |
f | - function value vector | |
ctx | - [optional] user-defined function context |
Level:beginner
Location:src/interface/taosolver_fg.c
TAO Solver Index
Table of Contents