petsc-dev 2014-02-02
Report Typos and Errors

TaoSetType

Sets the method for the unconstrained minimization solver.

Synopsis

#include "petsctao.h" 
PetscErrorCode TaoSetType(Tao tao, const TaoType type)
Collective on Tao

Input Parameters

solver - the Tao solver context
type - a known method

Options Database Key

-tao_method <type> - Sets the method; use -help for a list of available methods (for instance, "-tao_method tao_lmvm" or "-tao_method tao_tron")
-tao_type <type> - identical to -tao_method

Available methods include

See Also

TaoCreate(), TaoGetType()

Level:intermediate
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/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
src/tao/constrained/examples/tutorials/toy.c.html
src/tao/constrained/examples/tutorials/toyf.F.html
src/tao/bound/examples/tutorials/plate2.c.html
src/tao/bound/examples/tutorials/jbearing2.c.html
tao_nls - Newton's method with line search for unconstrained minimization
tao_ntr - Newton's method with trust region for unconstrained minimization
tao_ntl - Newton's method with trust region, line search for unconstrained minimization
tao_lmvm - Limited memory variable metric method for unconstrained minimization
tao_cg - Nonlinear conjugate gradient method for unconstrained minimization
tao_nm - Nelder-Mead algorithm for derivate-free unconstrained minimization
tao_tron - Newton Trust Region method for bound constrained minimization
tao_gpcg - Newton Trust Region method for quadratic bound constrained minimization
tao_blmvm - Limited memory variable metric method for bound constrained minimization + tao_pounders - Model-based algorithm pounder extended for nonlinear least squares