Professional Documents
Culture Documents
MAT581SS
Mathematics for Logistics
Produced by Jeff Chak-Fu WONG
ABLE OF
TABLE OF C ONTENTS
1. INTRODUCTION
2. MATHEMATICAL FORMULATION OF LINEAR PROGRAMMING
PROBLEM
3. STATEMENTS OF BASIC THEOREMS AND PROPERTIES
C ONTENTS
ABLE OF
TABLE OF C ONTENTS
1. General Formulation of Linear Programming Problems
2. Standard Form of Linear Programming Problem
3. Matrix Form of Linear Programming Problem
4. Definitions
5. Basic Assumptions
6. Fundamental Theorem of Linear Programming
C ONTENTS
z = c1 x1 + c2 x2 + + cn xn
and also satisfy m-constraints
a11 x1 + + aij xj + + a1n xn (=)b1
a21 x1 + + a2j xj + + a2n xn (=)b2
..
..
.
.
ai1 x1 + + aij xj + + ain xn (=)bi
..
..
.
.
am1 x1 + + amj xj + + amn xn (=)bm
(2)
n
X
z=
cj xj subject to
aij xij =
bi , i = 1, 2, , m
j=1
j=1
and, xj 0, j = 1, 2, , n.
where constraints may be
in the form of an inequality ( or ) or
even in the form of an equation (=)
and finally satisfying the non-negativity restrictions
x1 0, x2 0, , xj 0, , xn 0
(3)
Remark:
By convention, the values of right hand side parameters
bi (i = 1, 2, 3, , m) are restricted to non-negative values only.
Any negative bi can be changed to positive by multiplying 1
on both sides (in this case direction of inequality will change).
10
x1 + 2x2
, s1 0
, s2 0
11
12
13
14
15
16
Remark:
17
aij xj bi
i = 1, 2, , m
(4)
j=1
aij xj +si = bi
j=1
18
aij xj bi (i = 1, 2, , m)
(5)
j=1
aij xj si = bi
j=1
19
20
Solution:
As x2 is unrestricted x2 = x2 x2 , where x2 , x2 0.
The given LPP becomes
Maximise z = 2x1 + 3(x2 x2 ) + x3
subject to
4x1 3x2 + 3x2 + x3 6
x1 + 5x2 5x2 7x3 4
x1 , x2 , x2 , x3 0
21
22
23
Solution:
Introducing slack and surplus variables, the problem in the standard form
can be expressed as
Maximise z = 3x1 + 2x2 + 0s1 + 0s2
subject to
2x1 + x2 + s1 = 2
3x1 + 4x2 s2 = 12
x1 , x2 , s1 , s2 0
24
x1 + 2x2 + 3x3
3x1 + 2x3
x1 0, x2
0.
25
Solution:
Here, x1 and x2 are restricted to be non-negative, while x3 is
unrestricted.
Let us express x3 as x3 = x3 x3 , where x3 0, x3 0.
Thus, the above constraints can be written as
2x1 + 3x2 3
x1 + 2x2 + 3x3 3x3 5
3x1 + 2x3 2x3 2
x1 , x2 , x3 , x3 0
26
Introducing the slack and surplus variables then the standard form is
Maximise z = 3x1 + 2x2 + 5x3 5x3 + 0s1 + 0s2 + 0s3
subject to
2x1 3x2 + s1
=3
=5
=2
where
x1 , x2 , x3 , x3 , s1 , s2 , s3 0.
27
28
= CX (objective function)
= b, b 0
(constraint equation)
a11 a12
a
21 a22
A=
..
..
.
.
am1
am2
a1n
a2n
..
.
amn
m,m+n
29
Remark:
a11
a
21
A=
..
.
am1
a12
a22
a1n
a2n
..
.
..
.
am2
amn
Say
A = [Cmn |Bm,m ]
30
31
x1 + 2x2
=7
x1 0, x2 0, x3
0.
32
Solution:
The problem can be written as in standard form as
or,
x1
x
2
Maximise z = [2 3 4 0 0] x3
x4
x5
subject to
x1 + x2 + x3 x4
=5
x1 + 2x2
=7
=9
33
or,
1
5
x1
0
x2
0
x3
1
x4
x5
Thus, X = [x1 x2 x3 x4
C = [2 3 4 0 0]
b = [5 7 9]T and
1
1 1 1 0
A=
2 0
0 0
1
5 2 3
0 1
= 7
x5 ]T
34
D EFINITIONS
1. Solution to a LPP
A set X = {x1 , x2 , , xn+m } of variables is called a solution to a
LPP, if it satisfies the set of constraints (2) only.
D EFINITIONS
.
ai1 x1 + + aij xj + + ain xn (=)bi
..
..
.
.
am1 x1 + + amj xj + + amn xn (=)bm
35
2. Feasible solution
Any set X = {x1 , x2 , , xn+m } of variables is called a feasible
solution of the LPP, if it satisfies the set of constraints (2) and
non-negativity restrictions (3).
D EFINITIONS
.
ai1 x1 + + aij xj + + ain xn (=)bi
..
..
.
.
am1 x1 + + amj xj + + amn xn (=)bm
non-negativity restrictions:
x1 0, x2 0, , xj 0, , xn 0
36
3. Basic solution
D EFINITIONS
37
D EFINITIONS
38
D EFINITIONS
39
6. Unbounded solution
If the value of the objective function z can be increased or
decreased indefinitely, such solutions are called unbounded
solutions.
Note: An optimum solution to a LPP means that z has a finite
maximum or finite minimum.
D EFINITIONS
40
Example 8
=4
=7
D EFINITIONS
41
The possible number of basic solutions will be C(m + n, m), the number
of combination of things taken m at a time.
Since m + n = 3 and m = 2 in this problem, a basic solution can be
obtained by
setting any of the n variables equal to zero and
then solving the constraint equations.
The total number of basic solutions are
D EFINITIONS
C(3, 2) =
3!
= 3.
2!1!
42
D EFINITIONS
43
BV s
Non
BV s
Value of the
BV s
Value of the
Is the
given by the
objective
soln.
constraint
function
feasible
Is the
Is the
soln.
soln.
ND
feasible &
optimal
equations
1
x1 , x2
x3 = 0
x1 + 2x2 = 4
2x1 + 3x2 = 7
Yes
Yes
Yes
Yes
Yes
No
No
No
No
x1 = 2, x2 = 1
x1 + 3x3 = 4
2
x1 , x3
x2 , x3
x2 = 0
x1 = 0
2x1 + 5x3 = 7
x1 = 1, x3 = 1
2x2 + 3x3 = 4
3x2 + 5x3 = 7
x2 = 1, x3 = 2
The first two solutions are basic feasible; they are also non-degenerate
basic feasible solutions.
The first solution is the optimal one. Thus, the optimal solution
x1 = 2, x2 = 1, x3 = 0, with maximum of z = 5.
D EFINITIONS
44
D EFINITIONS
2x1 + x2 x3 = 2
3x1 + 2x2 + x3 = 3
45
Soltuion:
The given system of equations can be written as AX = b, where
D EFINITIONS
A=
x1
X = x2
x3
b=
2
3
46
3!
2!1!
= 3 submatrices of the
D EFINITIONS
47
First, let B =
3 2
by setting x3 = 0 and solving the system
Or
x1
x2
2
3
2x1 + x2 = 2
3x1 + 2x2 = 3
x1 = 1, x2 = 0 (basic); x3 = 0 (non-basic)
D EFINITIONS
48
Check:
5/3
1/3
and
Check:
2
3
1 0 1
1 2
1 3
0 1 0
Since in two of these basic feasible solutions, one basic variable is zero,
they are degenerate solutions. The second solution (0, 5/3, 1/3) is not
feasible.
Thus, the remaining two degenerate basic feasible solutions are (1, 0, 0)
and (1, 0, 0).
D EFINITIONS
49
D EFINITIONS
50
Solution:
First decide the maximum possible number of basic solutions.
The possible number of basic solutions will be C(m + n, m), the number
of combination of things taken m at a time.
Here, we have m + n = 3 variables and m = 2 constraints.
Hence, the possible number of basic solutions are
D EFINITIONS
C(3, 2) =
3!
= 3.
2!(3 2)!
51
3 4 5
1 0 1
2
4 5 6
0 1
2. Put x2 = 0, then we get x1 = 1/2, x3 = 3/2.
2 4 5
1 0 1/2
3 5 6
0 1
3/2
3. Put x3 = 0, then we get x1 = 2, x2 = 3.
2 3 5
1 0 2
3 4 6
0 1
3
D EFINITIONS
52
B ASIC A SSUMPTIONS
B ASIC A SSUMPTIONS
53
2. Additivity:
Sum of the resources used by different activities must be equal to the total quantity of
resources used by each activity for all the resources individually or collectively.
3. Divisibility :
The variables are not restricted to integer values.
B ASIC A SSUMPTIONS
54
4. Certainity or Deterministic :
Coefficients in the objective function and the constraints are completely known and do not
change during the period under study in all the problems that are considered.
5. F initeness :
Variables and constraints are finite in number.
6. Optimality :
In a linear programming problem we determine the decision variables so as to optimise the
objective function of the LPP.
B ASIC A SSUMPTIONS
55