TaoSolve
Solves an optimization problem min F(x) s.t. l <= x <= u
Synopsis
#include "taosolver.h"
PetscErrorCode TaoSolve(TaoSolver tao)
Collective on TaoSolver
Input Parameters
tao -the TaoSolver context
Notes
The user must set up the TaoSolver with calls to TaoSetInitialVector(),
TaoSetObjectiveRoutine(),
TaoSetGradientRoutine(), and (if using 2nd order method) TaoSetHessianRoutine().
See Also
TaoCreate(), TaoSetObjectiveRoutine(), TaoSetGradientRoutine(), TaoSetHessianRoutine()
Level:beginner
Location:src/interface/taosolver.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