Refinery Optimization: How to Run an Oil Refinery


Objective

The objective is to maximize the following function:

\[ \Variable{TotalProfit} = \sum _{i \in \text {FINAL}\mr{\_ }\text {PRODUCTS}} \Argument{profit[i]} \cdot \Variable{Flow[i,`sink']} \]