| Overview | Group | Tree | Graph | Index | Concepts |
The routine CPXNETgetslack is used to access slack values
or, equivalently, violations of supplies/demands for a range of nodes in the
network stored in a network problem object.
For this function to succeed, a solution must exist for the problem object.
Example
status = CPXNETgetslack (env, net, slack, 10, 20);
| env | A pointer to the CPLEX environment as returned by |
| net | A pointer to a CPLEX network problem object as returned by |
| slack | Array in which to write solution slack variables for requested nodes. If NULL is passed, no data is returned. Otherwise, |
| begin | Index of the first node for which a slack value is to be obtained. |
| end | Index of the last node for which a slack value is to be obtained. |