Examples On-Line

For the examples that we explain in the manual, we'll also show you the complete code for the solution, so that you can see exactly how CPLEX fits into your own applications. In case you prefer to study code on-line, you'll also find the complete code for these examples in a subdirectory of the standard distribution of CPLEX.

The following table describes all the examples in this manual and indicates where to find them, both on-line and in the manual:

Example 
Source File 
In This Manual 
dietary optimization: building a model by rows (constraints) or by columns (variables), solving with IloCplex 
ilodiet.cpp 
dietary optimization: building a model by rows (constraints) or by columns (variables), solving with the Callable Library 
diet.c 
linear programming: starting from an advanced basis 
ilolpex6.cpp 
lpex6.c 
mixed integer programming: optimizing a basic MIP 
ilomipex1.cpp 
mipex1.c 
mixed integer programming: reading a MIP from a formatted file 
ilomipex2.cpp 
mipex2.c 
mixed integer programming: using special ordered sets (SOS) and priority orders 
ilomipex3.cpp 
mipex3.c 
network optimization: using the Callable Library 
netex1.c 
network optimization: relaxing a network flow to an LP 
netex2.c 
quadratic programming: maximizing a QP 
qpex1.c 
quadratic programming: reading a QP from a formatted file 
qpex2.c 
input and output: using the message handler 
lpex5.c 
using query routines 
ilolpex7.cpp 
lpex7.c 
using callbacks 
ilolpex4.c 
lpex4.c 


Previous Page: In This Manual  Return to Top Next Page: Notation in This Manual