TaoLineSearchSetVariableBounds#
Sets the upper and lower bounds for a bounded line search
Synopsis#
#include "petsctaolinesearch.h"
PetscErrorCode TaoLineSearchSetVariableBounds(TaoLineSearch ls, Vec xl, Vec xu)
Logically Collective
Input Parameters#
ls - the
TaoLineSearch
contextxl - vector of lower bounds
xu - vector of upper bounds
Note#
If the variable bounds are not set with this routine, then
PETSC_NINFINITY
and PETSC_INFINITY
are assumed
See Also#
TAO: Optimization Solvers, Tao
, TaoLineSearch
, TaoSetVariableBounds()
, TaoLineSearchCreate()
Level#
beginner
Location#
src/tao/linesearch/interface/taolinesearch.c
Index of all TaoLineSearch routines
Table of Contents for all manual pages
Index of all manual pages