Escolar Documentos
Profissional Documentos
Cultura Documentos
Maximization Problem)
The Mighty Silver Ball Company manufactures three kinds of pinball machines,
each requiring a different manufacturing technique. The Super Deluxe Machine
requires 17 hours of labor, 8 hours of testing, and yields a profit of $300.The Silver
Ball Special requires 10 hours of labor, 4 hours of testing, and yields a profit of
$200.The Bumper King requires 2 hours of labor, 2 hours of testing, and yields a
profit of $100. There are 1000 hours of labor and 500 hours of testing available.
In addition, a marketing forecast has shown that the demand for the Super Deluxe
is no more than 50 machines, demand for the Silver Ball Special is no more than
80, and demand for Bumper King is no more than 150.
The manufacturer wants to determine the optimal production schedule that will
maximize his total profit. Formulate this as a linear programming problem.
Resource Requirements
Hrs of
Labor
Super Deluxe Machine 17 hrs/unit
Hrs of
Testing
8 hrs/unit
Profit
$300/unit
10 hrs/unit
4 hrs/unit
$200/unit
Bumper King
2 hrs/unit
2 hrs/unit
$100/unit
Restrictions
Mine I
Mine II
Mine III
High-Grade Ore
Tons/day
4
6
1
Low-Grade Ore
Tons/day
4
4
6
Operating Cost
$1000/day
20
22
18
Universal has committed itself to deliver 54 tons of high-grade ore and 65 tons of
low grade ore by the end of the week. It also has labor contracts that guarantee
employees in each mine a full days pay for each day or fraction of a day the mine
is open. Determine the number of days each mine should be operated during the
upcoming week if Universal Mines is to fulfill its commitment at minimum total
cost.
Solution
Let x1, x2, and x3, respectively, represent the numbers of days that mines I, II, and
III will be operated during the upcoming week.
The complete linear programming model for this problem can be summarized as
follows:
Minimize Z=20,000x1+22,000x2+18,000x3
Subject to
4x1+6x2+x3 54
4x1+4x2+6x3 65
x1 7
x2 7
x3 7
x1, x2, x3 0
Operation-1
2
3
16
Operation-2
3
4
24
$ Profit/Unit
4
10
Product C:
$2 cost/unit for distraction
$3 profit/unit up to 5 units
Identify the decision variables
xA =Number of units of product A to produce
xB =Number of units of product B to produce
xC1 =Number of units of product C (up to 5 units) to produce
xC2 =Number of units of product C (grater than 5 units) to produce
Identify the restrictions
2xA + 3xB 16
3xA + 4xB 24
xC1 5
xC1+xC2 = 2xB
Identify the objective function
Maximize Z = 4xA + 10xB + 3xC1 2xC2
The complete linear programming model for this problem can now be summarized
as follows:
Maximize Z = 4xA + 10xB + 3xC1 2xC2
Subject to:
2xA + 3xB 16
3xA + 4xB 24
xC 5
xC1 +xC2 2xB = 0
xA, xB, xC1, xC2 0
Minimize
Z = 6x1 + 3x2
Subject to:
2x1 + 4x2 16
4x1 + 3x2 24
x1, x2 0
x2
C
8
Feasible Solution Area
6
4
B
Points
A
B
C
x1
8
4.8
0
10
x2
0
1.6
8
x1
Z
48
33.6
24
2x2 40
3x2 120
0
x2
x1 = 0
x2 = 20
Z = 600
40
30
x1 = 24
x2 = 8
Z = 1200
20
x1 = 30
x2 = 0
Z = 1200
10
C
0
10
20
30
40
x1
The above graph shows that two optimal solutions at points B and C exist.
Graphical Solution of an Infeasible Model
4
2
Graphical Solution
Unbounded Model
10
x1
of an
x1 4
x2 2
x1, x2 0
x2
8
6
4
2
10
x1
Z = x1+9x2+x3
Subject to:
x1+2x2+3x3 < 9
3x1+2x2+2x3 <15
x1, x2, x3 > 0
Cj
CB
0
0
BV
s1
s2
C Row
1
x1
1
3
1
9
x2
2
2
9
1
x3
3
2
1
0
s1
1
0
0
0
s2
0
1
0
RHS Ratio
9
9/2
15
15/2
Z=0
1
x1
2
-7/2
9
x2
1
0
0
1
x3
3/2
-1
-25/2
0
s1
1/2
-1
-9/2
0
s2
0
1
0
RHS Ratio
9/2
6
Z=81/2
Iteration 2:
Cj
CB
9
0
BV
x2
s2
C Row
Z = 40x1 + 30x2
Subject to:
x1 + 2x2 40
4x1 + 3x2 120
x1, x2 0
Converting the problem to standard form by adding additional slack variables, we
obtain
Maximize Z = 40x1+30x2
Subject to:
x1+2x2+s1
= 40
4x1+3x2
+ s2 = 120
x1, x2, s1, s2 > 0
Graphical Solution:
x2
x1 = 0
x2 = 20
Z = 600
40
30
x1 = 24
x2 = 8
Z = 1200
20
x1 = 30
x2 = 0
Z = 1200
10
C
0
10
20
30
40
x1
Iteration 1:
Cj
CB
0
0
BV
s1
s2
C Row
40
x1
1
4
40
30
x2
2
3
30
0
s1
1
0
0
0
s2
0
1
0
RHS Ratio
40
40/1
120 120/4
Z=0
40
x1
0
1
0
30
x2
5/4
3/4
0
0
s1
1
0
0
0
s2
-1/4
-10
RHS Ratio
10
8
30
40
Z=1200
Iteration 2:
Cj
CB
0
40
BV
s1
x1
C Row
Cj
CB
30
40
BV
x2
x1
C Row
40
x1
0
1
0
30
x2
1
0
0
0
s1
4/5
-3/5
0
0
s2
-1/5
2/5
-10
RHS Ratio
8
24
Z=1200
Z = 80x1 + 60x2
0.2x1 + 0.32x2 < 0.25
x1 + x2
=1
x1, x2 >0
Standard form:
Minimize Z= 80x1+60x2+M R1
Subject to: 0.2x1+0.32x2 + s1
= 0.25
x1+x2
+R1=1
x1, x2, s1, R1 > 0
Iteration 1:
Cj
CB
0
M
BV
s1
R1
C Row
80
x1
0.2
1
80-M
60
x2
0.32
1
60-M
0
s1
1
0
0
M
R1
0
1
0
RHS Ratio
0.25
0.78
1
1
Z=M
Iteration 2:
Cj
CB
60
M
BV
x2
R1
C Row
80
60
x1
x2
0.625
1
0.375
0
42.5-.37M 0
0
s1
3.125
-3.125
3.12M
M
R1 RHS Ratio
0 0.781 1.249
1 0.218 0.581
0 Z=46.8+0.21M
Iteration 3:
Cj
CB
0
80
BV
x2
x1
C Row
80
x1
0
1
0
60
x2
1
0
0
0
s1
8.333
-8.33
166.6
M
R1
-
RHS Ratio
0.4167
0.5833
Z=71.67
The above solution is unique optimal with x1=0.5833, x2=0.4167, s1= R1= 0
z =71.67.