Previous Page: CPXNETextract First PageNext Page: CPXNETgetarcindex

CPXNETfreeprob


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);

Arguments


CPXENVptr env
The pointer to the CPLEX environment as returned by one of the CPXopenCPLEX routines.

CPXNETptr *net_p
CPLEX network problem object to be deleted.

Example

CPXNETfreeprob (env, &net);

Previous Page: CPXNETextract First PageNext Page: CPXNETgetarcindex