ILOG CPLEX 11.0 User's Manual > Discrete Optimization > Using Piecewise Linear Functions in Optimization: a Transport Example > Developing a Model

As in other examples in this manual, this application begins by creating an environment, an instance of IloEnv.

IloEnv env;

Within that environment, a model for this problem is created as an instance of IloModel.

IloModel model(env);

Then constraints and an objective are added to the model. The following sections sketch these steps.