# TaoGetSolution

Sets a pointer to a TaoVec to the address of the vector containing the current solution.

## Synopsis

    #include "tao_solver.h"
    int TaoGetSolution(TAO_SOLVER solver,TaoVec** xx)

## Input Parameter

| solver | - the TAO_SOLVER solver context
| xx | - the address of a pointer to a TaoVec

## Output Parameter

xx -the solution

Note: This routine does not create a vector. It sets a pointer to the location of an existing vector.

## Note

This vector is a reference to the vector set in the application and passed to TAO in TaoSetApplication().

## Keywords

solve, solution

## See Also

TaoCreate(), TaoGetGradient(), TaoSetApplication()

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