Professional Documents
Culture Documents
1.3 Lecture - 1b
1.3 Lecture - 1b
1.3 Lecture - 1b
MAT581SS
Mathematics for Logistics
Produced by Jeff Chak-Fu WONG
TABLE OF C ONTENTS
Geometry of Linear Programming Problems
ABLE OF
1. Geometry of a Constraint
2. Geometry of the Objection Function
3. Geometry of the Set of Feasible Solutions
C ONTENTS
G EOMETRY OF A C ONSTRAINT
A single constraint of a linear programming problem in general form,
say ith one,
ai1 x1 + ai2 x2 + ai3 x3 + + ain xn bi ,
can be written as
aT x bi
where
aT = [ai1
ai2
ain ].
x2
xn ] Rn
G EOMETRY OF A C ONSTRAINT
x2
xn ] Rn
that satisfy
aT xbi
is also called a closed half-space.
G EOMETRY OF A C ONSTRAINT
x h
2
H=
y
x
y
G EOMETRY OF A C ONSTRAINT
2
H
(a)
(b)
G EOMETRY OF A C ONSTRAINT
Since the origin does not lie on the line 2x + 3x = 6, we use the origin
as the test point.
y
2
H
(a)
(b)
G EOMETRY OF A C ONSTRAINT
h
4
H=
y
x
i
5 y
20 .
G EOMETRY OF A C ONSTRAINT
10
G EOMETRY OF A C ONSTRAINT
11
(0,0,4)
2x + 5z = 20
4x + 5z = 20
(0,10,0)
(5,0,0)
4x + 2y = 20
G EOMETRY OF A C ONSTRAINT
12
G EOMETRY OF A C ONSTRAINT
13
(1)
G EOMETRY OF A C ONSTRAINT
14
G EOMETRY OF A C ONSTRAINT
(0,0,4)
2x + 5z = 20
4x + 5z = 20
(0,10,0)
(5,0,0)
4x + 2y = 20
15
(0,0,4)
2x + 5z = 20
4x + 5z = 20
(0,10,0)
(5,0,0)
4x + 2y = 20
G EOMETRY OF A C ONSTRAINT
16
G EOMETRY OF A C ONSTRAINT
(0,0,4)
2x + 5z = 20
4x + 5z = 20
(0,10,0)
(5,0,0)
4x + 2y = 20
17
The hyperplane H defined by Eq. (1) divides Rn into the two closed
half-spaces
H1 = {x Rn |aT x b}
and
H2 = {x Rn |aT x b}.
the original hyperplane.
Observe that H1 H2 = H,
In other words, a hyperplane is the intersection of two closed
half-spaces.
G EOMETRY OF A C ONSTRAINT
18
Recall that
A feasible solution to a LPP is a point in Rn that satisfies all the
constraints of the problem and the non-negativity restrictions.
It then follows that this set of feasible solutions is the intersection of
all the closed half-spaces determined by the constraints.
Specifically, the set of solutions to an inequality ( or )
constraints is a single closed half-space, whereas the set of
solutions to an equality constraint is the intersection of two
closed half-spaces.
G EOMETRY OF A C ONSTRAINT
19
Recall that
A feasible solution to a LPP is a point in Rn that satisfies all the
constraints of the problem and the non-negativity restrictions.
It then follows that this set of feasible solutions is the intersection of
all the closed half-spaces determined by the constraints.
Specifically, the set of solutions to an inequality ( or )
constraints is a single closed half-space, whereas the set of
solutions to an equality constraint is the intersection of two
closed half-spaces.
G EOMETRY OF A C ONSTRAINT
20
Recall that
A feasible solution to a LPP is a point in Rn that satisfies all the
constraints of the problem and the non-negativity restrictions.
It then follows that this set of feasible solutions is the intersection of
all the closed half-spaces determined by the constraints.
Specifically, the set of solutions to an inequality ( or )
constraints is a single closed half-space, whereas the set of
solutions to an equality constraint is the intersection of two
closed half-spaces.
G EOMETRY OF A C ONSTRAINT
21
Example 4 Sketch the set of all feasible solutions satisfying the set of
inequalities
G EOMETRY OF A C ONSTRAINT
2x + 3y
x + 2y
0.
22
Solution
The set of solutions to the first inequality, 2x + 3y 6, is shown as the
shaded region in Figure 3(a), and the set solutions to the second
inequality, x + 2y 4, form the shaded region in Figure 3(b).
y
-x + 2y = 4
2x + 3y = 6
4
(a)
-4
(b)
G EOMETRY OF A C ONSTRAINT
23
x
y=0
(a)
(b)
G EOMETRY OF A C ONSTRAINT
24
The point (1, 1) was used as a test point to determine these regions.
The intersection of the regions in Figures 3 and 4 is shown in Figure 5;
it is the set of all feasible solutions to the given set of constraints.
y
-x + 2y = 4
-4
x
2x + 3y = 6
G EOMETRY OF A C ONSTRAINT
25
26
One can think of starting with very large values of k and then
decreasing them until we find a hyperplane that just touches the set
of feasible solutions.
27
Maximise z = 4x + 3y
subject to
5x
3x2
15
x, y
28
z = 12,
z=
27
,
2
and
z = 15
z=9
29
z = 12,
z=
27
,
2
and
z = 15
z = 12
z=9
30
z = 12,
z=
27
,
2
and
z = 15
z = 27/2
z = 12
z=9
31
z = 12,
z=
27
,
2
and
z = 15
z = 27/2
z = 15
z = 12
z=9
32
33
34
Maximise z = 2x + 5y
subject to
3x
2y
2x2
x, y
35
z = 14,
and
z = 20.
- 3x + 2y = 6
z = 20
x + 2y = 2
z=6
z = 14
36
arbitrarily large.
37
38
0 1}.
39
and aT x2 bi .
40
0 1,
41
c T x1 < c T x2 .
42
(since cT x1 < cT x2 )
= c T x2 .
That is, the value of the objective function at any interior point of
the line segment is less than its value at one end point.
Likewise, we may show that the value of the objective function at
any interior point of the line segment is greater than its value at one
end point.
43
44
for 0 1.
45
x2
C
x2
x1
x2
x1
A
B
B
D
x1
x2
B
Figure 11:
46
x1
x2
x1
x
x
A
x2
O
z
y
x2
x1
x
x
x2
x1
Figure 12:
47
x1
x2
x1
x1
x1
x2
x2
x2
Figure 13:
48
49
50
51