:orphan:
# SNESLineSearch
Abstract PETSc object that manages line-search operations for nonlinear solvers
## Synopsis
```
typedef struct _p_LineSearch *SNESLineSearch;
```
## See Also
[](ch_snes), `SNESLineSearchType`, `SNESLineSearchCreate()`, `SNESLineSearchSetType()`, `SNES`
## Level
beginner
## Location
include/petscsnes.h
## Examples
src/snes/tutorials/ex15.c
src/snes/tutorials/ex3.c
src/ts/tutorials/ex27.c
## Implementations
SNESLineSearch_PDIPM in src/tao/constrained/impls/ipm/pdipm.c
---
[Edit on GitLab](https://gitlab.com/petsc/petsc/-/edit/release/include/petscsnes.h)
[Index of all SNES routines](index.md)
[Table of Contents for all manual pages](/manualpages/index.md)
[Index of all manual pages](/manualpages/singleindex.md)