Professional Documents
Culture Documents
1. The amount by which an objective function value must improve before it would be possible for the
corresponding value to assume a positive value in the optimal
solution is referred to as
(a) shadow price (b) minimum ratio test (c) reduced cost
(d) allowable increase (e) feasible solution value
2.Linear programming theory states that the optimal solution to any problem will lie at
(a) the origin (b) a corner point of the feasible region
(c) the highest point of the feasible region (d) the lowest point of a feasible region
(e) none of the above
3.The shadow price is calculated to be 3 for a less than or equal to constraint in a maximization LP problem,
this means:
(a) If the RHS for that constraint is increased by 3 then the optimal objective function value is increase by1
(b) If the coefficient of the objective value is increased by 1 then the RHS for that constraint must be
increased by3
(c) if the RHS for that constraint is increased by 1then the optimal objective function value will increase by
3
(d) if the coefficient of the objective function is increased by 3 then the RHS for that constraint must be
increased by1
6.Which of the following is true about feasible solutions to a linear programming problem?
I. They do not violate any of the model constraints
II. they represent the final maximum and minimum values in the linear problem
III They are positive integer values
(a) I only (b) II only (c) I,II (d) I, III (e)none of above
(a) I, II, III (b) I,II,IV (c) I and II (d) I and IV (e) II and III
(a) I, II, III, IV (b) II, III, IV (c)II, III, IV (d) IV only (e) IV, V
Solution
8x + 6y = 960 … … … … … … … … … … … … … (1)
4x + 6y = 720 … … … … … … … … … … … … … (2)
The next step is to graph the points above. Remember we need two set of points from each equation
For 8x + 6y = 960
when y = 0, x = 120 and When x = 0, y = 160
The two points for 8x + 6y = 960 are (120,0) and (0, 160)
For 4x + 6y = 720
when y = 0, x = 180 and when x = 0, y = 120
The two points for 4x + 6y = 720 are (180,0) and (0, 120)
180
D
120 C
A B
60 120 180
x = 60 and y = 80
Solution
7𝑥 + 2𝑥 = 28 … … … … … … … … … … … … … (1)
2𝑥 + 12𝑥 = 24 … … … … … … … … … … … … … (2)
14
12 C
10
A B
2 4 6 8 10 12
Solving equation (1) and equation (2) simultaneously, 𝑥 = 3.6 and 𝑥 = 1.4
Minz = 5𝑥 + 10𝑥
A(3.6, 1.4) = 5(3.6) + 10(1.4) = 32 B(12, 0) = 5(12) + 10(0) = 60 C(0, 14) = 5(0) + 10(14) = 140
Point A has the least objective function value. Therefore, 𝑥 = 3.6 𝑎𝑛𝑑 𝑥 = 1.4
AYIPAALA (WHATSAPP: 0572997277) 4
10. You are mixing x grams of ingredient A and y grams of ingredient B. What is the equation or inequality
that models the requirement that the mixture should contain at least25% of ingredient A by weight?
Solution
Total mixture = x + y
x ≥ 25%(x + y) … … … . . Ingredient A should be 25% or more in the total mixture
4x ≥ x + y
3x − y ≥ 0
Ans D
Solution
x + y = 1 … … … … … … … … … … … … … . . (1)
x + y = 0.5 … … … … … … … … … … … … … (2)
x − y = 0 … … … … … … … … … … … … … . . (3)
For x + y = 1
when 𝑥 = 0, 𝑦 = 1 and When 𝑦 = 0, 𝑥 = 1
The two points for x + y = 1 are (1,0) and (0, 1)
For x + y = 0.5
when 𝑥 = 0, 𝑦 = 0.5 and When 𝑦 = 0, 𝑥 = 0.5
The two points for x + y = 1 are (0.5,0) and (0, 0.5)
For x − y = 0 ⇒ x=y
1 x+y=1
x−y=0
D
x + y = 0.5
0.5
B C
0.5 1
Solution
Let 𝑥 , 𝑥 , 𝑥 and 𝑥 be the amount invested in CIP, certificates of deposits, treasury bills and growth
stock fund respectively.
Also, there must be at most twice as many recruits from cluster1as cluster2 and 3 combined. In general, it
costs the academy GHc1700, Ghc1700 and GHc1600 to train new recruits (cost includes transport, feeding,
accommodation) from cluster1, 2 and 3respectively.
Formulate a linear programming problem to help the Ghana Police academy decide on the number of people
to recruit in order to achieve a fair representation of all ethnic groups at the lowest possible cost.
Solution
Let 𝑥 , 𝑥 , and 𝑥 be the number of people to recruit from cluster 1, cluster 2 and cluster 3 respectively.
Solution
a. Let 𝑥 , and 𝑥 be the number of cakes and loaves of break to bake respectively.
Max Z = 10𝑥 + 6𝑥
St.
3𝑥 + 8𝑥 ≤ 20 … … … … … . . Flour constraint
45𝑥 + 30𝑥 ≤ 180 … … … … … . Time constraint
𝑥 and 𝑥 ≥ 0
b.
In standard form,
3𝑥 + 8𝑥 + S = 20 … … … … … . . Flour constraint
45𝑥 + 30𝑥 + S = 180 … … … … … . Time constraint
c.
3𝑥 + 8𝑥 = 20 … … … … … … … … … … … … … (1)
45𝑥 + 30𝑥 = 180 … … … … … … … … … … … … . (2)
For 3𝑥 + 8𝑥 = 20
20 5
when 𝑥 = 0, 𝑥 = and When 𝑥 = 0, 𝑥 =
3 2
20 5
The two points for 3𝑥 + 8𝑥 = 20 are ,0 and 0 ,
3 2
D
2
C
B
A 2 4 6 8
Solving the two equations simulataneously to find the cordinates of point C
28 4
𝑥 = and 𝑥 =
9 3
The corner points are:
28 4 5
A(0,0) B(4,0) C , and D 0,
9 3 2
Max Z = 10𝑥 + 6𝑥
28 4 28 4 5 5
C , = 10 +6 = 39.11 D 0, = 10(0) + 6 = 15
9 3 9 3 2 2
Point B has the highest objective function value. Therefore, Joan should bake 4 cakes and zero loaves of
bread.
d.
In finding the amount of unused resources, substitute the values of the point that yield the highest objective
function value into the standard form of the constraint’s functions (for a maximization problem).
a. How many batches of apple butter, applesauce and apple jelly are needed to be produced by friendly in
order to maximise their profit?
b. What is the total maximum profit of friendly family company?
c. Find the values of A to E
d. If the profit for apple butter is increased to 193per each 10-gallon pack, what will happen to the objective
solution and profit?
e. Assume Friendly family decides to ignore the recommended allocations and hence produces 50 batches
of applesauce?
Solution
a. From the excel output, 41.27, 0 and 126.98 of apple butter, apple sauce and apple jelly are needed to be
produced respectively.
𝐛.
Let 𝑥 , 𝑥 , and 𝑥 be the number of apple butter, apple sauce and apple jelly needed to be produced
respectively.
Max Z = 190𝑥 + 170𝑥 + 155𝑥
To find the total maximum profit, substitute the values found in (a) into the objective function.
Subsituting 𝑥 = 41.27, 𝑥 = 0 and 𝑥 = 126.98 into Max Z = 190𝑥 + 170𝑥 + 155𝑥
⇒ Max Z = 190(41.27) + 170(0) + 155(126.98) = GHS27523.2
c.
The objective function is Max Z = 190𝑥 + 170𝑥 + 155𝑥 . This implies that 190, 170 and 155 are the
objective function coefficients. Therefore A = 190, B = 170 and C = 155
d. An increase in the profit for apple butter to 193 indicates an increase in the profit for apple butter by 3
(193-190=3). But the allowable increase for apple butter is 3.75. This means that the increase in the profit
for apple butter is in the range of the allowable increase. There will be no changes in the objective solution
(i.e. 41.27, 0 and 126.98). However, the objective profit will increase by GHS123.81 (i.e. 41.27×3).
In producing 50 batches of apple sauce, the company is trying to force a zero value to be non-zero. From
the excel solver, as long as apple sauce is produced between the range (infinity and 106.83), profit will
reduce by 106.83 per each unit produced. Hence, producing 50 batches of apple will cause a decline in the
objective profit by GHS5341.5 (i.e. 50×106.83).
f.
The shadow price for cooking time is 52.38. this means for each increase in the cooking time, profit will
increase by 52.38. 200 additional cooking time will therefore cause an increase in the objective profit by
GHS 10476 (i.e. 200×52.38).
g.
There will be no addition to profit if there is an increase in apples by 20. This is because the shadow price
for apples is 0.
h.
The shadow price for cooking time is 52.38 whereas 5.56 is the shadow price for labour. It is obvious
increasing the cooking time will increase profit. The friendly family company should therefore add extra
cooking time because it will increase profit more than adding extra available labour.
Let
XAN = units of sandal A produced on the new production line
XAO = units of sandal B produced on the old production line
XBN = units of sandal B produced on new production line
XBO = units of sandal B produced on old production line
Cras’ objective is to determine the minimum cost production plan
(a) formulate the linear programming model for Cras’ production plan for next month
(b) What is the optimal solution, and what is the total production cost associated with this solution
(c) Which constraints are binding?
Solution
a.
Min Z = 30X + 50X + 25X + 30X
St
X +X ≥ 50000
X +X ≥ 70000
X +X ≤ 80000
X +X ≤ 60000
X ,X , X and X ≥0
b. The optimal solution from the excel solver is: X = 50000 X =0 X = 30000 and X = 40000.
Hence Cras Sandals Limited should produce 50000units of sandal A on the new production line, 0 units of
sandal A on the old production line, 30000units of sandal B on the new production line and 40000units of sandal
B on the old production line.
d. A negative shadow price in a minimization problem shows a reduction in cost for a unit increase in the
RHS. The manager’s assertion is therefore wrong. An increase in the capacity for the new production line
is therefore desirable. More of the resources should be used to expand the capacity of the new production
line in order to reduce cost by GHC15 per each unit of sandal produced.
e. The final value for old production line is 40000 whereas its capacity is 60000. It is not fully utilized and
as such a zero-shadow price. It is not advisable increasing the capacity of the old production line.
f. A unit increase in the production for Sandal A will increase production cost by GHC5. Therefore, so long
as the cost of Sandal A is GHC55 per unit or more, it will be worthwhile producing on the old production
line.
c. What is the optimal solution and total profit for the seller according to the LP
problem above?
d. Give an interpretation for the shadow price value of constraint 1
e. All final values of the decision variables have reduced cost of zero, why?
b.
Let 𝑥 , 𝑥 , and 𝑥 be the number of phones ordered for lower class, middle class and upper class respectively.
𝑥 + 𝑥 + 𝑥 ≤ 200
𝑥 + 𝑥 − 𝑥 ≤ 0 … … … … . . (𝑖. 𝑒. 𝑥 ≥ 𝑥 + 𝑥 )
𝑥 − 𝑥 ≤ 0 … … … … . . ( 𝑖. 𝑒. 𝑥 ≥ 𝑥 )
𝑥 , 𝑥 , and 𝑥 ≥0
c. The optimal solution from the excel solver is: 𝑥 = 100 𝑥 = 50 and 𝑥 = 50 . The seller should
therefore order 100 units of lower-class phones and 50 units of both middle class and upper-class phones in
order to maximize profit.
d. There will be zero addition to profit even if the seller spends more than Ghc300000 in buying the phones.
e. Reduced cost is associated with decision variables which have zero final values. However, the final values
or optimal solutions for this problem are positive non-zero number. Hence a reason for the zero reduced cost.
a. Formulate a linear programming model that can be used to determine how much money Premium capital
should allocate to each type of fund in order to maximize the total annual return accrued for the
GHC1million investments.
Below is the answer and sensitivity reports of Premium Capital’s problem solved using Excel’s solver.
Answer questions b to g using the information in the reports
b. How much should be allocated to each type of stock and what is the total annual return?
c. If interest rate on Oil stocks increases from the current9% to12%, would the amount allocated to each
type of stock change? Explain.
d. Why is the reduced cost for all three stocks zero?
e. If Premium Capital is willing to increase its total risk indexby100 index points, would there be a gain or
loss in the annual return and by how much?
f. Suppose the total amount available for investment in the stocks was increased by GHC10,000. What
effect would this have on the total annual return? Explain.
AYIPAALA (WHATSAPP: 0572997277) 19
Solution
a.
Let 𝑥 , 𝑥 and 𝑥 represent the amount invested in Oil stocks, Utility stocks and Insurance stocks respectively.
Max Z = 0.09𝑥 + 0.08𝑥 + 0.09𝑥
St
𝑥 + 𝑥 + 𝑥 ≤ 1000000
𝑥 + 𝑥 ≥ 650000
𝑥 + 𝑥 − 2𝑥 ≤ 0
0.006𝑥 + 0.004𝑥 + 0.004𝑥 ≤ 5000
𝑥 , 𝑥 and 𝑥 ≥ 0
b. The optimal solution from the excel solver is: 𝑥 = 500000, 𝑥 = 150000 and 𝑥 = 350000 . Therefore GHC500000,
GHC150000 and GHC350000 should be invested in Oil stocks, Utility stocks and Insurance stocks respectively.
The total annual return; Max Z = 0.09𝑥 + 0.08𝑥 + 0.09𝑥
Substituting; 𝑥 = 500000, 𝑥 = 150000 and 𝑥 = 350000 the objective function
Max Z = 0.09(500000) + 0.08(150000) + 0.09(350000) = 88500
The total annual return on the allocated amount to the stocks is GHC88500
c. The increase in the Oil stocks is 3% (12%-9%). This falls with the range (-0.01…...0.035). The amount
allocated to each stock would not change.
d. This is because the final values of each stocks are positive non-zero number.
e. From the excel solver, the risk index has a shadow price of 5. The increase in total risk index by 100 falls
within the range (-10000…...300). In view of this increasing the total risk index by 100 will result in a gain
in total return by GHC500.
f. Total annual return will increase by GHC700 when the amount available for investment in stocks is
increased by GHC10000. This is because from the excel solver, the available capital constraint has a shadow
price of 0.07 and also the increase in the total amount available for investment in stocks of GHC10000 falls
within the range of the allowable increase and allowable decrease.