: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
<A HREF="PETSC_DOC_OUT_ROOT_PLACEHOLDER/src/tao/bound/impls/blmvm/blmvm.c.html#TaoLMVMRecycle">src/tao/bound/impls/blmvm/blmvm.c</A>

## Examples
<A HREF="PETSC_DOC_OUT_ROOT_PLACEHOLDER/src/tao/unconstrained/tutorials/rosenbrock2.c.html">src/tao/unconstrained/tutorials/rosenbrock2.c</A><BR>


---
[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)  
