Description
The routine CPXfreeprob() removes the specified LP problem object from the CPLEX environment and frees the associated memory used internally by CPLEX. CPXfreeprob() is used when the user has no need for further access to the problem data.Return Value
The routine returns a zero on success, and a nonzero if an error occurs.Synopsis
int CPXfreeprob (CPXENVptr env,
CPXLPptr *lp_p);
CPXENVptr envThe pointer to the CPLEX environment as returned by one of the
CPXopenCPLEX routines.
CPXLPptr *lp_pA pointer to a CPLEX LP problem object as returned by
CPXcreateprob().
status = CPXfreeprob (env, &lp);