Previous Page: CPXchgsenseFirst PageNext Page: CPXcopybase

CPXcloseCPLEX


Description

This routine frees all of the data structures associated with CPLEX and releases the license process. 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);

Arguments


CPXENVptr *env_p
A pointer to a variable holding the pointer to the CPLEX environment as returned by one of the CPXopenCPLEX routines. In other words, *env_p should hold the pointer returned by the call to either CPXopenCPLEXdevelop() or CPXopenCPLEXruntime().

Example

status = CPXcloseCPLEX (&env);

See Also

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

Previous Page: CPXchgsenseFirst PageNext Page: CPXcopybase