TaoAppSetVariableBounds

Set bounds on the variables.

Synopsis

#include "tao.h"  
int TaoAppSetVariableBounds(TAO_APPLICATION taoapp, Vec XL, Vec XU)
Collective on TAO_APPLICATION

Input Parameters

taoapp - the TAO_APPLICATION context
XL - vector of lower bounds upon the solution vector
XU - vector of upper bounds upon the solution vector

Note

This routine should be called before TaoSetApplicationSolver()

Keywords

bounds

See Also

TaoGetVariableBoundVecs(), TaoAppSetVariableBoundsRoutine()

Level:beginner
Location:src/petsctao/application/petscapp/tao_app_util.c
TAO Solver Index
Table of Contents

Examples

src/bound/examples/tutorials/plate2.c.html
src/bound/examples/tutorials/plate2f.F.html
src/complementarity/examples/tutorials/minsurf1.c.html