petsc-3.7.3 2016-07-24
Report Typos and Errors

# TaoGetDualVariables

Gets pointers to the dual vectors

### Synopsis

    #include "petsctao.h"
    PetscErrorCode TaoGetDualVariables(Tao tao, Vec *DE, Vec *DI)

Collective on Tao

### Input Parameters

tao -the Tao context

### Output Parameter

| DE | - dual variable vector for the lower bounds
| DI | - dual variable vector for the upper bounds

### See Also

TaoComputeDualVariables()

Level:advanced
Location: src/tao/interface/taosolver_bounds.c
Index of all Tao routines
Table of Contents for all manual pages
Index of all manual pages

### Examples

src/tao/constrained/examples/tutorials/toy.c.html
src/tao/constrained/examples/tutorials/toyf.F.html