Skip to main content
Ctrl+K
PETSc 3.23.2 documentation - Home
  • Overview
  • Install
  • Tutorials
  • User-Guide
  • C/Fortran API
  • petsc4py API
  • FAQ
  • Community
  • Developers
  • Misc.
  • GitLab
  • Overview
  • Install
  • Tutorials
  • User-Guide
  • C/Fortran API
  • petsc4py API
  • FAQ
  • Community
  • Developers
  • Misc.
  • GitLab
  • TaoLineSearchCreate

TaoLineSearchCreate#

Creates a TaoLineSearch object. Algorithms in Tao that use line-searches will automatically create one so this all is rarely needed

Synopsis#

#include "petsctaolinesearch.h" 
PetscErrorCode TaoLineSearchCreate(MPI_Comm comm, TaoLineSearch *newls)

Collective

Input Parameter#

  • comm - MPI communicator

Output Parameter#

  • newls - the new TaoLineSearch context

Options Database Key#

  • -tao_ls_type - select which method Tao should use

See Also#

TAO: Optimization Solvers, Tao, TaoLineSearch, TaoLineSearchType, TaoLineSearchSetType(), TaoLineSearchApply(), TaoLineSearchDestroy()

Level#

developer

Location#

src/tao/linesearch/interface/taolinesearch.c

Implementations#

TaoLineSearchCreate_Armijo() in src/tao/linesearch/impls/armijo/armijo.c
TaoLineSearchCreate_GPCG() in src/tao/linesearch/impls/gpcglinesearch/gpcglinesearch.c
TaoLineSearchCreate_MT() in src/tao/linesearch/impls/morethuente/morethuente.c
TaoLineSearchCreate_OWArmijo() in src/tao/linesearch/impls/owarmijo/owarmijo.c
TaoLineSearchCreate_Unit() in src/tao/linesearch/impls/unit/unit.c


Index of all TaoLineSearch routines
Table of Contents for all manual pages
Index of all manual pages

On this page
  • Synopsis
  • Input Parameter
  • Output Parameter
  • Options Database Key
  • See Also
  • Level
  • Location
  • Implementations
Edit on GitLab
Show Source

© Copyright 1991-2025, UChicago Argonne, LLC and the PETSc Development Team.

Created using Sphinx 7.3.7.

Built with the PyData Sphinx Theme 0.15.1.

Last updated on 2025-05-17T04:21:03-0500 (v3.23.2-11-g97501c3b78f0).