Description
Function CPXNETgetnumnodes() returns the number of network nodes stored in a CPLEX network problem object. If an error occurs, 0 is returned and an error message is issued.Synopsis
int CPXNETgetnumnodes (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_nnodes = CPXNETgetnumnodes (env, net);