tao-2.1-p0 2012-07-24

TaoComputeDualVariables

Computes the dual vectors corresponding to the bounds of the variables

Synopsis

#include "taosolver.h" 
PetscErrorCode TaoComputeDualVariables(TaoSolver tao, Vec DL, Vec DU) 
Collective on TaoSolver

Input Parameters

tao -the TaoSolver context

Output Parameter

DL - dual variable vector for the lower bounds
DU - dual variable vector for the upper bounds

Note

DL and DU should be created before calling this routine. If calling this routine after using an unconstrained solver, DL and DU are set to all zeros.

See Also

TaoComputeObjective(), TaoSetVariableBounds()

Level:advanced
Location:src/interface/taosolver_bounds.c
TAO Solver Index
Table of Contents