Overview | Group | Tree | Graph | Index | Concepts |
The routine CPXNETgetarcname
is used to access the names
of a range of arcs 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 arc names are to be returned, must be specified.
Example
status = CPXNETgetarcname (env, net, nnames, namestore, namespc, &surplus, 0, narcs-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 arc names stored in the |
namestore | Array of characters to which the specified arc names are to be copied. It may be NULL if |
namespc | Length of the |
surplus_p | Pointer to an integer to which the difference between |
begin | Index of the first arc for which a name is to be obtained. |
end | Index of the last arc for which a name is to be obtained. |
CPXERR_NEGATIVE_SURPLUS
indicates that insufficient space was available in the namestore
array to hold the names.