Self-Check Solution - Graphic Methods
Self-Check Solution - Graphic Methods
Labor hr. 2 1 40
Machine hr. 1 3 45
Marketing/demand 1 0 12
Profit $300 $250
Solution
1. Formulation of mathematical model (LPM):
Max Z=300X1 +250X2
st: 2X1 +X2 < 40 Labor hr.
X1 + 3X2 < 45 Machine hr.
X1 + < 12 Marketing hr.
X1, X2 > 0
2.Convert constraints inequalities into equalities and
calculate intercepts by simply assuming both sides (RHS & LHS) are
equal
2X1 +X2 = 40 ==> (0, 40) and (20, 0)
X1 +3X2 = 45 ==> (0, 15) and (45, 0)
X1 = 12 ==> (12, 0)
Solution…Cont’d
3. Draw the graph using the intercepts
Constraints Amount of Hrs used Available hrs Slack hrs = (Av – used)
Labour hrs 2 (12) + 11= 35 40 5
12 = 12 0
Marketing 12
Machine hr. 12 +3 (11) = 45 45 0
Note the constraint that includes the feasible solution always have zero slack
Slack …Cont.
• Thus, the complete solution tells management that
the production of 12 Model A TV set and 11 Model B TV set will
require
all available Machin hours ( 45 hrs) &
all available demand (11), and
Unused /idle/ 7 hours of labour time
• Thus 7 hours of unused labour time is referred to as slack.
Self-check 2: problem of forklift and truck
• Application: Product Mix:
• A company manufactures two products: forklift and truck. These products
require the following machine resources. The resources are the capacities
of machine M1, M2, and M3. The available capacities for the machines are
50, 25, and 15 hours respectively in the planning period. Forklift requires 1
hour of machine M2 and 1 hour of machine M3. the truck requires 2 hours
of machine M1, 2 hours of machine M2 and 1 hour of machine M3. The
profit contribution of products X and Y are Birr 4 per unit and Birr 5 per
unit respectively.
• Formulate the LP model to the optimal values that maximize the profit of
the company
Solution…Cont’d
• Step 1: determine the decision variables
• Let the company manufactures x units of forklift and y units of truck.
• Step2: determine the objective: Max(Z): 4x + 5y
• Step 3: determine the constraints for each product and machine
Const. M1 = 0x + 2y ≤ 50
Const. M2 = 1x + 1y ≤ 25
Const. M3 = 1x + 2y ≤ 15
Solution…Cont’d
Intercepts:
St. M1. 0x + 2y = 50 (0, 25) => horizontal line
M2 1x + 2y ≤ 25 (0, 12.5), ( 25,0)
M3. 1x + 1y ≤ 15 (0, 15), (15, 15)
Step 5: Draw the graph &
determine the FR
Max Z = 4x + 5y M1. 0x + 2y ≤ 50
M2 1x + 2y ≤ 25
M3. 1x + 1y ≤ 15
Corners OF values
A(0, 0) = 4(0) + 5(0) = $0
B(0, 0) = 4(0) + 5(12.5) = $62.5
C(5, 10) = 4(5) + 5(10) = $70
D( 0, 15) = 4(0) + 5(15) = $75 The Optimal value
Interpret the result
The exact location of the optimal solution point is x = 5 & y= 10
Hence, the optimal production quantities for manufacturing company are 5
forklifts and 10 trucks, with a resulting optimal profit contribution of
$6,350 (optimal value)
Constraints Amount of Hrs used Available hrs Slack hrs = (Av – used)
M1 0 (0) + 2(15) = 30 50 20
M2 1 (0) + 2(15) = 25 30 0
1(0) + 1(15) = 15 15 0
M3
Self-Check 2: the problem of bags: Solution
• Par, Inc., is a small manufacturer of golf equipment and supplies whose
management has decided to move into the market for medium- and high-priced
golf bags. Par’s distributor is enthusiastic about the new product line and has
agreed to buy all the golf bags Par produces over the next three months.
• A golf bag, management determined that each golf bag produced will require the
following four operations: cutting and dyeing the material; sewing, finishing
and inspection and packaging.
• The director of manufacturing analysed each of the operations and concluded
that if the company produces a medium-priced standard model, each bag will
require 7⁄10 hour in the cutting and dyeing department, 1⁄2 hour in the sewing
department, 1 hour in the finishing department, and 1⁄10 hour in the inspection
and packaging department.
• The more expensive deluxe model will require 1 hour for cutting and dyeing,
5⁄6 hour for sewing, 2⁄3 hour for finishing, and 1⁄4 hour for inspection and
packaging.
cont’d
• Par’s production is constrained by a limited number of hours available in
each department where the director of manufacturing estimates that 630
hours for cutting and dyeing, 600 hours for sewing, 708 hours for
finishing, and 135 hours for inspection and packaging will be available
for the production of golf bags during the next three months.
• The accounting department analysed the production data, assigned all
relevant variable costs, and arrived at prices for both bags that will result in a
profit contribution of $10 for every standard bag and $9 for every deluxe
bag produced.
• Required tasks:
• Formulate the LP model
• Determine the optimal solution and the optimal value using corner points method of
graphical method
• Interpret the result
• Determine the slake amount.
Cont’d
• Describe the Objective: The objective is to maximize the total contribution to
profit.
• Describe Each Constraint: Four constraints relate to the number of hours of
manufacturing time available; they restrict the number of standard bags and the
number of deluxe bags that can be produced.
• Constraint 1: Number of hours of cutting and dyeing time used must be less
than or equal to the number of hours of cutting and dyeing time available.
• Constraint 2: Number of hours of sewing time used must be less than or equal
to the number of hours of sewing time available.
• Constraint 3: Number of hours of finishing time used must be less than or equal
to the number of hours of finishing time available.
• Constraint 4: Number of hours of inspection and packaging time used must be
less than or equal to the number of hours of inspection and packaging time
available.
Formulation of LPM-E.g. 2 ….cont’d
• Define the Decision Variables:
• The controllable inputs for Par, Inc., are (1) the number of standard bags
produced, and (2) the number of deluxe bags produced.
• Let S = number of standard bags and D = number of deluxe bags.
• In linear programming terminology, S and D are referred to as the
decision variables.
• Par’s total profit contribution comes from two sources: the profit
contribution made by producing S standard bags, and the profit contribution
made by producing D deluxe bags.
• If Par makes $10 for every standard bag, the company will make $10S if S
standard bags are produced. Also, if Par makes $9 for every deluxe bag, the
company will make $9D if D deluxe bags are produced.
• Thus, we have Total Profit Contribution, Max Z = 10S + 9D
Formulation of LPM-E.g. 2….cont’d
• Point B is the intersection point of the two graphs, which is found when
the two constraints are equal. Use elimination procedure to determine the
values at the point of intersection.
30X1+40X2 = 1,200 - multiply by -3 30X1 + 40( 9) =1200
90X1+ 50X2 = 2970 30X1= 1200 - 360
Let X1 = The No of days refinery A should =>T o simplify the problem divide by 1000 the
work & constraints
X2 =The No of days refinery B should
Min Z =1500x1+2400x2 St:
work.
a. LPP of the problem 4X1+1x2 > 24 ---(0, 24) (6, 0)
Min Z=1500x1 +2400x2 St: 2X1+3x2 > 42 ---(0, 14) (21, 0)
4000x1+1000x2 > 24000----SUG X1+4x2 > 36 ---(0, 9) (36, 0)
2000x1+3000x2 > 42000 ---RUG x1 < 14 --- vertical line
________________________________________________________________
. Corners Coordinates Max Z = 1500x1 + 2400x2
A (2.5, 4) $37,350
B (14, 14) 54,600
C (14, 5.5) 34200
D (12, 6) 32,400
E (3, 12) 33,300
_______________________________________________________________
• The dietary requirements of the special feed are at least 30% protein and
at most 5% fibre. Ozark Farms wishes to determine the daily minimum-
cost feed mix.
Mini. Cont.
DV: Because the feed mix consists of corn and soybean meal, the decision variables of
the model are defined as
x1 = lb of corn in the daily mix
x2 = lb of soybean meal in the daily mix
OF: The objective function seeks to minimize the total daily cost (in dollars) of the
feed mix and is thus expressed as Minimize z = 0.3x1 + 0.9x2
Constraints: The constraints of the model reflect the:
daily amount of feed needed and
the dietary requirements.
Mini. Cont.
• Because Ozark Farms needs at least 800Ib of feed a day, the associated
constraint (daily feed) can be expressed as x1+ x2 ≥ 800- total feed mix
needed per day
• As for the protein dietary requirement constraint, the amount of protein
included in x1 lb of corn and x2 lb of soybean meal is 0.09x1lb + 0.6x2 lb.
• This quantity should equal at least 30% of the total feed mix of protein (x1 +
x2) lb-that is, 0.09x1 + 0.6x2 ≥ 0.3 (x1+x2)
• In a similar manner, the fibre requirement of at most 5% of total feed mix
of fibr is constructed as .02x1 + 0.06x2 ≤ 0.05 (x1+x2).
Mini. Cont.
• The l.p.p. model
• Minimize z= .3x1 + .9x2
• Subject to x1 + x2 ≥ 800
.21x1 –.30x2 ≤ 0
.03x1 - .0lx2 ≥ 0
x1, x2 ≥ 0
Mini. Cont.
• Because the present model seeks the minimization of the objective
function, we need to reduce the value of z as much as possible in the
direction shown in Figure below.
• The optimum solution is the intersection of the two lines x1 + x2 = 800
and .21x1 - .3X2 = 0, which yields X1 = 470.591b and X2 = 329.41 lb.
• The associated minimum cost of the feed mix is z = .3 X 470.59 + .9 x
329.42 = $437.65 per day.
Self-check 3 (Mixed constraint- Max case-solution
B(6, 2)
C(6, 4)
0)
( 2,
A(0, 0) D
Cont.
• Now pair the lines to form a system of linear equations to find the
corner points.
3x – y = 0 <--------- multiply by 2
x + 2y = 14
x + 2y = 14
X–y=2
3y = 12 6x -2y = 0
y = 4 x + 2y = 14
X -4 = 2 7x = 14
X = 6 X=2
C( 2, 6) 3(2) -y = 0
Y= 6
B( 2, 6)
Cont.
Coordinates Max Z = 5x + 3y
A(0,0) 5*0 + 3*0 = 0
B(6,2) 5*6 + 3*2 = 36
C (6, 4) 5*6 + 3*4 = 42
D( 2, 0) 5*2 + 3*0 = 10