TaoAppSetDefaultSolutionVec

Sets the vector representing the variables and an initial guess.

Synopsis

#include "tao.h"  
int TaoAppSetDefaultSolutionVec(TAO_APPLICATION taoapp, Vec xx)
Collective on TAO_APPLICATION

Input Parameters

taoapp - the TAO_APPLICATION context
xx - variable vector that stores the solution

Note

This vector will be used by the solver, so do not use it for other purposes. The user should destroy this vector after solving the application.

See Also

TaoAppGetSolutionVec(), TaoAppSetObjectiveRoutine(), TaoAppSetInitialSolutionVec()

Level:beginner
Location:src/petsctao/application/petscapp/tao_app.c
TAO Solver Index
Table of Contents