:orphan:
# TaoLMVMRecycle
Enable/disable recycling of the QN history between subsequent `TaoSolve()` calls.
## Synopsis
```
#include "petsctaolinesearch.h"
PetscErrorCode TaoLMVMRecycle(Tao tao, PetscBool flg)
```
## Input Parameters
- ***tao -*** the `Tao` solver context
- ***flg -*** Boolean flag for recycling (`PETSC_TRUE` or `PETSC_FALSE`)
## See Also
`Tao`, `TAOLMVM`, `TAOBLMVM`
## Level
intermediate
## Location
src/tao/bound/impls/blmvm/blmvm.c
## Examples
src/tao/unconstrained/tutorials/rosenbrock2.c
---
[Edit on GitLab](https://gitlab.com/petsc/petsc/-/edit/release/src/tao/bound/impls/blmvm/blmvm.c)
[Index of all Tao routines](index.md)
[Table of Contents for all manual pages](/manualpages/index.md)
[Index of all manual pages](/manualpages/singleindex.md)