For the examples explained in the manual, you will find the complete code for the solution in the examples
subdirectory of the standard distribution of ILOG CPLEX, so that you can see exactly how ILOG CPLEX fits into your own applications. Table 1 lists the examples in this manual and indicates where to find them.
Example |
Source File |
In This Manual |
dietary optimization: building a model by rows (constraints) or by columns (variables), solving with IloCplex in C++ |
ilodiet.cpp | |
dietary optimization: building a model by rows (constraints) or by columns (variables), solving with IloCplex in Java |
Diet.java | |
dietary optimization: building a model by rows (constraints) or by columns (variables), solving with Cplex in C#.NET |
Diet.cs | |
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 | |
network optimization: using the Callable Library |
netex1.c | |
network optimization: relaxing a network flow to an LP |
netex2.c | |
quadratic programming: maximizing a QP |
iloqpex1.cpp
QPex1.java
qpex1.c | |
quadratic programming: reading a QP from a formatted file |
qpex2.c | |
quadratically constrained programming: QCP |
qcpex1.c
iloqcpex1.cpp
QCPex1.java | |
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 | |
cutting stock: using column generation |
cutstock.cpp | |
transport: piecewise-linear optimization |
transport.cpp | |
food manufacturing 2: using logical constraints |
foodmanufac.cpp | |
early tardy scheduling |
etsp.cpp | |
input and output: using the message handler |
lpex5.c | |
using query routines |
lpex7.c | |
using callbacks |
ilolpex4.cpp
lpex4.c
iloadmipex5.cpp | |
using the tuning tool |
tuneset.c | |
mixed integer programming: solution pool |
location.lp | |