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);
CPXENVptr *env_pA 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().
status = CPXcloseCPLEX (&env);