The following features are demonstrated in this example:
problem type: mixed integer linear programming (stochastic programming with recourse)
numeric and string index sets
multiple input data sets
CROSS set operator
sets of tuples
.ub
variable suffix
linearization of product of continuous variable and binary variable
compact linearization
IF-THEN expression
using a variable suffix (such as .sol
) in the declaration of a numeric parameter
MAX aggregation operator
ROUND function
IF-THEN statement
using a colon (:) to select members of a set
FIX statement
MIN function
DROP statement
multiple SOLVE statements