tao-2.2.2 2014-03-11

TaoSolverRegister

Adds a method to the TAO package for unconstrained minimization.

Synopsis

TaoSolverRegister(char *name_solver,char *path,char *name_Create,int (*routine_Create)(TaoSolver))
Not collective

Input Parameters

sname - name of a new user-defined solver
func - routine to Create method context

Notes

TaoSolverRegister() may be called multiple times to add several user-defined solvers.

Sample usage

   TaoSolverRegister("my_solver",MySolverCreate);

Then, your solver can be chosen with the procedural interface via

    TaoSetType(tao,"my_solver")
or at runtime via the option
    -tao_method my_solver

See Also

TaoSolverRegisterAll(), TaoSolverRegisterDestroy()

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