
378 Introduction to Computational Modeling
Part type Material Labor Sales price Var cost
1 7 5 34.00 18.00
2 5 4 22.00 12.00
3 7 12 40.00 22.00
In formulating this linear optimization model, let x
1
denote the number of parts
manufactured of type 1, x
2
denote the number of parts manufactured of type 2, and
x
3
denote the number of parts manufactured of type 3. These integer variables are
used to formulate the total sales, S, with the following expression:
S = 34x
1
+ 22x
2
+ 40x
3
The total costs variable, V , is formulated with the following expression:
V = 18x
1
+ 12x
2
+ 22x
3
The cost of renting the machines (the fixed cost) depends on whether the parts of
a specific ...