petsc-3.10.5 2019-03-28
Report Typos and Errors

TaoSetVariableBounds

Sets the upper and lower bounds

Synopsis

#include "petsctao.h" 
PetscErrorCode TaoSetVariableBounds(Tao tao, Vec XL, Vec XU)
Logically collective on Tao

Input Parameters

tao - the Tao context
XL - vector of lower bounds
XU - vector of upper bounds

See Also

TaoSetObjectiveRoutine(), TaoSetHessianRoutine() TaoSetObjectiveAndGradientRoutine()

Level

beginner

Location

src/tao/interface/taosolver_bounds.c

Examples

src/ts/examples/tutorials/ex16opt_p.c.html
src/tao/constrained/examples/tutorials/toy.c.html
src/tao/constrained/examples/tutorials/toyf.F90.html
src/tao/bound/examples/tutorials/plate2.c.html
src/tao/bound/examples/tutorials/jbearing2.c.html
src/tao/complementarity/examples/tutorials/minsurf1.c.html

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