Description
Deletes a CPLEX network problem object pointed to by net_p. This also deletes all network problem data and solution data stored in the CPLEX network problem object.Return Value
If the operation is successful, CPXNETfreeprob() returns the value 0; if not, it returns a nonzero value to indicate an error.Synopsis
void CPXNETfreeprob (CPXENVptr env,
CPXNETptr *net_p);
CPXENVptr envThe pointer to the CPLEX environment as returned by one of the
CPXopenCPLEX routines.
CPXNETptr *net_pCPLEX network problem object to be deleted.
CPXNETfreeprob (env, &net);