SlideShare a Scribd company logo
1 of 19
Download to read offline
Communication Networks
E. Mulyana, U. Killat
1
An Alternative Genetic Algorithm to
Optimize OSPF Weights
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
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)
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)
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
)(
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)
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)
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
Communication Networks
E. Mulyana, U. Killat
9
Reproduction
5 5 6 5 7
1 2 3 3 4Parent 1
Parent 2
Offspring 1
Offspring 2
Random 0.81
const 2
const 1 0.03
0.53
0.59
5
1
0.02
1
8
0.09
6
3
0.35
5
3 7
4
Communication Networks
E. Mulyana, U. Killat
10
„Targeted“ Mutation
0.4 1.4 0.1 0.8 0.3 0.6
0.1 0.6 0.7 1.2 0.4 0.6
5
1 6 5
7
1
8 3 3
4
Offspring 1
Offspring 2
Util. O1
Util. O2
Average
Average
Av - 0.2 Av + 0.2
Utilization
5
1 6 5
7
1
8 3 3
4
3
5 4
7
3
Offspring 3
Offspring 4
0.1
1.4 0.1
1.2
0.3
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
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)
Communication Networks
E. Mulyana, U. Killat
13
A Test Network
Communication Networks
E. Mulyana, U. Killat
14
Results (3)
Communication Networks
E. Mulyana, U. Killat
15
Results (4)
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
Communication Networks
E. Mulyana, U. Killat
17
Thank You !
Communication Networks
E. Mulyana, U. Killat
18
Convergence
Communication Networks
E. Mulyana, U. Killat
19
Increasing Traffic

More Related Content

Viewers also liked

An Offline Hybrid IGP/MPLS Traffic Engineering Approach under LSP Constraints
An Offline Hybrid IGP/MPLS Traffic Engineering Approach under LSP ConstraintsAn Offline Hybrid IGP/MPLS Traffic Engineering Approach under LSP Constraints
An Offline Hybrid IGP/MPLS Traffic Engineering Approach under LSP ConstraintsEM Legacy
 
Internet Traffic Engineering for Partially Uncertain Demands
Internet Traffic Engineering for Partially Uncertain DemandsInternet Traffic Engineering for Partially Uncertain Demands
Internet Traffic Engineering for Partially Uncertain DemandsEM Legacy
 
An Alternative Genetic Algorithm to Optimize OSPF Weights
An Alternative Genetic Algorithm to Optimize OSPF WeightsAn Alternative Genetic Algorithm to Optimize OSPF Weights
An Alternative Genetic Algorithm to Optimize OSPF WeightsEM Legacy
 
A HYBRID GENETIC ALGORITHM APPROACH FOR OSPF WEIGHT SETTING PROBLEM
A HYBRID GENETIC ALGORITHM APPROACH FOR OSPF WEIGHT SETTING PROBLEMA HYBRID GENETIC ALGORITHM APPROACH FOR OSPF WEIGHT SETTING PROBLEM
A HYBRID GENETIC ALGORITHM APPROACH FOR OSPF WEIGHT SETTING PROBLEMEM Legacy
 
Optimizing IP Networks for Uncertain Demands Using Outbound Traffic Constraints
Optimizing IP Networks for Uncertain Demands Using Outbound Traffic ConstraintsOptimizing IP Networks for Uncertain Demands Using Outbound Traffic Constraints
Optimizing IP Networks for Uncertain Demands Using Outbound Traffic ConstraintsEM Legacy
 
Routing Optimization in IP/MPLS Networks under Per-Class Over-Provisioning Co...
Routing Optimization in IP/MPLS Networks under Per-Class Over-Provisioning Co...Routing Optimization in IP/MPLS Networks under Per-Class Over-Provisioning Co...
Routing Optimization in IP/MPLS Networks under Per-Class Over-Provisioning Co...EM Legacy
 
OPTIMIZATION OF IP NETWORKS IN VARIOUS HYBRID IGP/MPLS ROUTING SCHEMES
OPTIMIZATION OF IP NETWORKS IN VARIOUS HYBRID IGP/MPLS ROUTING SCHEMESOPTIMIZATION OF IP NETWORKS IN VARIOUS HYBRID IGP/MPLS ROUTING SCHEMES
OPTIMIZATION OF IP NETWORKS IN VARIOUS HYBRID IGP/MPLS ROUTING SCHEMESEM Legacy
 
Dimensioning of Multi-Class Over-Provisioned IP Networks
Dimensioning of Multi-Class Over-Provisioned IP NetworksDimensioning of Multi-Class Over-Provisioned IP Networks
Dimensioning of Multi-Class Over-Provisioned IP NetworksEM Legacy
 
Efficient Planning and Offline Routing Approaches for IP Networks
Efficient Planning and Offline Routing Approaches for IP NetworksEfficient Planning and Offline Routing Approaches for IP Networks
Efficient Planning and Offline Routing Approaches for IP NetworksEM Legacy
 
Optimization of IP Networks in Various Hybrid IGP/MPLS Routing Schemes
Optimization of IP Networks in Various Hybrid IGP/MPLS Routing SchemesOptimization of IP Networks in Various Hybrid IGP/MPLS Routing Schemes
Optimization of IP Networks in Various Hybrid IGP/MPLS Routing SchemesEM Legacy
 
IMPACT OF PARTIAL DEMAND INCREASE ON THE PERFORMANCE OF IP NETWORKS AND RE-OP...
IMPACT OF PARTIAL DEMAND INCREASE ON THE PERFORMANCE OF IP NETWORKS AND RE-OP...IMPACT OF PARTIAL DEMAND INCREASE ON THE PERFORMANCE OF IP NETWORKS AND RE-OP...
IMPACT OF PARTIAL DEMAND INCREASE ON THE PERFORMANCE OF IP NETWORKS AND RE-OP...EM Legacy
 
Network Planning and Optimization
Network Planning and OptimizationNetwork Planning and Optimization
Network Planning and OptimizationEM Legacy
 

Viewers also liked (12)

An Offline Hybrid IGP/MPLS Traffic Engineering Approach under LSP Constraints
An Offline Hybrid IGP/MPLS Traffic Engineering Approach under LSP ConstraintsAn Offline Hybrid IGP/MPLS Traffic Engineering Approach under LSP Constraints
An Offline Hybrid IGP/MPLS Traffic Engineering Approach under LSP Constraints
 
Internet Traffic Engineering for Partially Uncertain Demands
Internet Traffic Engineering for Partially Uncertain DemandsInternet Traffic Engineering for Partially Uncertain Demands
Internet Traffic Engineering for Partially Uncertain Demands
 
An Alternative Genetic Algorithm to Optimize OSPF Weights
An Alternative Genetic Algorithm to Optimize OSPF WeightsAn Alternative Genetic Algorithm to Optimize OSPF Weights
An Alternative Genetic Algorithm to Optimize OSPF Weights
 
A HYBRID GENETIC ALGORITHM APPROACH FOR OSPF WEIGHT SETTING PROBLEM
A HYBRID GENETIC ALGORITHM APPROACH FOR OSPF WEIGHT SETTING PROBLEMA HYBRID GENETIC ALGORITHM APPROACH FOR OSPF WEIGHT SETTING PROBLEM
A HYBRID GENETIC ALGORITHM APPROACH FOR OSPF WEIGHT SETTING PROBLEM
 
Optimizing IP Networks for Uncertain Demands Using Outbound Traffic Constraints
Optimizing IP Networks for Uncertain Demands Using Outbound Traffic ConstraintsOptimizing IP Networks for Uncertain Demands Using Outbound Traffic Constraints
Optimizing IP Networks for Uncertain Demands Using Outbound Traffic Constraints
 
Routing Optimization in IP/MPLS Networks under Per-Class Over-Provisioning Co...
Routing Optimization in IP/MPLS Networks under Per-Class Over-Provisioning Co...Routing Optimization in IP/MPLS Networks under Per-Class Over-Provisioning Co...
Routing Optimization in IP/MPLS Networks under Per-Class Over-Provisioning Co...
 
OPTIMIZATION OF IP NETWORKS IN VARIOUS HYBRID IGP/MPLS ROUTING SCHEMES
OPTIMIZATION OF IP NETWORKS IN VARIOUS HYBRID IGP/MPLS ROUTING SCHEMESOPTIMIZATION OF IP NETWORKS IN VARIOUS HYBRID IGP/MPLS ROUTING SCHEMES
OPTIMIZATION OF IP NETWORKS IN VARIOUS HYBRID IGP/MPLS ROUTING SCHEMES
 
Dimensioning of Multi-Class Over-Provisioned IP Networks
Dimensioning of Multi-Class Over-Provisioned IP NetworksDimensioning of Multi-Class Over-Provisioned IP Networks
Dimensioning of Multi-Class Over-Provisioned IP Networks
 
Efficient Planning and Offline Routing Approaches for IP Networks
Efficient Planning and Offline Routing Approaches for IP NetworksEfficient Planning and Offline Routing Approaches for IP Networks
Efficient Planning and Offline Routing Approaches for IP Networks
 
Optimization of IP Networks in Various Hybrid IGP/MPLS Routing Schemes
Optimization of IP Networks in Various Hybrid IGP/MPLS Routing SchemesOptimization of IP Networks in Various Hybrid IGP/MPLS Routing Schemes
Optimization of IP Networks in Various Hybrid IGP/MPLS Routing Schemes
 
IMPACT OF PARTIAL DEMAND INCREASE ON THE PERFORMANCE OF IP NETWORKS AND RE-OP...
IMPACT OF PARTIAL DEMAND INCREASE ON THE PERFORMANCE OF IP NETWORKS AND RE-OP...IMPACT OF PARTIAL DEMAND INCREASE ON THE PERFORMANCE OF IP NETWORKS AND RE-OP...
IMPACT OF PARTIAL DEMAND INCREASE ON THE PERFORMANCE OF IP NETWORKS AND RE-OP...
 
Network Planning and Optimization
Network Planning and OptimizationNetwork Planning and Optimization
Network Planning and Optimization
 

Similar to OSPF Weight Optimization with Genetic Algorithm

Routing Optimization in IP/MPLS Networks under Per-Class Over-Provisioning Co...
Routing Optimization in IP/MPLS Networks under Per-Class Over-Provisioning Co...Routing Optimization in IP/MPLS Networks under Per-Class Over-Provisioning Co...
Routing Optimization in IP/MPLS Networks under Per-Class Over-Provisioning Co...EM Legacy
 
Energy efficient cluster head selection in LEACH protocol
Energy efficient cluster head selection in LEACH protocolEnergy efficient cluster head selection in LEACH protocol
Energy efficient cluster head selection in LEACH protocolARUNP116
 
Areejit Samal Emergence Alaska 2013
Areejit Samal Emergence Alaska 2013Areejit Samal Emergence Alaska 2013
Areejit Samal Emergence Alaska 2013Areejit Samal
 
Introduction to biocomputing
 Introduction to biocomputing Introduction to biocomputing
Introduction to biocomputingNatalio Krasnogor
 
Fuzzy c means clustering protocol for wireless sensor networks
Fuzzy c means clustering protocol for wireless sensor networksFuzzy c means clustering protocol for wireless sensor networks
Fuzzy c means clustering protocol for wireless sensor networksmourya chandra
 
Impact of Partial Demand Increase on the Performance of IP Networks and Re-op...
Impact of Partial Demand Increase on the Performance of IP Networks and Re-op...Impact of Partial Demand Increase on the Performance of IP Networks and Re-op...
Impact of Partial Demand Increase on the Performance of IP Networks and Re-op...EM Legacy
 
Density based spatial clustering of applications with noises for dna methylat...
Density based spatial clustering of applications with noises for dna methylat...Density based spatial clustering of applications with noises for dna methylat...
Density based spatial clustering of applications with noises for dna methylat...Atef Alghzzy
 
SAIP2015 presentation_v5
SAIP2015 presentation_v5SAIP2015 presentation_v5
SAIP2015 presentation_v5Thembelani Gina
 
Artificial Neural Networks (ANNS) For Prediction of California Bearing Ratio ...
Artificial Neural Networks (ANNS) For Prediction of California Bearing Ratio ...Artificial Neural Networks (ANNS) For Prediction of California Bearing Ratio ...
Artificial Neural Networks (ANNS) For Prediction of California Bearing Ratio ...IJMER
 
Finding Km Values httpwww.brenda-enzymes.org F.docx
Finding Km Values httpwww.brenda-enzymes.org F.docxFinding Km Values httpwww.brenda-enzymes.org F.docx
Finding Km Values httpwww.brenda-enzymes.org F.docxernestc3
 

Similar to OSPF Weight Optimization with Genetic Algorithm (15)

Routing Optimization in IP/MPLS Networks under Per-Class Over-Provisioning Co...
Routing Optimization in IP/MPLS Networks under Per-Class Over-Provisioning Co...Routing Optimization in IP/MPLS Networks under Per-Class Over-Provisioning Co...
Routing Optimization in IP/MPLS Networks under Per-Class Over-Provisioning Co...
 
[Slides]L2.pptx
[Slides]L2.pptx[Slides]L2.pptx
[Slides]L2.pptx
 
Energy efficient cluster head selection in LEACH protocol
Energy efficient cluster head selection in LEACH protocolEnergy efficient cluster head selection in LEACH protocol
Energy efficient cluster head selection in LEACH protocol
 
Areejit Samal Emergence Alaska 2013
Areejit Samal Emergence Alaska 2013Areejit Samal Emergence Alaska 2013
Areejit Samal Emergence Alaska 2013
 
A tutorial in Connectome Analysis (2) - Marcus Kaiser
A tutorial in Connectome Analysis (2) - Marcus KaiserA tutorial in Connectome Analysis (2) - Marcus Kaiser
A tutorial in Connectome Analysis (2) - Marcus Kaiser
 
Ieek fall Conference 2013
Ieek fall Conference 2013Ieek fall Conference 2013
Ieek fall Conference 2013
 
Introduction to biocomputing
 Introduction to biocomputing Introduction to biocomputing
Introduction to biocomputing
 
Fuzzy c means clustering protocol for wireless sensor networks
Fuzzy c means clustering protocol for wireless sensor networksFuzzy c means clustering protocol for wireless sensor networks
Fuzzy c means clustering protocol for wireless sensor networks
 
Impact of Partial Demand Increase on the Performance of IP Networks and Re-op...
Impact of Partial Demand Increase on the Performance of IP Networks and Re-op...Impact of Partial Demand Increase on the Performance of IP Networks and Re-op...
Impact of Partial Demand Increase on the Performance of IP Networks and Re-op...
 
Density based spatial clustering of applications with noises for dna methylat...
Density based spatial clustering of applications with noises for dna methylat...Density based spatial clustering of applications with noises for dna methylat...
Density based spatial clustering of applications with noises for dna methylat...
 
A tutorial in Connectome Analysis (3) - Marcus Kaiser
A tutorial in Connectome Analysis (3) - Marcus KaiserA tutorial in Connectome Analysis (3) - Marcus Kaiser
A tutorial in Connectome Analysis (3) - Marcus Kaiser
 
SAIP2015 presentation_v5
SAIP2015 presentation_v5SAIP2015 presentation_v5
SAIP2015 presentation_v5
 
Seminar 20150920.2
Seminar 20150920.2Seminar 20150920.2
Seminar 20150920.2
 
Artificial Neural Networks (ANNS) For Prediction of California Bearing Ratio ...
Artificial Neural Networks (ANNS) For Prediction of California Bearing Ratio ...Artificial Neural Networks (ANNS) For Prediction of California Bearing Ratio ...
Artificial Neural Networks (ANNS) For Prediction of California Bearing Ratio ...
 
Finding Km Values httpwww.brenda-enzymes.org F.docx
Finding Km Values httpwww.brenda-enzymes.org F.docxFinding Km Values httpwww.brenda-enzymes.org F.docx
Finding Km Values httpwww.brenda-enzymes.org F.docx
 

Recently uploaded

Software Engineering Methodologies (overview)
Software Engineering Methodologies (overview)Software Engineering Methodologies (overview)
Software Engineering Methodologies (overview)eniolaolutunde
 
Incoming and Outgoing Shipments in 1 STEP Using Odoo 17
Incoming and Outgoing Shipments in 1 STEP Using Odoo 17Incoming and Outgoing Shipments in 1 STEP Using Odoo 17
Incoming and Outgoing Shipments in 1 STEP Using Odoo 17Celine George
 
How to Make a Pirate ship Primary Education.pptx
How to Make a Pirate ship Primary Education.pptxHow to Make a Pirate ship Primary Education.pptx
How to Make a Pirate ship Primary Education.pptxmanuelaromero2013
 
Contemporary philippine arts from the regions_PPT_Module_12 [Autosaved] (1).pptx
Contemporary philippine arts from the regions_PPT_Module_12 [Autosaved] (1).pptxContemporary philippine arts from the regions_PPT_Module_12 [Autosaved] (1).pptx
Contemporary philippine arts from the regions_PPT_Module_12 [Autosaved] (1).pptxRoyAbrique
 
Crayon Activity Handout For the Crayon A
Crayon Activity Handout For the Crayon ACrayon Activity Handout For the Crayon A
Crayon Activity Handout For the Crayon AUnboundStockton
 
Paris 2024 Olympic Geographies - an activity
Paris 2024 Olympic Geographies - an activityParis 2024 Olympic Geographies - an activity
Paris 2024 Olympic Geographies - an activityGeoBlogs
 
ECONOMIC CONTEXT - LONG FORM TV DRAMA - PPT
ECONOMIC CONTEXT - LONG FORM TV DRAMA - PPTECONOMIC CONTEXT - LONG FORM TV DRAMA - PPT
ECONOMIC CONTEXT - LONG FORM TV DRAMA - PPTiammrhaywood
 
_Math 4-Q4 Week 5.pptx Steps in Collecting Data
_Math 4-Q4 Week 5.pptx Steps in Collecting Data_Math 4-Q4 Week 5.pptx Steps in Collecting Data
_Math 4-Q4 Week 5.pptx Steps in Collecting DataJhengPantaleon
 
Accessible design: Minimum effort, maximum impact
Accessible design: Minimum effort, maximum impactAccessible design: Minimum effort, maximum impact
Accessible design: Minimum effort, maximum impactdawncurless
 
Sanyam Choudhary Chemistry practical.pdf
Sanyam Choudhary Chemistry practical.pdfSanyam Choudhary Chemistry practical.pdf
Sanyam Choudhary Chemistry practical.pdfsanyamsingh5019
 
Introduction to AI in Higher Education_draft.pptx
Introduction to AI in Higher Education_draft.pptxIntroduction to AI in Higher Education_draft.pptx
Introduction to AI in Higher Education_draft.pptxpboyjonauth
 
18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf
18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf
18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdfssuser54595a
 
CARE OF CHILD IN INCUBATOR..........pptx
CARE OF CHILD IN INCUBATOR..........pptxCARE OF CHILD IN INCUBATOR..........pptx
CARE OF CHILD IN INCUBATOR..........pptxGaneshChakor2
 
A Critique of the Proposed National Education Policy Reform
A Critique of the Proposed National Education Policy ReformA Critique of the Proposed National Education Policy Reform
A Critique of the Proposed National Education Policy ReformChameera Dedduwage
 
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptx
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptxPOINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptx
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptxSayali Powar
 
MENTAL STATUS EXAMINATION format.docx
MENTAL     STATUS EXAMINATION format.docxMENTAL     STATUS EXAMINATION format.docx
MENTAL STATUS EXAMINATION format.docxPoojaSen20
 
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptxSOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptxiammrhaywood
 
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...Krashi Coaching
 
BASLIQ CURRENT LOOKBOOK LOOKBOOK(1) (1).pdf
BASLIQ CURRENT LOOKBOOK  LOOKBOOK(1) (1).pdfBASLIQ CURRENT LOOKBOOK  LOOKBOOK(1) (1).pdf
BASLIQ CURRENT LOOKBOOK LOOKBOOK(1) (1).pdfSoniaTolstoy
 

Recently uploaded (20)

Software Engineering Methodologies (overview)
Software Engineering Methodologies (overview)Software Engineering Methodologies (overview)
Software Engineering Methodologies (overview)
 
Incoming and Outgoing Shipments in 1 STEP Using Odoo 17
Incoming and Outgoing Shipments in 1 STEP Using Odoo 17Incoming and Outgoing Shipments in 1 STEP Using Odoo 17
Incoming and Outgoing Shipments in 1 STEP Using Odoo 17
 
How to Make a Pirate ship Primary Education.pptx
How to Make a Pirate ship Primary Education.pptxHow to Make a Pirate ship Primary Education.pptx
How to Make a Pirate ship Primary Education.pptx
 
Contemporary philippine arts from the regions_PPT_Module_12 [Autosaved] (1).pptx
Contemporary philippine arts from the regions_PPT_Module_12 [Autosaved] (1).pptxContemporary philippine arts from the regions_PPT_Module_12 [Autosaved] (1).pptx
Contemporary philippine arts from the regions_PPT_Module_12 [Autosaved] (1).pptx
 
Crayon Activity Handout For the Crayon A
Crayon Activity Handout For the Crayon ACrayon Activity Handout For the Crayon A
Crayon Activity Handout For the Crayon A
 
Paris 2024 Olympic Geographies - an activity
Paris 2024 Olympic Geographies - an activityParis 2024 Olympic Geographies - an activity
Paris 2024 Olympic Geographies - an activity
 
ECONOMIC CONTEXT - LONG FORM TV DRAMA - PPT
ECONOMIC CONTEXT - LONG FORM TV DRAMA - PPTECONOMIC CONTEXT - LONG FORM TV DRAMA - PPT
ECONOMIC CONTEXT - LONG FORM TV DRAMA - PPT
 
_Math 4-Q4 Week 5.pptx Steps in Collecting Data
_Math 4-Q4 Week 5.pptx Steps in Collecting Data_Math 4-Q4 Week 5.pptx Steps in Collecting Data
_Math 4-Q4 Week 5.pptx Steps in Collecting Data
 
Accessible design: Minimum effort, maximum impact
Accessible design: Minimum effort, maximum impactAccessible design: Minimum effort, maximum impact
Accessible design: Minimum effort, maximum impact
 
Sanyam Choudhary Chemistry practical.pdf
Sanyam Choudhary Chemistry practical.pdfSanyam Choudhary Chemistry practical.pdf
Sanyam Choudhary Chemistry practical.pdf
 
Introduction to AI in Higher Education_draft.pptx
Introduction to AI in Higher Education_draft.pptxIntroduction to AI in Higher Education_draft.pptx
Introduction to AI in Higher Education_draft.pptx
 
18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf
18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf
18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf
 
CARE OF CHILD IN INCUBATOR..........pptx
CARE OF CHILD IN INCUBATOR..........pptxCARE OF CHILD IN INCUBATOR..........pptx
CARE OF CHILD IN INCUBATOR..........pptx
 
A Critique of the Proposed National Education Policy Reform
A Critique of the Proposed National Education Policy ReformA Critique of the Proposed National Education Policy Reform
A Critique of the Proposed National Education Policy Reform
 
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptx
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptxPOINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptx
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptx
 
MENTAL STATUS EXAMINATION format.docx
MENTAL     STATUS EXAMINATION format.docxMENTAL     STATUS EXAMINATION format.docx
MENTAL STATUS EXAMINATION format.docx
 
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptxSOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
 
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...
 
BASLIQ CURRENT LOOKBOOK LOOKBOOK(1) (1).pdf
BASLIQ CURRENT LOOKBOOK  LOOKBOOK(1) (1).pdfBASLIQ CURRENT LOOKBOOK  LOOKBOOK(1) (1).pdf
BASLIQ CURRENT LOOKBOOK LOOKBOOK(1) (1).pdf
 
Código Creativo y Arte de Software | Unidad 1
Código Creativo y Arte de Software | Unidad 1Código Creativo y Arte de Software | Unidad 1
Código Creativo y Arte de Software | Unidad 1
 

OSPF Weight Optimization with Genetic Algorithm

  • 1. Communication Networks E. Mulyana, U. Killat 1 An Alternative Genetic Algorithm to Optimize OSPF Weights
  • 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
  • 9. Communication Networks E. Mulyana, U. Killat 9 Reproduction 5 5 6 5 7 1 2 3 3 4Parent 1 Parent 2 Offspring 1 Offspring 2 Random 0.81 const 2 const 1 0.03 0.53 0.59 5 1 0.02 1 8 0.09 6 3 0.35 5 3 7 4
  • 10. Communication Networks E. Mulyana, U. Killat 10 „Targeted“ Mutation 0.4 1.4 0.1 0.8 0.3 0.6 0.1 0.6 0.7 1.2 0.4 0.6 5 1 6 5 7 1 8 3 3 4 Offspring 1 Offspring 2 Util. O1 Util. O2 Average Average Av - 0.2 Av + 0.2 Utilization 5 1 6 5 7 1 8 3 3 4 3 5 4 7 3 Offspring 3 Offspring 4 0.1 1.4 0.1 1.2 0.3
  • 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)
  • 13. Communication Networks E. Mulyana, U. Killat 13 A Test Network
  • 14. Communication Networks E. Mulyana, U. Killat 14 Results (3)
  • 15. Communication Networks E. Mulyana, U. Killat 15 Results (4)
  • 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
  • 17. Communication Networks E. Mulyana, U. Killat 17 Thank You !
  • 18. Communication Networks E. Mulyana, U. Killat 18 Convergence
  • 19. Communication Networks E. Mulyana, U. Killat 19 Increasing Traffic