Skip to main content
1 of 3
PeterD
  • 1.7k
  • 5
  • 16

I believe the following LP should satisfy your constraints. Please try to understand constraint (3) and tell me if this is what you wanted.

DECISION VARIABLES

\begin{align} x_{ij} \end{align} Number of crude barrel $i \in I$ processed at plant $j \in J$ \begin{align} y_{kj} \end{align} Number of output barrel $k \in K$ produced at plant $j \in J$

Linear Program \begin{align} \ & \max z = 2\sum_{j \in J} y_{0j} + \sum_{j \in J} y_{1j} \; \\ \textit{S.t:}\\ \\ & \sum_{j \in J} x_{0j} \leq 10,000,000 \\ & \sum_{j \in J} x_{1j} \leq 6,000,000 \\ & ic_{ij} y_{kj} \leq oc_{jk}x_{ij} \; \forall i \in I, j \in J, k \in K\\ & x_{ij} \geq 0, \; \forall i \in I, j \in J \\ & y_{kj} \geq 0, \; \forall k \in K, j \in J \end{align}

PeterD
  • 1.7k
  • 5
  • 16