Description
At any time after the creation of a CPLEX network problem object, the function CPXNETgetstat() can be called to access the solution status for that object.Return Value
If no solution is available for the CPLEX network problem object, CPXNETgetstat() returns 0. When a solution exists, the possible return values are:
int CPXNETgetstat (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().
netstatus = CPXNETgetstat (env, net);