tao-2.1-p0 2012-07-24

TaoSetInitialVector

Sets the initial guess for the solve

Synopsis

#include "taosolver.h" 
PetscErrorCode TaoSetInitialVector(TaoSolver tao, Vec x0)
Logically collective on TaoSolver

Input Parameters

tao - the TaoSolver context
x0 - the initial guess

See Also

TaoCreate(), TaoSolve()

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

Examples

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
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/leastsquares/examples/tutorials/chwirut1.c.html
src/leastsquares/examples/tutorials/chwirut2.c.html
src/leastsquares/examples/tutorials/chwirut1f.F.html
src/leastsquares/examples/tutorials/chwirut2f.F.html
src/pde_constrained/examples/tutorials/elliptic.c.html
src/pde_constrained/examples/tutorials/parabolic.c.html
src/pde_constrained/examples/tutorials/hyperbolic.c.html