# TaoCopyDualsOfVariableBounds

Copy the current dual variables corresponding the lower and upper bounds on the variables.

## Synopsis

    #include "tao.h"
    int TaoCopyDualsOfVariableBounds(TAO_SOLVER tao, Vec DXL, Vec DXU)

## Input Parameters

tao -the solver

## Output Parameter

| DXL | - the lower bounds
| DXU | - the upper bounds

## Note

Existing vectors of commensurate distribution to the variable bounds should be passed into this routine.

## Note

These variables may have to be computed. It may not be efficient to call this routine in a Monitor.

## Note

These variables can be interpreted as the sensitivity of the objective value with respect to the bounds on the variables.

## Keywords

Application, bounds, duals

## See Also

TaoAppGetGradientVec(), TaoAppGetSolutionVec(), TaoAppSetVariableBoundsRoutine()

Level:intermediate
Location:src/petsctao/application/taoapp/taoapp_util.c
TAO Solver Index
Table of Contents