: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
src/ksp/ksp/impls/minres/minres.c
## Implementations
KSPMINRESSetUseQLP_MINRES in src/ksp/ksp/impls/minres/minres.c
---
[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)