Graph Theory Basics 2
Graph Theory Basics 2
c e c
d d
A CHAIN between two nodes is a sequence of arcs where every arc has exactly
one node in common with the previous arc
b CHAIN: a-b-c-d; ARCS: a-b, c-b, c-d
a c d
A PATH is a chain of directed arcs, where the terminal node of each arc is the
initial node of the succeeding arc:
d
b PATH: a-b-c-d; ARCS: a-b, b-c, c-d
a c
b d
CIRCUIT: a-b-c-d; ARCS: a-b, b-c, c-d, d-a a c
ASSUMPTION: i=1..mbi = 0
PROBLEM MCNF: Minimize all defined i-j (cijxij)
A F
7
2 5
2
5 4
O B D
7
1 1
3
4 C E
4
A T={A,B,C,D,E,F}
2
0
5
= {A, B, C}
O B
DA=Min{DO+LOA}=2
4
DB=Min{DO+LOB}=5
C
DC=Min{DO+LOC}=4
1 7
4 3
C E DF=Min{DD+LDF, DE+LEF}
4 7 =Min{8+5, 7+7}=13
C 14
E
C 14
E
C 1 +1 4
E
C 2 +1 4
E
C 34
E
C 34
E
PROBLEM MCNF:
Minimize all defined i-j (cijxij)
st j x1j =1
j xij - k xki = 0 for i=2,…,m-1
- k xkm = -1
0xij for all i-j
st j xso-j =M
- k xk-si = -M
0 xij Uij for all i-j