#include "taosolver.h" PetscErrorCode TaoSetConstraintsRoutine(TaoSolver tao, Vec c, PetscErrorCode (*func)(TaoSolver, Vec, Vec, void*), void *ctx)Logically collective on TaoSolver
tao | - the TaoSolver context | |
c | - A vector that will be used to store constraint evaluation | |
func | - the bounds computation routine | |
ctx | - [optional] user-defined context for private data for the constraints computation (may be PETSC_NULL) |
func (TaoSolver tao, Vec x, Vec c, void *ctx);
tao | - the TaoSolver | |
x | - point to evaluate constraints | |
c | - vector constraints evaluated at x | |
ctx | - the (optional) user-defined function context |
Level:intermediate
Location:src/interface/taosolver_bounds.c
TAO Solver Index
Table of Contents