#include "petsctaolinesearch.h" PetscErrorCode TaoLineSearchCreate(MPI_Comm comm, TaoLineSearch *newls)Collective
| comm | - MPI communicator |
| newls | - the new TaoLineSearch context |
| more | - thuente - the More-Thuente method | |
| gpcg | - the GPCG method | |
| unit | - Do not perform any line search |
| -tao_ls_type | - select which method TAO should use |