Professional Documents
Culture Documents
Chapter 10 Integer Programming II
Chapter 10 Integer Programming II
Integer programming I .
Itp
Question :
How to solve ILP ?
Assumption : all
parameters are
integers .
ILP bounded
Simple observation :
if feasible region of
is . then there
are
finitely many feasible sols
Example : Min Z = -
2x , -
Na
LO - l . I
S.t. Nit Nz E5
-
K , t Nz E O
GK , + 2Nd E 21
Hi , Nz 70 , int .
Method A :
Enumeration Method .
. .
i. .
Sol T
number
of feasible E
-
exponentially .
large n .
By observation , I LP is
closely related with its LPR .
ILP LPR
- -
Max EI Max EI
( P)
St .
AI =3 45 ) St .
AE -
- I
size , it .
I 38 .
FRC ILP > E FR ( LPR )
Method B :
Rounding Method .
( is For the
capital budgeting problem ,
if Kitt is a fraction ,
round
Even Sol
a-is if it makes sense , it
may not give you the correct
opt .
Example : Min Z = -
2K , -
Us
5.t .
Kit Nz E5
-
K , t Nz E O
Gse , + 2Nd E 21
Hi , Nz 70 , int .
generally speaking .
Solving ILP is harder than solving LP .
However ,
there are a group of Ihop which is
easy to solve .
i.e When A
. is
totaleyun.no#ar .
Let's make some observation
ILP LPR
- -
Max Zia ) -
-
EI Max ICE ) = E' si
( P'
St .
AZ =3 45 )
St .
AE -
- I
size , it .
I 38 .
Then ,
① FRCP ) E FR CF )
② if Zi't is an
opt Sol to ( Dd then
, .
HE E FRCP ) ,
EE EE * C E .
> ,
=) ?
-
x'*
'
If further .
It is int valued ,
then .
is to CP ) .
12¥ .
for Min
problem ,
LEI 'T E Z
't
CE ) .
③ If I > is infeasible .
then CP ) is
-
Question : which
type of
LP has ALL its BFS to be tht valued ?
Jeb =
B-
'
I BIB I -
-
det CB )
By assumption .
Bk has art elements .
if then .
ht K . Urse is it valued .
IB is int valued .
I 0 .
2 .
I
. modular ,
if det CB) = -4 .
An int matrix A is
totally unimodalar LTU M ) .
if every
square non
singular sub matrix
of A is unimodal ar .
ipsilateral
Thmpj-gtwttffg.li?nft.matrixA.n
Renata .
Furthermore IF ) BFS
opt Sol to Cp )
,
if has an
opt ,
it's an .
%ffeise.IT?j+scifany,ots--IaeirnlAEeb.a
Think ht int matrix A, the
following statements are
equivalent
:
PI .
(
skipped .
see lecture notes ) .
Remmark.tt
LP with a TUM coelficieut matrix A yields an int opt Sol for
i: c: :
l÷÷÷÷ ,
l: : : :
O l O O O
.
LemmaAisToM⇐[A1]isToM
"
Lemmata A is TOM .
⇐ A is TUM .
:÷÷÷÷n:
Thm A matrix A is TOM
if
it
aij E lo .
-
i . i Y ti
j
⇐ t Col
j containing exactly 2 nonzero entries ,
i }m aij ,
-
I
itMz
aij = o .
PI .
( By M1 on the order
of submatrices
of A ) .
Rematk
It's just sufficient condition condition
a ,
not a
necessary .
Eamon
ft I :O ! )
'
a -
.
N .
A directed graph (
digraphs G -
-
CV , E) .
T t
vertex set Arc set .
✓ =
f i Y i :
vertex . 2
special vertices : S . t .
E E
Icij > I i EV ,
j EV T .
④ →
⑤ :
permmis.be flow transportation direction .
P
t
cij ) EE
Gj 30
capacity )
{ tcijs
source
.
# E .
Cj -0
A S -
t flow in G : f : Vxv →
IR
"
sink .
( is
capacity constraints :
for all i
j EV ,
O E
fcij , E
Cij or OE
fij E
Cij .
I flow conservation :
ti E Vil s ,tY ,
I
ztji =
cij > EE
fij
.
I
Value
of the flow : V =
fsj = I
fjt
(
Sj > EE Lj 't) EE .
of v .
Max V
St fs , fsz
}
. + -
v = O
+"t + t "
-
f" -
t "
=
°
flow Aberration
f-21 t fzt -
fsz -
fi z = O
V -
fit -
fzt = O
fs , Csi
)
O E E
;
O E fit E Cit
O E fzt E Cut .
( S , t ) C S ,
2 ) ( I .
2 ) (2 ,
l S C 1. t ) ( 2. t)
f-s
:X:X :L
,
it:÷÷÷÷
S l l O O O O fsz V
f- it
t
fat V
-
b
incidence matrix A ( ) i =L IV 1 I El
aij j
-
= i
-
- v
. . .
. . -
, . . . . .
\
Aij = 1 .
if Ej
=
Cio . K )
1
if ej ck.io )
- =
O otherwise .
conduit.cidencematnixofadigraphis.TV#f
general formula for Max flow problem :
Max V
(
V S
if i -
=/ ;
-
ji,¥Ii
s t -
.
-
it
It
"
(p,
.
OE
fij E
Gaj
t ii.
j) EE .
( i. V
j,
- - - . . -
-
. - r - -
S I I 0
f .io/. . s=f
- .
i t o
'
'
: .
.
: .
i
i 1 : :
:
i
f :
:
'
*
. .
.
. . .
'
.
i O '
i
I :
i
-
1- Et
.
Cij
'
cij SEE :
I
i
! -
i 1 :
l
O
' '
l l '
flow
\
for each arc
cij > EE Nij :
dij :
capacity of Li -
j ,
Cij : unit
transportation cost
of ii.
js
\
: V, : set
of sources or origins
Vz : set
of intermediate vertices
Us : set
of sinks or destinations .
b-
{
i EV , ,
ai :
supply of the
commodity .
t i C- Us ,
bi : demand at vertex i .
cost
I
Min
Cijseij
( i
jst 't
Ai if
1=0
E i EV ,
sit
ji
.
i
it '
-
c. .
F bi
E , .
-
O E
Nij E
dij .
ttcij > EE
some
particular cases :
A .
transportation problem .
✓ 2=01 J
to 7
#O
|
.
Kiev , lcj.is/cj.iseEY=o/ O
0*0
,
.
titus ,
Icij >
Icij > EE 's =p .
Source
O
Min
cij > EE
Icij Nij Cais sink .
( bi )
St I
a. ij E ai ti EUI
.
Ci SEE
[ Uji bi
> Vi EVs
cj.is EE
.
OE
Nij E
dij ttcijs EE .
B .
transshipment problem :
C .
assignment problem :
In the
transshipment problem , if
its Vi EV A -
1 IV , 1=1 Vz I
{
. .
.
= . as
ti EVs ,
bi -
-
Assignment problem : i :
job j : worker
Min
Icij Nij
cij SEE
St I I
Nij =
fit Vi
.
Lij > EE
[ Uji =L . Hit Us
Cj EE
.
Nij EE
iht ⇐
0EKij El .
.
=
o or 1 .
V-ci.jo .
w e