ILOG CPLEX 10.2 User's Manual > Discrete Optimization > Solving Mixed Integer Programming Problems (MIP) > Example: Reading a MIP Problem from a File > ilomipex2.cpp

This example derives from ilolpex2.cpp, an LP example explained in the manual ILOG CPLEX Getting Started. That LP example differs from this MIP example in these ways:

Like other applications based on ILOG CPLEX Concert Technology, this one uses IloEnv env to initialize the Concert Technology environment and IloModel model(env) to create a problem object. Before it ends, it calls env.end to free the environment.