# TaoADMMGetUpdateType
Gets the type of spectral penalty update routine for ADMM 
## Synopsis
```
#include "petsctao.h" 
PetscErrorCode TaoADMMGetUpdateType(Tao tao, TaoADMMUpdateType *type)
```
Not Collective


## Input Parameter

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



## Output Parameter

- ***type -*** the type of spectral penalty update routine





## See Also
 `TaoADMMSetUpdateType()`, `TaoADMMUpdateType`, `TAOADMM`

## Level
intermediate

## Location
<A HREF="PETSC_DOC_OUT_ROOT_PLACEHOLDER/src/tao/constrained/impls/admm/admm.c.html#TaoADMMGetUpdateType">src/tao/constrained/impls/admm/admm.c</A>

## Implementations

<A HREF="PETSC_DOC_OUT_ROOT_PLACEHOLDER/src/tao/constrained/impls/admm/admm.c.html#TaoADMMGetUpdateType_ADMM">TaoADMMGetUpdateType_ADMM in src/tao/constrained/impls/admm/admm.c</A><BR>


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