We will constantly update this area with sample code and other materials from the book.
C# code for a console application (Solving Dantzig’s model)
C# code for scheduling using lp_solve. This code requires lpsolve55.dll and .NET 2.0 to work. This code has been tested with Version 126.96.36.199 for solving Dantzig’s scheduling model. Also needed is MatrixChart.cs component described in our book. The user can comment out the lines that instantiates MatrixChart object if a bitmap image of the Gantt view of the schedule doesn’t have to be generated. Output file genarted by this console application is given here.
- Cick here to get a short explanation of the Gantt view of the weekly schedule. This view is a pictorial representation of a solution of Dantzig’s scheduling model after stripping out the column tour vectors in matrix A that have been eliminated by lp_solve during the solution process.