# TaoALMMSetType
Determine the augmented Lagrangian formulation type for the subproblem. 
## Synopsis
```
#include "petsctao.h" 
#include "petscvec.h" 
PetscErrorCode TaoALMMSetType(Tao tao, TaoALMMType type)
```

## Input Parameters

- ***tao -*** the Tao context for the `TAOALMM` solver
- ***type -*** augmented Lagragrangian type





## See Also
 `Tao`, `TAOALMM`, `TaoALMMGetType()`, `TaoALMMType`

## Level
advanced

## Location
<A HREF="PETSC_DOC_OUT_ROOT_PLACEHOLDER/src/tao/constrained/impls/almm/almmutils.c.html#TaoALMMSetType">src/tao/constrained/impls/almm/almmutils.c</A>


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