Previous Page: CPXfreeFirst PageNext Page: CPXgetax

CPXfreeprob


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

Arguments


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

CPXLPptr *lp_p
A pointer to a CPLEX LP problem object as returned by CPXcreateprob().

Example

status = CPXfreeprob (env, &lp);

See Also

Example lpex1.c in the CPLEX User's Manual.

Previous Page: CPXfreeFirst PageNext Page: CPXgetax