Linear Programming
Linear Programming
Lecture 1
Linear programming
basic requirements
objective function well defined mathematically alternative courses of action constraints must also be expressed mathematically variables must be interrelated resources must be in limited supply graphical algebraic simplex
methods
Lecture 1
Linear programming
is used to consider
business applications
planning production to maximise profit mixing ingredients to minimise costs minimise resources used or maximise efficiency
Lecture 1
-1-
Lecture 1
Linear programming
graphical method
example
Alfred Ltd is preparing its plan for the coming month. It manufactures two products, the flaktrap (x) and the saptrap (y). Details as follows. Amount per unit Flaktrap Saptrap Price/Rate Selling price () 125 165 Raw materials (kg) 6 4 5 / kg Labour (hours) - skilled 10 10 3 / hr - semi-skilled 5 25 3 / hr
Lecture 1
Linear programming
graphical method
example (continued)
The companys variable overhead rate is 1 per labour hour (for both skilled and semi-skilled labour). The supply of skilled labour is limited to 2,000 hours per month and the supply of semi-skilled labour is limited to 2,500 hours per month. At the selling prices indicated, maximum demand for flaktraps is expected to be 150 units per month and the maximum demand for saptraps is expected to be 80 units per month. The directors of Alfred Ltd believe that demand for each product could be increased by advertising.
Lecture 1
-2-
Lecture 1
Linear programming
graphical method
Lecture 1
Linear programming
graphical method
Lecture 1
-3-
Lecture 1
(y)
x = 150
80 40 20
y = 80
BC D E 100
5x + 25y = 2,500
200
300
400
(x)
Lecture 1
Linear programming
graphical method
further example
Greenfields is a family-operated business that manufactures fertilisers. One of its products is a liquid plant feed into which certain additives are put to improve effectiveness. Every 10,000 litres of this feed must contain at least 480g of additive A, 800g of additive B and 640g of additive C. Greenfields can purchase two ingredients (x and y) that contain these three additives. This information, together with the cost of each ingredient, is given below as follows:
Lecture 1
-4-
Lecture 1
Linear programming
graphical method
Lecture 1
Linear programming
graphical method
Lecture 1
-5-
Lecture 1
60 40 20 0 0 40 80
120
160
( x2 )
Lecture 1
Linear programming
binding constraint
most crucial constraint that limits the solution exists when a minimum constraint is not binding exists when a maximum constraint is not binding an increase in value which would be created by having available one additional unit of a limiting resource at its original cost
Lecture 1
surplus
slack
shadow price
-6-
Lecture 1
Linear programming
simplex method
example
Woodhurst manufactures four different types of coffee table. Each type of table requires time (in hours) for the cutting of the component parts, for assembly and for finishing. The data in the table below has been collected for the year now being planned.
Table Small Medium Large Ornate Capacity Cutting 2 2 1 6 3,000 Assembly Finishing Contribution 5 1 60/unit 4 4 123/unit 3 5 135/unit 2 3 90/unit 9,000 4,950 Lecture 1
Linear programming
simplex method
example (continued)
Owing to other commitments, no more than a total of 1,800 coffee tables can be made in any given year. Also, market analysis reveals that the annual demand for the companys small coffee table is at least 800. The company wishes to determine how many of each type of coffee table it should produce in the coming year to maximise contribution.
Lecture 1
-7-
Lecture 1
Linear programming
simplex method
maximise contribution
z = 60x1 + 123x2 + 135x3 + 90x4
Lecture 1
Linear programming
simplex method
solution
Variable
X1 X2 X3 X4
Value
950 250 600 0
Relative Loss
0 0 0 48
Constraint
1 2 3 4 5
Slack / Surplus
0 1,450 0 0 150
Worth
9 0 21 21 0 Lecture 1
-8-