D1, L9 Linear Programming
D1, L9 Linear Programming
Linear Programming
Linear Programming
Decision making is a process that has to be carried out in many areas
of life.
After the Second World War a group of American mathematicians
developed some mathematical methods to help with decision making.
They produced mathematical models that turned the requirements,
constraints and objectives of a project into algebraic equations.
Linear programming is the process of solving these equations by
searching for an Optimal Solution.
The optimal solution is the maximum or minimum value of a required
function.
Linear programming methods are some of the most widely used
methods employed to solve management and economic problems, they
can be applied to a variety of contexts, with enormous savings in
money and resources.
First we are going to look at how to turn problems into algebraic
equations.
Problem
A company makes two types of garden shed, A and B.
Both types require processing in two departments.
Department 1 is where machines are used to produce the wood
Problem
All of this can be summarised in a table.
Type Of Shed
Machinery
Craftsmen
Profit
60
84
Total Time
30
60
Problem
The first step in formulating a linear programming
Problem - Step 1
Step 1 Decide on the Decision variables.
In this case it is clear that what we want to know is
Problem Step 2
Step 2 Decide on the Constraints.
Consider the work that needs to be done in the machine room.
Type Of Shed
Machinery
Craftsmen
Profit
A(x)
60
B(y)
84
From the table we can see that each day there are 30 hours available for work.
60 require 2x hours.
Total
One ofTime
shed A requires 2 30
hours. So x shed A`s must
Using a similar idea for shed B you can get total time for y shed B`s will be 3y.
From this table it is now easy to write down the algebraic equations.
Problem Step 2
Now the total work done in the machine room on both sheds cannot
Type Of Shed
Machinery
Craftsmen
Profit
A(x)
60
B(y)
84
Total Time
30
60
Problem Step 2
Non-Negativity constraints
In addition to the two constraints that we have just
2x + 3y 30
5x + 5y 60
x 0, y 0
Problem Step 3
Step 3 decide on the objective function.
The whole problem is about selling sheds.
We need to know how many of each of the sheds to sell
Machinery
Craftsmen
Profit
A(x)
60
B(y)
84
Total Time
30
60
Final - Problem
The original problem can now be summarised in
algebraic form.
Maximise the profit function.
P = 60x + 84y
Subject to the constraints
2x + 3y 30
5x + 5y 60
x 0, y 0
Question 1
Allwood PLC plans to make two kinds of table.
For table A the cost of the materials is 20, the
Answer 1
X = number of type A tables
Y = number of type B tables
Type Table
Materials
Person-Hours Profit
A(x)
20
10
15
B(y)
12
15
17
Total Time
480
330
Question 2
To ensure that her family has a healthy diet Mrs Brown
Answer 2
x = (hundred) grams of
y = (hundred) grams of
Cost
30
20
10
40p
10
25
40
30p
25
30
15
Minimise
Subject to
C = 40x + 30y
30x + 10y 25
20x + 25y 30
10x + 40y 15
x 0, y 0
Question 3
A chair supplier makes three types of wooden chairs. Each type is
manufactured in a four-stage process. The company is able to obtain all
the raw materials it needs. The available production capacity during the
60-hour production working week is as follows:
Weekly capacity in number of chairs
Process
Chair A
Chair B
Chair C
400
600
900
1800
400
300
200
900
600
600
400
450
Answer 3
Process
Chair A
Chair B
Chair C
3600
12
3600
18
3600
3600
Profit
15
20
25
Maximise
P = 15x + 20y + 25z
Subject to
9x + 6y + 4z 3600
2x + 9y + 12z 3600
18x + 4y + 6z 3600
6x + 9y + 8z 3600
x 0, y 0, z 0