NO FRAMES

CPXfreeprob

int CPXPUBLIC CPXfreeprob(CPXCENVptr env, CPXLPptr * lp_p)
Definition file: cplex.h
Include files: cplex.h

The routine CPXfreeprob removes the specified CPLEX problem object from the CPLEX environment and frees the associated memory used internally by CPLEX. The routine is used when the user has no need for further access to the specified problem data.

Example

 status = CPXfreeprob (env, &lp);

See also the example lpex1.c in the ILOG CPLEX User's Manual and in the standard distribution.

Parameters:

env

A pointer to the CPLEX environment as returned by CPXopenCPLEX.

lp_p

A pointer to a CPLEX problem object as returned by CPXcreateprob.

Example

 status = CPXfreeprob (env, &lp);

See also the example lpex1.c in the ILOG CPLEX User's Manual and in the standard distribution.

Returns:

The routine returns zero on success and nonzero if an error occurs.