TaoSolve#

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

Synopsis#

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

Collective

Input Parameter#

  • tao - the Tao context

Notes#

The user must set up the Tao object 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: Optimization Solvers, Tao, TaoCreate(), TaoSetObjective(), TaoSetGradient(), TaoSetHessian(), TaoGetConvergedReason(), TaoSetUp()

Level#

beginner

Location#

src/tao/interface/taosolver.c

Examples#

src/tao/leastsquares/tutorials/chwirut2.c
src/tao/tutorials/ex3.c
src/tao/leastsquares/tutorials/tomography.c
src/tao/pde_constrained/tutorials/elliptic.c
src/tao/tutorials/ex4.c
src/tao/leastsquares/tutorials/cs1.c
src/tao/leastsquares/tutorials/chwirut1f.F90
src/tao/leastsquares/tutorials/chwirut1.c
src/tao/leastsquares/tutorials/chwirut2f.F90
src/tao/pde_constrained/tutorials/parabolic.c

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


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