Topic 6 - Linear Programming - Graphical Method 2
Topic 6 - Linear Programming - Graphical Method 2
SYSTEM OPTIMISATION:
Adrian Bown
OVERVIEW OF WEEK 1
Adrian Bown
Commodity 1, C 1 3 2 2
Commodity 2, C 2 2 4 3
Maximum
7 10
Resources
R1 R2 P
x 3 2 2
y 2 4 3
Maximum Resources 7 10
• Summary:
– Resource Equation 1: 3 x 2 y 7
– Resource Equation 2: 2 x 4 y 10
6
3x 2y 7
5
3
3x 2y 7
2
0 X
3 x 2 y 70 1 2 3 4 5 6
Y
3
Feasible domain for
2
maximisation problems
0 X
0 1 2 3 4 5 6
Y
0 X
0 1 2 3 4 5 6
Y
0 X
0 1 2 3 4 5 6
Y
0 X
0 1 2 3 4 5 6
Y
0 X
0 1 2 3 4 5 6
Example 2 _ Minimising Cost:
• A manufacturer has the choice of two products; x and y
• For the same volume, the two products provide different quantities
of the same three chemicals – see Table below
• Based on the prices given in the table, determine how much of each
product should be used to minimise manufacturing costs
Product x 4 kg / m 3 8 kg / m 3 6 kg / m 3 £ 8 / m3
Product y 8 kg / m 3 6 kg / m 3 7 kg / m 3 £ 4 / m3
Minimum amount
of chemicals reqd. 32 kg / m 3 48 kg / m 3 42 kg / m 3
Y
5
Feasible domain for
4 minimisation problems
0 X
0 1 2 3 4 5 6
Y
First value in feasible
8
domain ( x = 0, y = 8 )
0 X
0 1 2 3 4 5 6 7 8
Quantitative Methods for Decision Making:
SYSTEM OPTIMISATION:
Adrian Bown
Commodity 1, C 1
Commodity 2, C 2
Maximum
Resources
In this problem there will be two resource constraints (machine time and
craftsperson time) and two production constraints.
Resource constraints:
Using last week’s terminology, the commodities are the two items X and Y
Resource 1, R 1 Resource 2, R 2 Profit, P
Maximum Resources
In this problem there will be two resource constraints (machine time and
craftsperson time) and two production constraints.
Resource constraints:
Using last week’s terminology, the resources are machine and craftsperson
times
Machine Time, Craftperson’s
R1 Time, R 2 P
x 13 20
y 19 29
Machine time (mins) 13X + 19Y ≤ (40 * 60) 13X + 19Y ≤ 2400
Craftsperson time (mins) 20X + 29Y ≤ (35 * 60) 20X + 29Y ≤ 2100
Machine time (mins) 13X + 19Y ≤ (40 * 60) 13X + 19Y ≤ 2400
[ Limits; X = 0, Y = 126.3 and X = 184.6, Y = 0 ]
Craftsperson time (mins) 20X + 29Y ≤ (35 * 60) 20X + 29Y ≤ 2100
[ Limits; X = 0, Y = 72.4 and X = 105, Y = 0 ]
Production constraints:
x 3 2 2
y 2 4 3
Maximum Resources 7 10
• Summary:
– Resource Equation 1: 3 x 2 y 7
– Resource Equation 2: 2 x 4 y 10
0 X
0 1 2 3 4 5 6
In this problem there will be two resource constraints (machine time and
craftsperson time) and two production constraints.
Resource constraints:
Machine time (mins) 13X + 19Y ≤ (40 * 60) 13X + 19Y ≤ 2400
[ Limits; X = 0, Y = 126.3 and X = 184.6, Y = 0 ]
Craftsperson time (mins) 20X + 29Y ≤ (35 * 60) 20X + 29Y ≤ 2100
[ Limits; X = 0, Y = 72.4 and X = 105, Y = 0 ]
Production constraints:
X ≥ 10 and Y ≥ 20
X = 10
Feasible region
Y = 20
Finally, a profit equation is required.
Machine time is priced at £10 per hour worked and craftsperson time is
priced at £8 per hour worked; both machine and craftsperson idle times
incur no costs. The revenue received for each item produced (all
production is sold) is £30 for X and £40 for Y.
Feasible region
Y = 20
X = 10
13X + 19Y = 2400
20X + 29Y = 2100
Feasible region
Y = 20
P = 25.16X + 32.96Y
7
Feasible domain
6
0 X
0 1 2 3 4 5 6 7 8
Production Constraints: For instance, if y > 0 but ‘ 2 < x < 7 ’:
7
Feasible domain
6
0 X
0 1 2 3 4 5 6 7 8
Example 2;
A company manufactures two products, A and B, and the profit per unit
sold is £3 and £5, respectively. Each product has to be assembled on a
particular machine with each unit of A taking 12 minutes of assembly
time and each unit of B takes 25 minutes of assembly time. The company
estimates that the machine has an effective working week of 30 hours.
Customer demand dictates that for every five units of product A produced
at least two units of product B must be produced.
i. If the objective of this exercise is to maximise profit, solve this linear
program using the graphical method.
ii. The company has been offered the chance to hire an extra machine,
thereby doubling the effective assembly time available. In order for it
be worthwhile to them, the company requires a minimum 25 % profit
on top of the cost of hiring the machine. What is the maximum
amount that the company should pay (per week) for the hire of this
machine?
Example 2;
A company manufactures two products, A and B, and the profit per unit
sold is £3 and £5, respectively. Each product has to be assembled on a
particular machine with each unit of A taking 12 minutes of assembly
time and each unit of B takes 25 minutes of assembly time. The company
estimates that the machine has an effective working week of 30 hours.
Customer demand dictates that for every five units of product A produced
at least two units of product B must be produced.
i. If the objective of this exercise is to maximise profit, solve this linear
program using the graphical method.
ii. The company has been offered the chance to hire an extra machine,
thereby doubling the effective assembly time available. In order for it
be worthwhile to them, the company requires a minimum 25 % profit
on top of the cost of hiring the machine. What is the maximum
amount that the company should pay (per week) for the hire of this
machine?
Part i.
Constraints:
• Technological:
A
Part i.
Constraints:
• Technological:
5B – 2A ≥ 0 or B – 0.4A ≥ 0
Feasible domain
A
Part i.
Constraints:
• Technological:
5B – 2A ≥ 0 or B – 0.4A ≥ 0
• Production:X ≥ 0 and Y ≥ 0
B
12A + 25B = 1800
B – 0.4A = 0
Feasible region
R1 R2 Profit
x 3 ‘ x £2
y 2 y £3
Maximum Resources 7 9
• R 1: 3x 2y 7
• R 2: x2 y2 9
• As there is only positive production, x 0 and y 0
• Profit equation: P 2 x 3 y
– From last week, the limits of Resource Equation 1 ( 3 x 2 y 7 )
3
3x 2y 7
2
0 X
0 1 2 3 4 5 6
The limits of Resource Equation 2 ( x 2
y 2
9 ) are:
When x 0 0 y 9 y 9 y 3
2 2 2
x 1 1 y 9 y 8 y 2.83
2 2 2
Method 2:
x 2 2 y 9 y 5 y 2.24
2 2 2
2 2 2
Y
3
x2 y2 9
0 X
0 1 2 3 4 5 6
Y
0 X
0 1 2 3 4 5 6
Corners of shaded region
x y
0 3
2.33 0
• Resource Equation 1:
7 3x
3x 2y 7 y 3.5 1.5 x Eqn. 3
2
• Resource Equation 2: x 2
y 2
9
• Resource Equation 1: 3 x 2 y 7 y 3.5 1.5 x Eqn. 3
• Resource Equation 2: x 2
y 2
9
2
x y 9
2 2
x
2
3.5 1.5 x 9
• Resource Equation 2: x 2
y 2
9
b b2 4ac
x
2a
0 X
0 1 2 3 4 5 6
• Resource Equation 1: 3 x 2 y 7 y 3.5 1.5 x Eqn. 3
• Resource Equation 2: x 2
y 2
9
b b2 4ac
x
2a
• Resource Equation 1: 3 x 2 y 7
• Resource Equation 2: x y 9
2 2
3 0.347 2 y 7 y 2.980
0.347
2
• Check: y2 9 y 2.980
Corners of shaded region
Profit ( £ )
x y
0 3 9
2.33 0 4.66
• Resource Equation 1: 3 x 2 y 7
• Resource Equation 2: x 2
y 2
9
• Profit Equation: P 2 x 3 y
COMPLETE THE
TUTORIAL
QUESTIONS