CPXcloseCPLEX


Description

This routine frees all of the data structures associated with CPLEX and releases the license. It should be the last CPLEX routine called in any Callable Library application.

Return Value

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

Synopsis

  int CPXcloseCPLEX (CPXENVptr *env_p);

Argument

CPXENVptr *env_p

A pointer to a variable holding the pointer to the CPLEX environment as returned by CPXopenCPLEX().

Example

  status = CPXcloseCPLEX (&env);

See Also

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

Previous Page: CPXcloneprob Return to Top Next Page: CPXcompletelp