Define variables
A, B, C = Amount of products
A, B and C processed.
A_{S} , B_{S}, C_{S} = Amount of products
A, B and C Sold.
A_{B} the amount of A used for production of B.
B_{C} the amount of B used for production of C
R_{1}, R_{2} and R_{3} amounts of raw
materials 1, 2 and 3 used.
Objective is to maximize profit.
Z = 100A_{S} + 350B_{S} + 500C_{S}
 50R_{1}  20R_{2}  40R_{3}
Constraints describe conservation of flow
Process A:

A_{S} + A_{B}  A = 0

Process B:

B_{S} + B_{C}  B = 0

Process C:

C_{S}  C = 0

RM 1:

A + B + 0.3C  R_{1} = 0

RM2

0.6B + 0.2C  R_{2} = 0

RM3

C  R_{3} = 0

A in B:

A_{B}  2B = 0

B in C:

B_{C}  1.2C = 0.

Simple upper bounds limit production
0 ¾ A_{S} ¾ 100, 0 ¾ B_{S} ¾ 150, 0 ¾ C_{S}
¾ 200
Simple upper bounds imit raw material purchases
0 ¾ R_{1} ¾ 200, 0 ¾ R_{2} ¾ 150, 0 ¾ R_{3}
¾ 200
