Refinery Optimization: How to Run an Oil Refinery


Features Demonstrated

The following features are demonstrated in this example:

  • problem type: linear programming (generalized network flow with side constraints)

  • numeric and string index sets

  • reading sparse two-dimensional data

  • NOMISS option

  • sets of tuples

  • bounds in the VAR statement

  • .ub variable suffix

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

  • set operators UNION, DIFF, CROSS, and SETOF

  • linearizing a ratio constraint

  • range constraint

  • INDEX function

  • implicit slice

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

  • index set in the PRINT statement