Food Manufacture 1: When to Buy and How to Blend


Features Demonstrated

The following features are demonstrated in this example:

  • problem type: linear programming

  • numeric and string index sets

  • reading dense two-dimensional data

  • bounds in the VAR statement

  • FIX statement

  • IMPVAR statement

  • MAX aggregation operator

  • SUBSTR function

  • using a colon (:) to select members of a set

  • set operators DIFF and UNION

  • linearizing a ratio constraint

  • range constraint

  • EXPAND statement

  • using a variable suffix (such as .sol) in the declaration of a numeric parameter

  • multiple input and output data sets

  • ALGORITHM= option