AC 303 Lecture 6 & 7 Linear Programming and Theory of Constraints
AC 303 Lecture 6 & 7 Linear Programming and Theory of Constraints
Lecture (6)
Linear Programming
Dr Owolabi Bakre
Briefly Reviewing Cost Classifications for Decision Making For decision-making classified into:
Differential Cost, Opportunity Cost, Sunk Cost.
Dr Owolabi Bakre
Dr Owolabi Bakre
Opportunity Costs
The potential benefit that is given up when one alternative is selected over another.
Example: If you were not attending university, you could be earning 15,000 per year. Your opportunity cost of attending university for one year is 15,000.
Dr Owolabi Bakre
Sunk Costs
Sunk costs cannot be changed by any decision. They are not differential costs and should be ignored when making decisions.
Example: Example: You bought a car that cost 10,000 two years ago. The 10,000 cost is sunk because whether you drive it, park it, trade it, or sell it, you cannot change the 10,000 cost.
Dr Owolabi Bakre
Cost and revenue data for the two models are given below:
Dr Owolabi Bakre
11
Model
Mountain Pannier Touring Pannier
Selling price per unit Variable cost per unit Contribution margin per unit Contribution margin (CM) ratio
25 10 15 60%
30 18 12 40%
According to this information, the mountain pannier appears to be much more profitable than the touring pannier.
Dr Owolabi Bakre
12
The bottleneck (the constraint) is a particular stitching machine. The mountain pannier requires 2 minutes of stitching time, and each unit of the touring pannier requires one minute of the stitching time. In this situation, which product is more profitable?
Dr Owolabi Bakre 13
Contribution margin per unit (from above) (a) Time on stitching machine required to produce one unit (b) Contribution margin per unit of the constrained resource (c)= (a) (b)
15 2 7.50
12 1 12
According to this information, the touring model provides the larger contribution margin in relation to the constrained resource.
Dr Owolabi Bakre
14
15 X 30 450
12 X 60 720
This example clearly shows that the touring model provides the larger contribution margin in relation to the constrained resource.
Dr Owolabi Bakre
16
Should not necessarily promote those products that have the highest UNIT contribution margins. Total contribution margin will be maximised by promoting products or accepting orders that provide the highest unit contribution margin in relation to the constrained resource.
Dr Owolabi Bakre 17
Capacity for the period is restricted to 12 000 machine hours. Dr Owolabi Bakre
10,000 6,000 -
The production programme will result in the following: 2 000 units of Z at 6 per unit contribution 12 000 2 000 units of Y at 10 per unit contribution 20 000 1 000 units of X at 12 per unit contribution 12 000 Total contribution 44 000
Dr Owolabi Bakre
19
Dr Owolabi Bakre
20
Graphical Method
Any linear programming problem with only two variables (i.e. two products) can be solved graphically. We may graphically solve an LP (max problem) with two decision variables as follows: Step (1): Graph the feasible region. Step (2): Draw an iso-contribution line. Step (3) Move parallel to the iso-contribution in the direction of increasing the objective function. The last point in the feasible region that contactsan iso-profit line is an optimal solution to the LP.
Dr Owolabi Bakre
21
Dr Owolabi Bakre
22
Solution:
77 (22hrs at 3.50) 28 (8 hrs at 3.50) 117 88 Selling price 152 118 Contribution 35 30 The linear programming problem is to maximise the total contribution subject to the constraints. If P= units of pumps produced and F= units of fans produced, then the problem may be set up as follows:
1. 2. 3. Maximise: 35P + 30F Subject to: 10P + 15F < 4000 (materials) 22P + 8F < 6000 (labour hours)
Dr Owolabi Bakre
23
Dr Owolabi Bakre
24
Steps (2) & (3): Drawing an iso-contribution line and moving parallel to the iso-contribution in the direction of increasing the objective function
Dr Owolabi Bakre
25
Dr Owolabi Bakre
26
Sensitivity Analysis
Sensitivity Analysis involves asking what-if questions. For example, What happens if the market price of pumps falls to 145? What will be the loss of contribution and will the revised contribution change the optimal combination?
Dr Owolabi Bakre
27
Dr Owolabi Bakre
28
Shadow Prices
Each constraint will have an opportunity cost, which is the profit foregone by not having an additional unit of the resource. In linear programming, opportunity costs are known as shadow prices. Shadow prices are defined as the increase in value that would be created by having one additional unit of a scare resource. For example: What is the additional contribution if one extra labour hour is available?
Dr Owolabi Bakre 29
Dr Owolabi Bakre
30
Dr Owolabi Bakre
31
Dr Owolabi Bakre
32
Dr Owolabi Bakre
33
Dr Owolabi Bakre
34
Dr Owolabi Bakre
35
Dr Owolabi Bakre
36
Optimum solution
Dr Owolabi Bakre
37
Optimum solution
Dr Owolabi Bakre
38
In 1947, George Dantzig developed the simplex algorithm for solving linear programming problems. The simplex algorithm proceeds as follows: Step (1): Convert the linear programming problem to standard form. Step (2): Obtain a basic feasible solution (bfs), if possible, from the standard form. Step (3): Determine whether the current bfs is optimal. Step (4): If the current bfs is not optimal, then determine which non-basic variable should become a basic variable and which basic variable should become a non-basic variable to find a new bfs with a better objective function value. Step (5): Find the new bfs with the better objective function value. Go back to step (3).
Dr Owolabi Bakre 39
Dr Owolabi Bakre
40
Dr Owolabi Bakre
41
Dr Owolabi Bakre
42
Dr Owolabi Bakre
43
Dr Owolabi Bakre
44
Dr Owolabi Bakre
45
Dr Owolabi Bakre
46
Computer Programs
The use of the LINDO Computer Package to solve linear programming problems The use of Microsoft Excel to solve linear programming problems
Dr Owolabi Bakre
47
Dr Owolabi Bakre
49
Workshop (3)
See Exercises P21-4 & C21-8 (Seal et al., 2006)
Dr Owolabi Bakre
50