Integer Linear Optimization Models 449
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 type are produced. Let y
1
denote whether the parts of type
1 are produced, y
2
denote whether the parts of type 2 are produced, and y
3
denote whether the par ts of type 3 are produced. These binary va riables are
used to formulate the total fixed cost, F , with the following expr ession:
F = 150y
1
+ 100y
2
+ 85y
3
.
The weekly pr ofit is the objective function of the problem and can be
expressed as:
P = S − V − F.
The objective function can then be formulated with the following expres-
sion:
z =
34x
1
+ 22x
2
+ 40x
3
−18x
1
− 12x
2
− 22x
3
−150y
1
− 100 ...