Overview | Group | Tree | Graph | Index | Concepts |
The routine CPXgetqconstrslack
is used to access
the slack values
for a range of the quadratic constraints of a
quadratically constrained program. The
beginning and end of the range must be specified.
The slack values returned consist of the right-hand side minus the constraint
activity level.
Example
status = CPXgetqconstrslack (env, lp, qcslack, 0, CPXgetnumqconstrs(env,lp)-1);
env | A pointer to the CPLEX environment as returned by |
lp | A pointer to a CPLEX problem object as returned by |
qcslack | An array to receive the values of the slack or surplus variables for each of the constraints. This array must be of length at least ( |
begin | An integer indicating the beginning of the range of slack values to be returned. |
end | An integer indicating the end of the range of slack values to be returned. |