Professional Documents
Culture Documents
Mathematical Programming Ι
Chapter 1
Introduction
2011/2/21 1
•
The simplex method was proposed by
Dantzig in 1949.
2011/2/21 2
1
Basic Definitions of LP Problems
Equalities ()
and/or
Inequalities (or )
2011/2/21 3
Notations of LP Problems
【In three different forms】
2011/2/21 4
2
Notations of LP Problems (cont)
(2) Summation Form: (3) Matrix Form:
n
Min c j x j Min CX
j
1
n s.t. AX b
s.t. a x
j 1
ij j bi , i 1, , m;
X 0
x j 0, j 1, , n.
2011/2/21 5
Assumptions of LP
1. Proportionality: ci xi , aij xi
Each activity is introduced involving only ci
in the objective function and aij in the constraints.
No setup cost for starting an activity and no economic
returns to scale or discount.
2011/2/21 6
3
Assumptions of LP (cont)
2. Additivity:
The effects (contribution) of each activity
is considered individually, i. e. no interaction
or substitution e ffects among activities are consi dered.
2011/2/21 7
2. Non-negativity of variables:
For variables being unrestricted in sign.
e.g. x j unrestricted x j x
j - x j ; x j & x j 0
or if x j l j x
j x j - l j 0
if x j u j x
j u j - x j 0
2011/2/21 8
4
Problem Manipulation
Technique (cont)
3. Max obj Min obj
Max c x
j j
-Min
-c j
xj
i.e. Convert a max problem objective function to a min one
by multiplying the coefficients by (-1).
To the end, multiply the objective function value
of the converted optimal solution by (-1) to obtain
the objective function value of the original problem.
2011/2/21 9
Standard Form
For simplex method,
all variables are non-negative
all constraints are equalities
b nonegative
e.g.
Max CX or Min CX
st AX b st AX b
X 0 X 0
2011/2/21 10
5
Canonical Form
For exploiting duality relationship
all variables are non-negative
For Min problem
all " " type constraints
Min CX
st AX b
X 0
all variables are non-negative
For Max problem
all " " type constraints
Max CX
st AX b
2011/2/21 X 0 11
Example
Max - 5 x1 - 3 x2 7 x3
st 2 x1 4 x2 6 x3 7
3 x1 - 5 x2 3 x3 5
- 4 x1 - 9 x2 4 x3 -4
x1 -2 , 0 x2 4 , x3 free
2011/2/21 12
6
Why Converts to Standard Form
•Converting to equalities allows us to use the
technique of elimination to manipulate and simplify
the constraints while maintaining the same
feasible region.
x1 1
e.g. The system
x1 x2 2
x1 1
is not equivalent to the system of
x2 1
x1 1
For , the feasible region is
x1 x2 2
x1 1
But for , the feasible region has become
x2 1
2011/2/21 13
LP Modeling Procedure
•Problem formulation
Detailed study of the problem, data collection,
objective function & constraints identification
•LP model construction
•Solution derivation
•Model testing, analysis, and (possibly)
reconstructing
•Implementation
2011/2/21 14
7
Definition of Terms
" Solution " in the following definitions refers only to the equality
constraints for the LP in the standard form and has no connection with
the value of the objective function.
2011/2/21 15
2011/2/21 16
8
Definition of Terms (cont)
2011/2/21 17
2011/2/21 18
x * x 1* (1 - ) x 2* x *is an optimal ray with x1* as the vertex
9
Solution Types (cont)
3. Unbounded Optimal Solution Values :
Both feasible region and the optimal solution values
are unbounded
Max without bound
no optimum exists
Min without bound
2011/2/21 19
Requirement Space
RHS vector b usually reflects requirement to be satisfied.
1. Feasibility:
(a) for equality constraints: the LP model has a FS iff the vector b
belongs to the cone formed by a j 's
e.g. 2 x1 x2 x3 2 e.g. 2 x1 x2 x3 -1
- x1 3x2 x4 3 - x1 3 x2 x4 2
x1 , x2 , x3 , x4 0 x1 , x2 , x3 , x4 0
a2
a2
b
b
a4 a4
a3
a3
2011/2/21 a1 20
a1
10
Requirement Space (cont)
(b) for inequality constraints:
e.g. a x
ij j
b
if a FS exists, the cone formed by a j 's must intersect the collection
of vectors that are less than or equal to the b vector.
a2
a2
a3
a1 a3
b
b a1
2011/2/21 21
LP model:
Min c x j j
c cn z
st a x ij j bi
After Re vision
1 x1 xn
a1 an b
x 0 That is to find the smallest z value
c c
in the cone spanned by 1 , , n
.
a2 an
2011/2/21 22
11
Requirement Space (cont)
e.g (1) Min - 2 x1 - 3x2
-3
st x1 2 x2 2 x1 2 x2 x3 2
2
x1 , x2 0 z*=-4
0
-2 -3 0
z
-2
1
1
Revise x1 x2 x3
1
2 1 2
- Z*
(2) Min - 2 x1 - 3 x2
-3
2
st x1 2 x2 2 x1 2 x2 - x3 2
x1 , x2 0
-2
1
-2 -3 0 z
Revise x1 x2 x3
1
2 -1 2
0
-1
2011/2/21 23
12