# TaoSetMethodFromOptions

Sets the TAO_SOLVER solver type from the options database, or sets a default if no method has been specified.

## Synopsis

    #include "tao_solver.h"
    int TaoSetMethodFromOptions(TAO_SOLVER solver)

Collective on TAO_SOLVER

## Input Parameter

solver -the TAO_SOLVER solver context

## Options Database Keys

-tao_method <type> -tao_nls, tao_ntr, tao_lmvm, tao_cg, tao_tron, etc.

## Keywords

method, options, database

## See Also

TaoSetOptions()

Level:intermediate
Location:src/interface/newsolver.c
TAO Solver Index
Table of Contents