# TaoADMMSetUpdateType
Set update routine for ADMM routine 
## Synopsis
```
#include "petsctao.h" 
PetscErrorCode TaoADMMSetUpdateType(Tao tao, TaoADMMUpdateType type)
```
Not Collective


## Input Parameters

- ***tao  -*** the Tao context
- ***type -*** spectral parameter update type





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

## Level
intermediate

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

## Implementations

<A HREF="PETSC_DOC_OUT_ROOT_PLACEHOLDER/src/tao/constrained/impls/admm/admm.c.html#TaoADMMSetUpdateType_ADMM">TaoADMMSetUpdateType_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)  
