:orphan:
# TaoComputeEqualityConstraints
Compute the variable bounds using the routine set by `TaoSetEqualityConstraintsRoutine()`. 
## Synopsis
```
#include "petsctao.h" 
PetscErrorCode TaoComputeEqualityConstraints(Tao tao, Vec X, Vec CE)
```
Collective


## Input Parameter

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



## Output Parameters

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





## See Also
 [](ch_tao), `Tao`, `TaoSetEqualityConstraintsRoutine()`, `TaoComputeJacobianEquality()`, `TaoComputeInequalityConstraints()`

## Level
developer

## Location
<A HREF="PETSC_DOC_OUT_ROOT_PLACEHOLDER/src/tao/interface/taosolver_bounds.c.html#TaoComputeEqualityConstraints">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](/manualpages/index.md)  
[Index of all manual pages](/manualpages/singleindex.md)  
