Food Manufacture 2: Limiting the Number of Ingredients and Adding Extra Conditions


Features Demonstrated

The following features are demonstrated in this example:

  • problem type: mixed integer 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

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

  • multiple input and output data sets

  • BINARY option

  • .ub variable suffix

  • .body constraint suffix