Overview | Group | Tree | Graph | Index | Concepts |
The routine CPXNETgetnodename
is used to obtain the names
of a range of nodes in a network stored in a network problem object. The
beginning and end of the range, along with the length of the array in which
the node names are to be returned, must be specified.
Example
status = CPXNETgetnodename (env, net, nnames, namestore, namespc, &surplus, 0, nnodes-1);
env | A pointer to the CPLEX environment as returned by |
net | A pointer to a CPLEX network problem object as returned by |
nnames | Where to copy pointers to node names stored in the |
namestore | Array of characters to which the specified node names are to be copied. It may be NULL if |
namespc | Length of the |
surplus_p | Pointer to an integer in which the difference between |
begin | Index of the first node for which a name is to be obtained. |
end | Index of the last node for which a name is to be obtained. |
CPXERR_NEGATIVE_SURPLUS
indicates that there was not enough space in the namestore
array to hold the names.