:orphan:
# KSPMINRESSetUseQLP
Use the QLP variant of the algorithm. 
## Synopsis
```
#include "petscksp.h" 
PetscErrorCode KSPMINRESSetUseQLP(KSP ksp, PetscBool qlp)
```
Logically Collective


## Input Parameters

- ***ksp -*** the iterative context
- ***qlp -*** a Boolean indicating if the QLP variant should be used





## Note
By default, the QLP variant is not used.


## See Also
 [](ch_ksp), `KSP`, `KSPMINRES`, `KSPMINRESGetUseQLP()`

## Level
beginner

## Location
<A HREF="PETSC_DOC_OUT_ROOT_PLACEHOLDER/src/ksp/ksp/impls/minres/minres.c.html#KSPMINRESSetUseQLP">src/ksp/ksp/impls/minres/minres.c</A>

## Implementations

<A HREF="PETSC_DOC_OUT_ROOT_PLACEHOLDER/src/ksp/ksp/impls/minres/minres.c.html#KSPMINRESSetUseQLP_MINRES">KSPMINRESSetUseQLP_MINRES in src/ksp/ksp/impls/minres/minres.c</A><BR>


---
[Edit on GitLab](https://gitlab.com/petsc/petsc/-/edit/release/src/ksp/ksp/impls/minres/minres.c)


[Index of all KSP routines](index.md)  
[Table of Contents for all manual pages](/manualpages/index.md)  
[Index of all manual pages](/manualpages/singleindex.md)  
