2. Communication Networks
E. Mulyana, U. Killat
2
Introduction
• OSPF (IGP) use administrative metric
– Not adapt on the traffic situation
Unbalanced load distribution
• Mechanism to increase network utilization and
avoid congestion
– Changing the link weights for a given demand
– The problem is NP-hard
3. Communication Networks
E. Mulyana, U. Killat
3
OSPF Routing Problem (1)
• Each link has a cost/weight [1 ... 65535]
• Routers compute paths with Dijkstra‘s
algorithm
• ECMP even-splitting
• Given a demand and a set of weights
Load distribution (does not depend on link
capacities)
4. Communication Networks
E. Mulyana, U. Killat
4
OSPF Routing Problem (2)
Find a set
of weights
with minimal
cost
Dijkstra ,
ECMP
Objective (cost)
Function
Network topology
and link capacities
Predicted traffic
demand
Set of weights
Cost value
Utilization (max, av)
5. Communication Networks
E. Mulyana, U. Killat
5
Objective Functions
• Objective Function 1 : Stähle, Köhler, Kohlhaas
maximum & average utilization
• Objective Function 2 : Minimizing changes
ij uv ij
uv
ij
t
c
l
E
ta
1
)(
r
kk
r
kk
k
ww
ww
y
,
,
0
1
w1
r, w2
r, … , wk
r, … , w|E|
r
w1 , w2 , … , wk , … , w|E|
Ek
k
y
ij uv ij
uv
ij
t
y
E
a
c
l
E
ta
1
)(
6. Communication Networks
E. Mulyana, U. Killat
6
General Routing Problem
• Lower bound for shortest path (SP) routing
• No SP constraints, no splitting constraints
• LP formulation:
Objective Function
Flow Conservation
Utilization Upper Bound (t)
7. Communication Networks
E. Mulyana, U. Killat
7
The Proposed GA
The big picture The population dynamic
Start
Population
Exit
Condition
Selection
Reproduction
Mutation
Add new
Population
Selection
Reproduction
Mutation
Population
50 chromosomes
Selection (parents)
8 chromosomes
Selection
(remove 10%)
Population
45 chromosomes
Offsprings
16 chromosomes
Population
61 chromosomes
Selection
(best 50 chromosomes)
8. Communication Networks
E. Mulyana, U. Killat
8
Forming a new generation
• Reproduction
– Crossover
– Arbitrary Mutation
• „Targeted“ Mutation
AVC1 C2 C3 C4
P1 P2
O4O1
Reproduction
„Targeted“
Mutation
O3 O2
„Targeted“
Mutation
11. Communication Networks
E. Mulyana, U. Killat
11
Results (1)
Result of 6 routers network
6 routers
network
10 routers
network
MIP GA
Max. 35.7%
Av. 22.7%
95% match
(100 runs, 100 iterations)
Max. 96.7%
Av. 82.9%
32% match
(100 runs, 300 iterations)
• Objective function (1)
• at = 10
12. Communication Networks
E. Mulyana, U. Killat
12
Results (2)
• Objective function (2)
• at = ay = 10
Original
(reference)
GA
Max. 42.9%
Av. 22.4%
Max. 35.7%
Av. 22.7%
4 link changes :
(2,1) (3,4) (4,5) (5,6)
16. Communication Networks
E. Mulyana, U. Killat
16
Conclusion
• Alternative genetic algorithm to OSPF
routing problem, with a mutation heuristic
• Objective function (O.F.) from Stähle,
Köhler, Kohlhaas
• Enhancing this O.F. to minimize weight
changes