# TaoADMMSetRegularizerType
Set regularizer type for ADMM routine 
## Synopsis
```
#include "petsctao.h" 
PetscErrorCode TaoADMMSetRegularizerType(Tao tao, TaoADMMRegularizerType type)
```
Not Collective


## Input Parameters

- ***tao  -*** the Tao context
- ***type -*** regularizer type



## Options Database Key

- ***-tao_admm_regularizer_type <admm_regularizer_user,admm_regularizer_soft_thresh> -*** select the regularizer





## See Also
 `TaoADMMGetRegularizerType()`, `TaoADMMRegularizerType`, `TAOADMM`

## Level
intermediate

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

## Implementations

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