tao-2.1-p0 2012-07-24

TaoSetDefaultLineSearchType

Sets the default LineSearch type if a LineSearch object is created.

Synopsis

#include "taosolver.h" 
PetscErrorCode TaoSetDefaultLineSearchType(TaoSolver tao, TaoLineSearchType lstype)
Logically Collective on TaoSolver

InputParameters

tao - the TaoSolver context
lstype - the line search type TAO will use by default

Note: Some solvers may require a particular line search type and will not work correctly if the default value is changed

Options Database Key

tao_ls_type -

Level:advanced
Location:src/interface/taosolver.c
TAO Solver Index
Table of Contents