:orphan: # TaoSetInequalityBounds Sets the upper and lower bounds ## Synopsis ``` #include "petsctao.h" PetscErrorCode TaoSetInequalityBounds(Tao tao, Vec IL, Vec IU) ``` Logically Collective ## Input Parameters - ***tao -*** the `Tao` context - ***IL -*** vector of lower bounds - ***IU -*** vector of upper bounds ## See Also [](ch_tao), `Tao`, `TaoSetObjective()`, `TaoSetHessian()`, `TaoSetObjectiveAndGradient()`, `TaoGetInequalityBounds()` ## Level beginner ## Location src/tao/interface/taosolver_bounds.c ## Examples src/tao/constrained/tutorials/maros.c
--- [Edit on GitLab](https://gitlab.com/petsc/petsc/-/edit/release/src/tao/interface/taosolver_bounds.c) [Index of all Tao routines](index.md) [Table of Contents for all manual pages](/manualpages/index.md) [Index of all manual pages](/manualpages/singleindex.md)