TaoSetType#
Sets the TaoType
for the minimization solver.
Synopsis#
#include "petsctao.h"
PetscErrorCode TaoSetType(Tao tao, TaoType type)
Collective
Input Parameters#
solver - the
Tao
solver contexttype - a known method
Options Database Key#
-tao_type
- Sets the method; use -help for a list of available methods (for instance, “-tao_type lmvm” or “-tao_type tron”)
See Also#
TAO: Optimization Solvers, Tao
, TaoCreate()
, TaoGetType()
, TaoType
Level#
intermediate
Location#
Examples#
src/ts/tutorials/ex20opt_ic.c.html
src/ts/tutorials/ex20opt_p.c.html
src/tao/unconstrained/tutorials/burgers_spectral.c.html
src/tao/unconstrained/tutorials/eptorsion1.c.html
src/tao/unconstrained/tutorials/eptorsion2.c.html
src/tao/unconstrained/tutorials/eptorsion2f.F90.html
src/tao/unconstrained/tutorials/eptorsion3.c.html
src/tao/unconstrained/tutorials/minsurf1.c.html
src/tao/unconstrained/tutorials/minsurf2.c.html
src/tao/unconstrained/tutorials/rosenbrock1.c.html
src/tao/unconstrained/tutorials/rosenbrock1f.F90.html
Index of all Tao routines
Table of Contents for all manual pages
Index of all manual pages