TaoSolve#

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

Synopsis#

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

Collective

Input Parameters#

  • tao - the Tao context

Notes#

The user must set up the Tao with calls to TaoSetSolution(), TaoSetObjective(), TaoSetGradient(), and (if using 2nd order method) TaoSetHessian().

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

See Also#

Tao, TaoCreate(), TaoSetObjective(), TaoSetGradient(), TaoSetHessian(), TaoGetConvergedReason(), TaoSetUp()

Level#

beginner

Location#

src/tao/interface/taosolver.c

Examples#

src/ts/tutorials/ex20opt_ic.c.html
src/ts/tutorials/ex20opt_p.c.html
src/tao/unconstrained/tutorials/burgers_spectral.c.html
src/tao/unconstrained/tutorials/eptorsion1.c.html
src/tao/unconstrained/tutorials/eptorsion2.c.html
src/tao/unconstrained/tutorials/eptorsion2f.F90.html
src/tao/unconstrained/tutorials/eptorsion3.c.html
src/tao/unconstrained/tutorials/minsurf1.c.html
src/tao/unconstrained/tutorials/minsurf2.c.html
src/tao/unconstrained/tutorials/rosenbrock1.c.html
src/tao/unconstrained/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_BNLS in src/tao/bound/impls/bnk/bnls.c
TaoSolve_BNTL in src/tao/bound/impls/bnk/bntl.c
TaoSolve_BNTR in src/tao/bound/impls/bnk/bntr.c
TaoSolve_BQNK in src/tao/bound/impls/bqnk/bqnk.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_ADMM in src/tao/constrained/impls/admm/admm.c
TaoSolve_ALMM in src/tao/constrained/impls/almm/almm.c
TaoSolve_IPM in src/tao/constrained/impls/ipm/ipm.c
TaoSolve_PDIPM in src/tao/constrained/impls/ipm/pdipm.c
TaoSolve_BRGN in src/tao/leastsquares/impls/brgn/brgn.c
TaoSolve_POUNDERS in src/tao/leastsquares/impls/pounders/pounders.c
TaoSolve_LCL in src/tao/pde_constrained/impls/lcl/lcl.c
TaoSolve_BQPIP in src/tao/quadratic/impls/bqpip/bqpip.c
TaoSolve_GPCG in src/tao/quadratic/impls/gpcg/gpcg.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


Edit on GitLab

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