TaoIsObjectiveAndGradientDefined#

Checks to see if the user has declared a joint objective/gradient routine. Useful for determining when it is appropriate to call TaoComputeObjective() or TaoComputeObjectiveAndGradient()

Synopsis#

Not Collective

Input Parameter#

  • tao - the Tao context

Output Parameter#

See Also#

TAO: Optimization Solvers, TaoSetObjectiveAndGradient(), TaoIsObjectiveDefined(), TaoIsGradientDefined()

Level#

developer

Location#

src/tao/interface/taosolver_fg.c


Edit on GitLab

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