Overview | Group | Tree | Graph | Index | Concepts |
The routine CPXNETgetarcnodes
is used to access the
“from nodes” and “to nodes” for a range of arcs in
the network stored in a network problem object.
Example
status = CPXNETgetarcnodes (env, net, fromnode, tonode, 0, cur_narcs-1);
env | A pointer to the CPLEX environment as returned by |
net | A pointer to a CPLEX network problem object as returned by |
fromnode | Array in which to write the “from node” indices of the requested arcs. If NULL is passed, no “from node” indices are retrieved. Otherwise, the size of the array must be ( |
tonode | Array in which to write the “to node” indices of the requested arcs. If NULL is passed, no “to node” indices are retrieved. Otherwise, the size of the array must be ( |
begin | Index of the first arc to get nodes for. |
end | Index of the last arc to get nodes for. |