petsc-3.9.4 2018-09-11
Report Typos and Errors

TaoSolve

Solves an optimization problem min F(x) s.t. l <= x <= u

Synopsis

#include "petsctao.h" 
PetscErrorCode TaoSolve(Tao tao)
Collective on Tao

Input Parameters

tao -the Tao context

Notes

The user must set up the Tao with calls to TaoSetInitialVector(), TaoSetObjectiveRoutine(), TaoSetGradientRoutine(), and (if using 2nd order method) TaoSetHessianRoutine().

You should call TaoGetConvergedReason() or run with -tao_converged_reason to determine if the optimization algorithm actually succeeded or why it failed.

See Also

TaoCreate(), TaoSetObjectiveRoutine(), TaoSetGradientRoutine(), TaoSetHessianRoutine(), TaoGetConvergedReason()

Level

beginner

Location

src/tao/interface/taosolver.c

Examples

src/ts/examples/tutorials/ex16opt_p.c.html
src/ts/examples/tutorials/ex16opt_ic.c.html
src/ts/examples/tutorials/ex20opt_p.c.html
src/ts/examples/tutorials/ex20opt_ic.c.html
src/tao/unconstrained/examples/tutorials/eptorsion1.c.html
src/tao/unconstrained/examples/tutorials/eptorsion2.c.html
src/tao/unconstrained/examples/tutorials/minsurf2.c.html
src/tao/unconstrained/examples/tutorials/rosenbrock1.c.html
src/tao/unconstrained/examples/tutorials/spectraladjointassimilation.c.html
src/tao/unconstrained/examples/tutorials/eptorsion2f.F.html
src/tao/unconstrained/examples/tutorials/rosenbrock1f.F90.html

Implementations

TaoSolve_BLMVM in src/tao/bound/impls/blmvm/blmvm.c
TaoSolve_BNCG in src/tao/bound/impls/bncg/bncg.c
TaoSolve_BQPIP in src/tao/bound/impls/bqpip/bqpip.c
TaoSolve_GPCG in src/tao/bound/impls/gpcg/gpcg.c
TaoSolve_PGD in src/tao/bound/impls/pgd/pgd.c
TaoSolve_TRON in src/tao/bound/impls/tron/tron.c
TaoSolve_ASFLS in src/tao/complementarity/impls/asls/asfls.c
TaoSolve_ASILS in src/tao/complementarity/impls/asls/asils.c
TaoSolve_SSFLS in src/tao/complementarity/impls/ssls/ssfls.c
TaoSolve_SSILS in src/tao/complementarity/impls/ssls/ssils.c
TaoSolve_IPM in src/tao/constrained/impls/ipm/ipm.c
TaoSolve_POUNDERS in src/tao/leastsquares/impls/pounders/pounders.c
TaoSolve_LCL in src/tao/pde_constrained/impls/lcl/lcl.c
TaoSolve_BMRM in src/tao/unconstrained/impls/bmrm/bmrm.c
TaoSolve_CG in src/tao/unconstrained/impls/cg/taocg.c
TaoSolve_LMVM in src/tao/unconstrained/impls/lmvm/lmvm.c
TaoSolve_NM in src/tao/unconstrained/impls/neldermead/neldermead.c
TaoSolve_NLS in src/tao/unconstrained/impls/nls/nls.c
TaoSolve_NTL in src/tao/unconstrained/impls/ntl/ntl.c
TaoSolve_NTR in src/tao/unconstrained/impls/ntr/ntr.c
TaoSolve_OWLQN in src/tao/unconstrained/impls/owlqn/owlqn.c

Index of all Tao routines
Table of Contents for all manual pages
Index of all manual pages