tao-2.1-p0 2012-07-24

TaoSetType

Sets the method for the unconstrained minimization solver.

Synopsis

#include "taosolver.h" 
PetscErrorCode TaoSetType(TaoSolver tao, const TaoSolverType type)
Collective on TaoSolver

Input Parameters

solver - the TaoSolver 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/interface/taosolver.c
TAO Solver Index
Table of Contents

Examples

src/unconstrained/examples/tutorials/eptorsion1.c.html
src/unconstrained/examples/tutorials/eptorsion2.c.html
src/unconstrained/examples/tutorials/minsurf2.c.html
src/unconstrained/examples/tutorials/rosenbrock1.c.html
src/unconstrained/examples/tutorials/eptorsion2f.F.html
src/unconstrained/examples/tutorials/rosenbrock1f.F.html
src/bound/examples/tutorials/plate2.c.html
src/bound/examples/tutorials/jbearing2.c.html
src/bound/examples/tutorials/plate2f.F.html
src/complementarity/examples/tutorials/minsurf1.c.html
src/complementarity/examples/tutorials/blackscholes.c.html
src/leastsquares/examples/tutorials/chwirut1.c.html
src/leastsquares/examples/tutorials/chwirut2.c.html
src/leastsquares/examples/tutorials/chwirut1f.F.html
src/leastsquares/examples/tutorials/chwirut2f.F.html
src/pde_constrained/examples/tutorials/elliptic.c.html
src/pde_constrained/examples/tutorials/parabolic.c.html
src/pde_constrained/examples/tutorials/hyperbolic.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