petsc-3.7.3 2016-08-01
Report Typos and Errors

TaoCreate

Creates a TAO solver

Synopsis

#include "petsctao.h" 
PetscErrorCode TaoCreate(MPI_Comm comm, Tao *newtao)
Collective on MPI_Comm

Input Parameter

comm -MPI communicator

Output Parameter

newtao -the new Tao context

Available methods include

nls - Newton's method with line search for unconstrained minimization
ntr - Newton's method with trust region for unconstrained minimization
ntl - Newton's method with trust region, line search for unconstrained minimization
lmvm - Limited memory variable metric method for unconstrained minimization
cg - Nonlinear conjugate gradient method for unconstrained minimization
nm - Nelder-Mead algorithm for derivate-free unconstrained minimization
tron - Newton Trust Region method for bound constrained minimization
gpcg - Newton Trust Region method for quadratic bound constrained minimization
blmvm - Limited memory variable metric method for bound constrained minimization
lcl - Linearly constrained Lagrangian method for pde-constrained minimization
pounders - Model-based algorithm for nonlinear least squares

Options Database Keys

-tao_type -select which method TAO should use

See Also

TaoSolve(), TaoDestroy()

Level:beginner
Location:
src/tao/interface/taosolver.c
Index of all Tao routines
Table of Contents for all manual pages
Index of all manual pages

Examples

src/ts/examples/tutorials/ex16opt_p.c.html
src/ts/examples/tutorials/ex16opt_ic.c.html
src/ts/examples/tutorials/ex20opt_p.c.html
src/ts/examples/tutorials/ex20opt_ic.c.html
src/tao/unconstrained/examples/tutorials/eptorsion1.c.html
src/tao/unconstrained/examples/tutorials/eptorsion2.c.html
src/tao/unconstrained/examples/tutorials/minsurf2.c.html
src/tao/unconstrained/examples/tutorials/rosenbrock1.c.html
src/tao/unconstrained/examples/tutorials/eptorsion2f.F.html
src/tao/unconstrained/examples/tutorials/rosenbrock1f.F.html
src/tao/constrained/examples/tutorials/maros.c.html