# TaoComputeInequalityConstraints
Compute the variable bounds using the routine set by `TaoSetInequalityConstraintsRoutine()`. 
## Synopsis
```
#include "petsctao.h" 
PetscErrorCode TaoComputeInequalityConstraints(Tao tao, Vec X, Vec CI)
```
Collective


## Input Parameter

- ***tao -*** the Tao context



## Output Parameters

- ***X -*** point the inequality constraints were evaluted on
- ***CE   -*** vector of inequality constraints evaluated at X





## See Also
 `Tao`, `TaoSetInequalityConstraintsRoutine()`, `TaoComputeJacobianInequality()`, `TaoComputeEqualityConstraints()`

## Level
developer

## Location
<A HREF="PETSC_DOC_OUT_ROOT_PLACEHOLDER/src/tao/interface/taosolver_bounds.c.html#TaoComputeInequalityConstraints">src/tao/interface/taosolver_bounds.c</A>


---
[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](/docs/manualpages/index.md)  
[Index of all manual pages](/docs/manualpages/singleindex.md)  
