TaoSetTaoDualVariablesRoutine

Set a routine that can be called to compute the dual variables on the lower and upper bounds of the variables.

Synopsis

#include "tao_solver.h"  
int TaoSetTaoDualVariablesRoutine(TAO_SOLVER tao, 
                               int (*duals)(TAO_SOLVER,TaoVec*,TaoVec*,void*))
Collective on TAO_SOLVER

Input Parameters

tao - the TAO_SOLVER context
dual - Dual variables routine

Note: The calling sequence of the dual routine passes the TAO_SOLVER object in the first argument, an (optional) pointer to a TaoVec to put the duals of the lower bounds, an (optional) pointer to a TaoVec to put the duals of the upper bounds, and the solver context passed to TAO in TaoSetSolver().

Keywords

TAO_SOLVER, duals

See Also

TaoSetTaoSolveRoutine()

Level:developer
Location:src/interface/newsolver.c
TAO Solver Index
Table of Contents