top of page


1 Introduction
1.1 Introduction
2 Implementation
2.1 Initial implementation of an optimization model
2.2 Producing the output
2.3 Arrays of variables and constraints
2.4 Summation of decision variables
2.5 The for-all statement
2.6 Multiple statements on a single line
2.7 Creating comment sections
2.8 Applying code conditionally
2.9 Explicit and implicit variable declarations
2.10 Modelling Mixed Integer Linear Programs
2.11 Writing the optimal solution to Excel
2.12 Initializing input from Excel
2.13 Placing the code in procedures
2.14 Placing the code in functions
2.15 The structure of the optimization model
2.16 Multidimensional decision variables
3 Conclusions
3.1 Conclusions
bottom of page