CPXfreeprob


Description

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.

Return Value

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

Synopsis

  int CPXfreeprob (CPXCENVptr env,
                   CPXLPptr *lp_p);

Arguments

CPXCENVptr env

The pointer to the CPLEX environment as returned by CPXopenCPLEX().

CPXLPptr *lp_p

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

Example

  status = CPXfreeprob (env, &lp);

See Also

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

Previous Page: CPXfputs Return to Top Next Page: CPXgetax