Description
The function CPXNETgetnumarcs() returns the number of network arcs stored in a CPLEX network problem object. If an error occurs, 0 is returned and an error message is issued.Synopsis
int CPXNETgetnumarcs (CPXENVptr env,
CPXNETptr net);
CPXENVptr envThe pointer to the CPLEX environment as returned by one of the
CPXopenCPLEX() routines.
CPXNETptr netA pointer to a CPLEX network problem object as returned by
CPXNETcreateprob().
cur_narcs = CPXNETgetnumarcs (env, net);