NO FRAMES

CPXcloseCPLEX

public int CPXcloseCPLEX(CPXENVptr * env_p)
Definition file: cplex.h

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.

Example

 status = CPXcloseCPLEX (&env);

See also lpex1.c in the CPLEX User's Manual.

Parameters:

env_p

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

Returns:

The routine returns zero if successful and nonzero if an error occurs.