ILOG CPLEX 11.0 User's Manual > Discrete Optimization > Using Column Generation: a Cutting Stock Example > Complete Program

You can see the entire program online in the standard distribution of ILOG CPLEX at yourCPLEXinstallation/examples/src/cutstock.cpp.

You will also find CutStock.java in yourCPLEXinstallation/examples/src/. If your installation includes the .NET API of ILOG CPLEX, then you will also find the C#.NET implementation of this example in CutStock.cs and the VB.NET implementation in CutStock.vb.