MGT Science
MGT Science
Problem:
The Balelo Company manufactures vases and candle holders using only two materials: labor and
resin. Given these two finite resources, the corporation want to determine the optimal daily
production of vases and candle holders. This is referred regarded as a product mix problem in
general. There are 40 hours of labor and 120 grams of resins available each day for production.
The two items use the following resources for manufacturing and generate the following profit
per item produced.
Labor Resin Profit
Product (hr/unit) (gm/unit) (Php / unit)
Vase 1 4 40
Candle holder 2 3 50
GRAPHING SOLUTION:
1. Constraints line plotted as equation X2
Consider the line 1 (labor constraint)
50
x1 + 2x2 ≤ 40 hrs of labor
40
x1 + 2x2 = 40 x1 + 2x2 = 40
30
(0) + 2x2 = 40 x1 +2(0) = 40
20
x2 = 40/2 x1 = 40
x2 = 20 10
X1
0 10 20 30 40 50
Consider the line 2 (resin constraint) X2
4x1 + 3x2 ≤ 120grms of resins
4x1 + 3x2 = 120 4x1 +3x2 = 120 50
x2 = 120 / 3 x1 = 120 / 4 30
x2 = 40 x1 = 30 20
10
X1
0 10 20 30 40 50
2. Optimal Solution
X2
50
40
Point A: x1=0 ; x2= 20
30
A
20
10
B
Point C: x1=30 ; x2= 0
C X1
0 10 20 30 40 50
Point B = ? (Determine the solution values mathematically once the optimal solution points on
the graph have been determined)
a. Convert the both equations to function of x1
x1 + 2x2 = 40 4x1 + 3x2 = 120
x1= 40- 2x2 4x1 = 120-3x2
x1 = 30 – (3x2/4)
b. Let x2 in the first equation equal x
40-2x2 = 30-(3x2/4)
[40-2x2 = 30-(3x2/4)]4
160-8x2 = 120-3x2
8x2-3x2 -= 160-120
5x2 = 40
x2 = 40/5
x2= 8
Substituting the value of x2 = 8 into either one of the original equations to give value
to x1
x1 + 2x2 = 40
x1 = 40-2x2
x1 = 40 – 2(8)
x1 = 40 – 16
x1 = 24
The optimum solution is point B which will give a maximum profit of Php 1,360.00
SPECIAL CASES OF LINEAR PROGRAMMING MODELS
Only one optimal solution has been attained in the production problem of ABC, Inc. It is a distinctive in
most cases linear programming problems. Figure 2.12 express the feasible area together with the objective
function z (the arrow specifies the improvement directions of the objective value). Unique optimal solution
is the corner point A.
LINEAR PROGRAMMING
Learning Objectives
Define t he problem:
What is the problem?
What do we need to achieve?
Formulat ion:
1. Decision Variables:
Formulat ion:
1. Decision Variables:
1. Decision Variables:
2. Objective Function
Formulat ion:
2. Objective Function
2. Objective Function
2. Objective Function
TR = 500x1 + 700x2
Formulat ion:
2. Objective Function
2. Objective Function
2. Objective Function
WC = 50x1 + 70x2
Formulat ion:
2. Objective Function
2. Objective Function
2. Objective Function
2. Objective Function
2. Objective Function
2. Objective Function
TC = WC + WLC + PALC
Formulat ion:
2. Objective Function
TC = WC + WLC + PALC
2. Objective Function
TC = WC + WLC + PALC
2. Objective Function
TP = TR-TC
Formulat ion:
2. Objective Function
TP = TR-TC
TP = (550x1 + 700x2) – (100x1+150x2)
Formulat ion:
2. Objective Function
TP = TR-TC
TP = (550x1 + 700x2) – (100x1+150x2)
TP = 450x1 + 550x2
Formulat ion:
2. Objective Function
3. Constraints
Formulat ion:
3. Constraints
3. Constraints
3. Constraints
3. Constraints
Formulat ion:
3. Constraints
3. Constraints
3. Constraints
x1 + 2x2 5000
Formulat ion:
3. Constraints
x1 + x2 3000
Formulat ion:
3. Constraints
x1 2000
Formulat ion:
3. Constraints
x1 + 2x2 ≤ 5000,
x1 + x2 ≤ 3000 ,
x1 ≤ 2000 ,
x1, x2 ≥ 0 .
Thank you!
47
CHAPTER 2
LINEAR PROGRAMMING
2.2 GRAPHICAL
SOLUTION OF LINEAR
PROGRAMMING
PROBLEMS
Graphical Solut ions of Linear Programming
Models:
Figure 2.0
• The first step in drawing the graph of the model is to plot the constraints on the
graph, this is done by treating both constraints as equation and plotting each line
on the graph.
Thus, for the painting and assembling labor constraint, the first point is x1=0 and x2
=3000 and second point, x1=3000, x2=0.
• We draw a line for the number of cars produce (Line 3) the same way as the one
for the two constraints
x1 ≤ 2000
x1 = 2000
STEP 2: COMBINING CONSTRAINTS
Infeasible
Solution
Feasible
Solution
STEP 3: FINDING THE OPTIMAL SOLUTION
A
B
D
STEP 3: FINDING THE OPTIMAL SOLUTION
A
B
D
STEP 4: The Solut ion Value
• The 4th step in the graphical solution approach is to solve for the values of x1
and x2 once the possible optimal solution points have been found.
• Point A is x1 = 0 and x2 = 2500
• Point C is x1 = 2000 and x2 = 1000
• Point D is x1 = 2000 and x2 = 0
• But what are the coordinates of point B?
• The more exact approach is to determine the solution values mathematically
once the possible optimal solution points on the graph has been determined.
• The value of x1 and x2 coordinates of point B can be found by solving the two
equations simultaneously.
• First, we convert both equations to x1:
x1 + 2x2 = 5000
x1= 5000-2x2
and
x1 + x2 = 3000
x1 =3000-x2
• Now, we let x1 in the first equation equal x2 in the second equation:
5000-2x2 = 3000 – x2
2x2 –x2 = 5000-3000
x2 = 2000
• Substituting x2 = 2000 into either one of the original equations gives a value for
x1:
x1 = 5000 - 2x2
x1 = 5000 – 2(2000)
x1 = 5000 – 4000
x1 = 1000
• Thus the coordinates for B are x1 = 1000 and x2 = 2000. Substituting these
values into the objective functions gives us the following profit for point B:
z = 450x1 + 550x2
z = 450 (1000) + 550 (2000)
z = 450,000 + 1,100,000
z = 1,550,000.00
Point A ( x1= 0, x2= 2500) will give us a profit of :
z = 450x1 + 550x2
z = 450 (0) + 550 (2500)
z = 0 + 1,375,000
z = Php 1,375,000
x1 = 1000
B X2 = 2000
Z= Php 1,550,000
x1 = 2000
X2 = 1000
C Z= Php 1,450,000
x1 = 2000
X2 = 0
D Z= Php 900,000
Summary of t he graphical solut ion st eps:
The steps for solving a graphical linear programming models are
summarized here:
29