Documente Academic
Documente Profesional
Documente Cultură
Order of coverage
Chap 3 - 1
Profit
20
40
60
Labor Time
10
12
15
Chap 3 - 2
Chap 3 - 3
Step 3
Step 4
Step 5
Chap 3 - 4
Step 6
Step 7
Step 8
Chap 3 - 5
Chap 3 - 6
Chap 3 - 7
x2
x2
x1 = 5 and x2 = 2
is feasible
(1) 7 6
(2) 2 3
6
3
x1 = 1 and x2 = 6
is not feasible
(1) 7 6
(2) 6 3
Chap 3 - 8
Formulating LPs
Read the examples carefully in 3.4 - 3.12.
Some of the common problems are:
1. The Diet Problem
2. The Production Scheduling and Inventory Control
Problem
3. The Blending Problem
4. The Routing and Assignment Problem
In each of these problems, often the most difficult and
important step is defining the decision variables. These
variables represent the decisions that need to be made.
We can also think of them as being the independent
vs. dependent variables.
If we know the values of the decision variables we
have the information we need to implement a plan of
action.
Remember, there can be more than one correct way to
formulate the problem.
Be careful to make sure that the units of measure match!
Ex: In constraints.
The Heart Valve Problem - Problem 2, pg. 73, Section 3.4
Chap 3 - 9
Step 1
Read the problem through once quickly.
Step 2
Step 3
Step 4
Step 5
Step 6
Chap 3 - 10
Step 7
Step 8
Verify.
Chap 3 - 11
Step 3
Step 4
Step 5
Step 6
Chap 3 - 12
Step 7
Step 8
Verify.
Chap 3 - 13
Step 3
Chap 3 - 14
Step 4
Step 5
Step 6
Step 7
Step 8
Verify.
Chap 3 - 15
Step 3
Step 4
Chap 3 - 16
Step 5
Step 6
Step 7
Step 8
Verify.
Chap 3 - 17
Chap 3 - 18
Chap 3 - 19
Step 4
maximize Oles daily profit
Step 5
max z = 18G + 16J + 14HO - 12.1C1 - 10.1C2 - 0.15DO1
- 0.15DO2
Step 6
Amount of crude oil purchased.
Amount of oil which can be distilled.
Cracker capacity.
Octane levels of heating oil, gasoline, and jet fuel.
Demand for heating oil, gasoline, and jet fuel
Chap 3 - 20
Step 7
C1 10,000
C2 10,000
C1 + C2 15,000
DO1 + DO2 5,000
4HO1 + 5HO2 4.5HO
8NG + 9CO1G + 6CO2G 8.5G
8NJ + 9CO1J + 6CO2J 7J
HO 3000
G 3000
J 3000
All variables 0
Crude 1 Purchased
Crude 2 Purchased
Distillation Capacity
Cracker Capacity
Heating Oil Octane
Gasoline Octane
Jet Fuel Octane
Heating Oil Demand
Gasoline Demand
Jet Fuel Demand
Sign restriction
Chap 3 - 21
30x1
4x1
x1
10x1
x1
+
+
+
100x2
10x2
x2
x2
40
7
30
0
0
(1)
(2)
(3)
(4)
(5)
Chap 3 - 22
Chap 3 - 23
220
30
x1
100 100
m = slope = -30/100
b = y-intercept = 220/100
Chap 3 - 24
10x2 =
x2 =
40 (1)
7
(2)
(2) x1 = 7 - x2
(1) 4(7 - x2) + 10x2 = 40
28 - 4x2 + 10x2 = 40
6x2 = 12
x2 = 2
(2) x1 = 7 - 2
x1 = 5
The z value at x1 = 5, x2 = 2 is:
z = 30(5) + 100(2)
z = 350
Chap 3 - 25
x2
x2
=
=
7
0
(2)
(4)
(2) 0 + x1 = 7
x1 = 7
The z value at x1=7, x2=0 is:
z = 30(7) + 100(0)
z = 210
Point B has a z value of 350, so eliminate point A from
further consideration.
Chap 3 - 26
10x2 =
=
40 (1)
30 (3)
(3) x1 = 3
(1) 4(3) + 10x2 = 40
10x2 = 28
x2 = 2.8
The z value at x1 =3, x2 = 2.8 is:
z = 30(3) + 100(2.8)
z = 370
Therefore, point C is optimal.
Chap 3 - 27
4x1
x1
10x1
x1
+
+
10x2
x2
x2
40
7
30
0
0
40 40
5.8 7
30 30
30
2.8 0
binding
nonbind.
binding
nonbind.
nonbind.
Chap 3 - 28
convex
nonconvex
Chap 3 - 29
LP Optimal Solutions
It can be shown that if an LP has an optimal
solution, it will occur at an extreme point.
Hence, only these points need to be
evaluated.
Return to graph.
Special Cases of LPs
(1) No feasible solutions - infeasible.
(2) Infinite number of optimal solutions multiple or alternative.
(3)Unbounded - usually due to an error in
the model formulation.
Chap 3 - 30
Infeasible Solution
Problem 1, Section 3.3, pg 69
max z
st
x1
x1
x1
x1
+
+
-
x2
x2
x2
x2
4
5
0
0
(1)
(2)
(3)
(4)
Chap 3 - 31
4x1 +
8x1 +
5x1 +
x1
x2
2x2
2x2
x2
16
12
0
0
(1)
(2)
(3)
(4)
Chap 3 - 32
Unbounded Solution
Problem 3, Section 3.3, pg 70
max z = -x1 +
st
x1 x1 +
x1
3x2
x2
2x2
x2
4
4
0
0
(1)
(2)
(3)
(4)
Chap 3 - 33
Chap 3 - 34