TaoLineSearchSetVariableBounds#

Sets the upper and lower bounds.

Synopsis#

#include "petsctaolinesearch.h" 
PetscErrorCode TaoLineSearchSetVariableBounds(TaoLineSearch ls, Vec xl, Vec xu)

Logically Collective

Input Parameters#

  • ls - the TaoLineSearch context

  • xl - 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#

TaoSetVariableBounds(), TaoLineSearchCreate()

Level#

beginner

Location#

src/tao/linesearch/interface/taolinesearch.c


Edit on GitLab

Index of all TaoLineSearch routines
Table of Contents for all manual pages
Index of all manual pages