ILOG CPLEX 10.2 User's Manual > Discrete Optimization > Solving Mixed Integer Programming Problems (MIP) > Examples: Optimizing a Basic MIP Problem > mipex1.c

The example derives from lpex8.c. Here are the differences between that linear program and this mixed integer program: