#include "taosolver.h" PetscErrorCode TaoSetVariableBoundsRoutine(TaoSolver tao, PetscErrorCode (*func)(TaoSolver, Vec, Vec, void*), void *ctx)Logically collective on TaoSolver
tao | - the TaoSolver context | |
func | - the bounds computation routine | |
ctx | - [optional] user-defined context for private data for the bounds computation (may be PETSC_NULL) |
func (TaoSolver tao, Vec xl, Vec xu);
tao | - the TaoSolver | |
xl | - vector of lower bounds | |
xu | - vector of upper bounds | |
ctx | - the (optional) user-defined function context |
Note: The func passed in to TaoSetVariableBoundsRoutine() takes precedence over any values set in TaoSetVariableBounds().
Level:beginner
Location:src/interface/taosolver_bounds.c
TAO Solver Index
Table of Contents