# TaoGetConstraintTolerances
Gets constraint tolerance parameters used in Tao  convergence tests 
## Synopsis
```
#include "petsctao.h" 
PetscErrorCode TaoGetConstraintTolerances(Tao tao, PetscReal *catol, PetscReal *crtol)
```
Not ollective


## Input Parameter

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



## Output Parameters

- ***catol -*** absolute constraint tolerance, constraint norm must be less than catol for used for gatol convergence criteria
- ***crtol -*** relative constraint tolerance, constraint norm must be less than crtol for used for gatol, gttol convergence criteria





## See Also
 `TaoGetTolerances()`, `TaoSetTolerances()`, `TaoSetConstraintTolerances()`


## Level
intermediate

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


---
[Edit on GitLab](https://gitlab.com/petsc/petsc/-/edit/release/src/tao/interface/taosolver.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)  
