ILOG CPLEX 11.0 User's Manual > Discrete Optimization > Using Semi-Continuous Variables: a Rates Example > Ending the Application

As in all C++ CPLEX applications, this program ends with a call to IloEnv::end to de-allocate the model and algorithm after they are no longer in use.

    env.end();