Professional Documents
Culture Documents
Linear Programming Prob Chap 2
Linear Programming Prob Chap 2
Investment
Operations Stock fund money market
Minimum investment 0 1
total fund 1 2
minimum return 5 4
Model
Decision Variables
stock money market
number of units 4000 10000 0
Decision Variables
stock money market
number of units 18000 3000 0
To show all solution points that satisfy this relationship, we start by graphing the
solution points satisfying the constraint as an equality.If we plot the graph S on the
axix and M on the Y axis for three contraints lines by putting S=0 in the constraint
equation to find the value of M and put it on the Y axis and By putting M=0 in the
equations to find the value of S and put it on the X axix, then the graph will be as
follows-
S M 18000
minimum investment 0 3000 16000
0 0
14000
total fund 0 12000
24000 0 12000
minimum return 0 15000 10000
12000 0 8000
6000
s m 4000
0 15333.33 2000
11500 0
0
0 00 00
0
00
0
For minimum risk index of the portfolio 50 10 15
the equation will be plotted in the graph
based on the follows
4S + 3M = 46000
So, 4S+3M = P
3M=-4S+P
M = -(4/3)S+(1/3)P
The coefficient of S, -4/3, is the slope of the line, and the term
The slope (-4⁄3) is the same for each profit line because the risk
When the risk index line is moved towads the origin, the objec
46000 intersects the feasible region at the extreme point S = 4
point provides the minimum-risk solution with an objective fun
graph, we can see that the total fund constraint and the minim
Amount
3000
24000 B)
60000 The annual income with maintaining minimum risk index portfolionis as f
return equation - 5S + 4M
(5*4000)+(4*10000)
Annual income 60000
5S + 4M
S M 30000
minimum investment 0 3000
0 0 25000
20000
30000
25000
total fund 0 12000
24000 0 20000
15000
10000
s m
0 25500 5000
20400 0
0
For maximum return 0 5000
the equation will be plotted in the graph
based on the follows
5S + 4M = 102000
So, 5S+4M = P
4M=-5S+P
M = -(5/4)S+(1/4)P
The euation is
0S+1M >= 3000 for minimum investment
1S + 2M <= 24000 for total fund
S = 18000 M = 3000
market fund
18000
16000
14000
12000
10000 minimum investment
Total fund
8000
minimum return
6000 For minimum risk index of
the portfolio
4000
2000
0
0 00 00
0
00
0
00
0
00
0
00
0
50 10 15 20 25 30
slope of the line, and the term (1⁄3) P is the M intercept
each profit line because the risk index lines are parallel
s = 4*4000+3*10000
46000
(5*4000)+(4*10000)
constraints are 0S+1M >= 3000 for minimum investment on money market fund
1S + 2M <= 24000 for total fund
30000
25000
20000
minimum investment
30000
25000
20000
minimum investment
15000
Total fund
For maximum return
10000
5000
0
0 5000 10000 15000 20000 25000 30000
m return is P
-5/4, is the slope of the line, and the term (1⁄4) P is the M intercept
same for each profit line because the maximum return lines are parallel
m return line is moved further from the origin, the optimum solution point is
the intersection of constraint line- total fund
return is = 5*18000+4*3000
102000
From Excel solver
Gasolin production
Operations Regular Premium
Production capacity 1 1
Crudeoil availability 0.3 0.6
AT most premium produstion 0 1
Model
Decision Variables
regular premium
Gallons of gasolin 40000 10000 0
Constraints
To show all solution points that satisfy this relationship, we start by graphing the
solution points satisfying the constraint as an equality.If we plot the graph R on the X
axix and P on the Y axis for three contraints lines by putting R=0 in the constraint
equation to find the value of p and put it on the Y axis and By putting P=0 in the
equations to find the value of R and put it on the X axix, then the graph will be as
follows-
60000
R P
Total gasolin production 0 50000 50000
50000 0
Crude oil availability 0 30000 40000
60000 0
Premium production 0 20000 30000
0 0
20000
R P
Total profit contribution 0 34000 10000
0.3R + 0.5P = 17000 56666.67 0
0
0 20000 40000 60000 800
0.3R + 0.5P = I
P = = -(0.3/0.5)R + (1/0.5)I
The coefficient of R, -0.3/0.5, is the slope of the line, and the term (1/0.5)I is the D in
The slope (-0.3⁄0.5) is the same for each profit line because the profit lines are parall
When the profit line is moved further from the origin, the optimum solution poi
intersection of constraint lines- and inteiotal gasolin production and premium pr
The euation is
R +P <= 50000 ------- (1)
0.3R + 0.6P <= 18000 ---(2)
R = 40000 P = 10000
B)
The optimal solution to a linear program can be found at an extreme point of the feasible region that
provides the largest profit contribution. The extremr ponit is R = 40000 and P= 10000. and the maximum
porofit is (0.3R + 0.5P) = 17000
Here the slack period for constrain 3 is 10000 because it is unused for the limitation of availability
capacity. For the contraint 1 and 2 there is no slack period. Unused capacity makes no con tributi
have coefficients of zero in the objective function. After the addition of three slack variables, den
mathematical model becomes -
Objective equation
Constraints
R +P + S1 <= 50000 ------- (1)
0.3R + 0.6P +S2 <= 18000 ---(2)
p + S3<= 20000 --------------(3)
R*P*S1*S2*S3 >= 0
D)
From the above solution and graph, we can say that, Constraint 1 and constraint 2
region at the extreme point because they have utilized all the values of their capac
zero slack.
art by graphing the
the graph R on the X
0 in the constraint
putting P=0 in the
he graph will be as
10000
e of S and D
00+0.5*10000
Slack period
MAX 1 2
Model
Decision Variables
A B
Units 3 0 0
Max 3
Max
To show all solution points that s
1A -2B solution points satisfying the const
axix and B on the Y axis for two
equation to find the value of B a
Constraint equations to find the value of A a
A B A B
Constraint 1 0 1 Max 0 -1.5
-0.75 0 1A-2B = 3 3 0
Constraint 2 0 -3
3 0
1.5
1
0.5
0
-1 -0.5 0 0.5 1 1.5 2 2.5 3
-0.5
-1
-1.5
-2
-2.5
-3
-3.5
D) In this unbounded feaseal region, we see that the solution to this problem m
be able to reach some feasible solution with a larger value. Thus, we say that
w all solution points that satisfy this relationship, we start by graphing the
points satisfying the constraint as an equality.If we plot the graph A on the X
nd B on the Y axis for two contraints lines by putting A=0 in the constraint
on to find the value of B and put it on the Y axis and By putting B=0 in the
ns to find the value of A and put it on the X axix, then the graph will be as
follows-
we have
lem. Note that we can only indicate part of the feasible region
e direction of the X and y axis. So the feaseal region is
olution to this problem may be made as large as we desire. we will always
r value. Thus, we say that the solution to this linear program is unbounded.
A) from excel solver
Production time
Operations Standard Delux Time Available
Cutting & Dyeing 0.7 1 630
Sewing 0.5 0.833333 600
Finishing 1 0.666667 708
Inspecting & Packaging 0.1 0.25 135
Profit per bag 10 18
Model
Decision Variables
Standard bag (S) Delux bag (D)
Bags Produ 300 420 0
Maximius To 10560
Model
Decision Variables
Standard bag (S) Delux bag (D)
Bags Produ 708 0 0
Maximius To 14160
Model
Decision Variables
Standard bag (S) Delux bag (D)
Bags Produ 539.9999998425 252.00000011025 0
Maximius To 7667.99999941725
Constraint Hours Used Hours Available
Cutting & 630 <= 630
Sewing 480.000000004725 <= 750
Finishing 708 <= 708
Inspecting 117.000000011813 <= 135
Soluition
Time Available A) If the profit contribution for the delux bag is 18 and Standard bag is 10, The optimal solution a
contribution with graph will be as follows-
10S+18D
Constraint equation s
To show all solution points that satisfy this relationship, we start by graphing the
solution points satisfying the constraint as an equality.If we plot the graph S on the X
axix and D on the Y axis for four contraints lines by putting S=0 in the constraint
equation to find the value of D and put it on the Y axis and By putting D=0 in the
equations to find the value of S and put it on the X axix, then the graph will be as
follows-
S D
Cutting and dyeing 0 630
900 0
Sewing 0 720
1200 0
Finishing 0 1062
708 0
Inspecting & Packaging 0 540
1350 0
1200
1000
800
200
0
0 200 400 600 800 1000 1200 1400 1600
So, 10S+18D=P
18D=-10S+P
D = -5/9S+1/18P
The coefficient of S, -5/9, is the slope of the line, and the term 1⁄18 P is the D intercept
The slope (-5⁄9) is the same for each profit line because the profit lines are parallel
When the profit line is moved further from the origin, the optimum solution point is the
intersection of constraint lines- cutting & dyeing and intersection & packging.
The euation is
7/10S+1D <= 630 for cutting and dyeing
1/10S + 1/4D <= 135 for inspecting and packaging
S = 300 D = 420
B) If the profit contribution for the standard bag is 20 and delux bag is 9, The optimal
contribution with graph will be as follows-
Time Available
So, 20S+9D=P
9D=-20S+`P
D = -20/9S+1/9P
The coefficient of S, -20/9, is the slope of the line, and the term 1⁄9 P is the D intercept
The slope (-20⁄9) is the same for each profit line because the profit lines are parallel
When the profit line is moved further from the origin, the optimum solution poin
intersection of constraint lines- Finishing and X axis which is inside the feasible re
The euation is
At the intersection point with the axis with finishing contraint line D =0
1200
Then the grapgh will be as follows-
1000
S D
Cutting and dyeing 0 630 800
900 0
Sewing 0 900 600
1500 0
Finishing 0 1062 400
708 0
Inspecting & Packaging 0 540 200
0
0 200 400 600 800 100012001
400
200
1350 0
S D 0
Total profit contribution 0 852 0 200 400 600 800 100012001
10S + 9D = 7668 766.8 0
As the feasible region is not changed due to increasing sewing capacity and profit line is
also not changed, so the optimul solutiuon and maximum profit contribution will not be
changed
ag is 10, The optimal solution and profit
s follows-
rt by graphing the
the graph S on the X
0 in the constraint
putting D=0 in the
he graph will be as
P is the D intercept
nes are parallel
timum solution point is the
ersection & packging.
traint line D =0
A.B >= 0
To show all solution points that satisfy this relationship, we start by graphi
points satisfying the constraint as an equality.If we plot the graph A on the
the Y axis for three contraints lines by putting A=0 in the constraint equati
value of B and put it on the Y axis and By putting B=0 in the equations to fin
and put it on the X axix, then the graph will be as follows-
A B
Constraint 1 0 80
80 0
Constraint 2 0 10
-10 0
Constraint 3 0 30
90 0
As by putting B=0 , A = -10 and it can intersect the others contraint line if
extended. For extending contraint 2,
A B
Constraint 2 -10 0
40 50
Coefficient of objective 2 3
Model
Decision Variables
A B
value 75 5
Maximius To 165
80
70
60
50 contraint 1
constraint 2
40
constraint 3
30
20
the others contraint line if it is
ontraint 2,
10
0
-20 0 20 40 60 80 100
So, 2A+3B=P
3B= P - 2A
D = -(2/3)A+(1/3)P
The coefficient of A, -2/3, is the slope of the line, and the term 1⁄3 P is the B intercept
The slope (-2⁄3) is the same for each profit line because the profit lines are parallel
When the profit line is moved further from the origin, the optimum solution point is the
intersection of constraint lines- 1 & 3
The euation is
5A+5B <= 400 for contraint 1
1A+3B >= 90 for constraint 3
A = 75 B=5
D)
From the above solution and graph, we can say that, Constraint 1 and constraint 3 bind the the
feasible region at this point because they have utilized all the values of their capacity and they
will have zero slack.
E)
The non binding constraint is Constraint 2 because It has some unused time
or slack for operations.
100