ILOG CPLEX 11.0 User's Manual > Discrete Optimization > Using Piecewise Linear Functions in Optimization: a Transport Example > Ending the Application

As in other C++ examples in this manual, the application ends with a call to the method IloEnv::end to clean up the memory allocated for the environment and algorithm.

env.end();