# TaoDestroy

Destroys the TAO solver that was created with TaoCreate().

## Synopsis

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

Collective on TAO_SOLVER

## Input Parameter

solver -the TAO_SOLVER solver context

## Keywords

Destroy

## See Also

TaoCreate(), TaoSolve()

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

### Examples

src/bound/examples/tutorials/plate2.c.html
src/bound/examples/tutorials/jbearing2.c.html
src/bound/examples/tutorials/plate2f.F.html
src/complementarity/examples/tutorials/minsurf1.c.html
src/complementarity/examples/tutorials/blackscholes.c.html
src/unconstrained/examples/tutorials/eptorsion1.c.html
src/unconstrained/examples/tutorials/eptorsion2.c.html
src/unconstrained/examples/tutorials/minsurf2.c.html
src/unconstrained/examples/tutorials/rosenbrock1.c.html
src/unconstrained/examples/tutorials/eptorsion2f.F.html
src/unconstrained/examples/tutorials/rosenbrock1f.F.html