SlideShare a Scribd company logo
1 of 21
Graph Problems and 
Their Linear Problem 
Formulations 
Guided by Presented by 
Dr. Hemal V Shah Dharmesh R Tank 
Associate Professor MTech-CE(III) 
UVPCE UVPCE 
08/10/2014
Outline 
What is Graph Problem?? 
What is Linear Problem Formulation ?? 
Problems:- 
Maximum Average Degree 
Traveling Salesman Problem 
Acyclic edge coloring 
Edge-disjoint spanning trees 
Steiner tree 
Linear arboricity 
H-minor 
Assignment
Graph Problem 
A problem that appears intractable may prove to be a few lines with the proper 
linear formulation or data structure. 
To solving a graph related problem, it’s necessary to recognizing that it is a graph 
problem. 
More difficult than it sounds. 
If we are required to find a path of any sort, it is a graph problem. 
Keywords : vertices, nodes, edges, connections, connectivity, paths, cycles and 
direction. 
Nearly all graph problems will use a grid or network in the problem.
Linear Problem Formulation 
xj = decision variables 
bi = constraint levels 
cj = objective function coefficient 
aij = constraint coefficients
Steps for Linear Problem Formulation 
Step 1: Identify variables. 
Step 2: Write down the objective function( max or min). 
Step 3: Write down the constraints with a system of inequalities. 
Step 4: Find the feasible solution with graph representation. 
Step 5: Calculate the coordinates of the vertices of feasible 
solutions. 
Step 6: Calculate the optimal value of the objective function at each 
of the vertices for maximum or minimum values.
Outline 
What is Graph Problem?? 
What is Linear Problem Formulation ?? 
Problems:- 
Maximum Average Degree 
Traveling Salesman Problem 
Acyclic edge coloring 
Edge-disjoint spanning trees 
Steiner tree 
Linear arboricity 
H-minor 
Assignment
1. Maximum Average Degree 
The average degree of a graph G is defined as ad(G) = 2 E(G) / V(G) 
The maximum average degree of G is meant to represent its densest 
part, and is formally defined as : 
mad(G) = max ad(H) 
Let D be a directed graph which is the disjoint union of E(G) and V (G). 
Each edge will then have a flow of 2 (a source and the necessary edges) 
to distribute among its two endpoints.
LP Formulation for MAD 
If H Є G is the densest subgraph in G, its E(H) edges will send a flow of 2E(H) to their 
V (H) vertices, such feasible only if Z ≥ 2E(H)/ V(H). 
An elementary application of the max-flow/min-cut theorem, or bipartite matching 
theorem
Example: set of authors who wrote at least one paper in the 
period between 1974 and 2004. 
http://www.nature.com/srep/2012/120625/srep00469/fig_tab/srep00469_F1.html
Outline 
What is Graph Problem?? 
What is Linear Problem Formulation ?? 
Problems:- 
Maximum Average Degree 
Traveling Salesman Problem 
Acyclic edge coloring 
Edge-disjoint spanning trees 
Steiner tree 
Linear arboricity 
H-minor 
Assignment
2.Traveling Salesman Problem 
TSP is a Hamiltonian cycle whose weight 
(the sum of the weight of its edges) is minimal. 
Both the objective and the constraint that 
each vertex must have exactly two neighbors. 
But this produce solutions set of edges 
with several cycles.
LP Formulation for TSP 
One Way is add the constraint that, for an arbitrary vertex v, the set S of 
edges in the solution must contain no cycle in G. 
Therefore the amounts to checking the set of edges in S with no 
adjacent to v is of maximal average degree strictly less than 2.
Applications 
Synchronous Optical Networking (SONET) 
Airplane Path Decider
Outline 
What is Graph Problem?? 
What is Linear Problem Formulation ?? 
Problems:- 
Maximum Average Degree 
Traveling Salesman Problem 
Linear arboricity 
Acyclic edge coloring 
Edge-disjoint spanning trees 
Steiner tree 
H-minor 
Assignment
3. Linear Arboricity 
The arboricity of an undirected graph is the 
minimum number of forests into which its edges can 
be partitioned. Equivalently it is the minimum number 
of spanning forests needed to cover all the edges of 
the graph. 
The linear arboricity of a graph G is the least number 
k such that the edges of G can be partitioned into k 
classes, each of them being a forest of paths (the 
disjoints union of paths { trees of maximal degree 2).
LP Formulation for Linear Arboricity
Outline 
What is Graph Problem?? 
What is Linear Problem Formulation ?? 
Problems:- 
Maximum Average Degree 
Traveling Salesman Problem 
Linear arboricity 
Acyclic edge coloring 
Edge-disjoint spanning trees 
Steiner tree 
H-minor 
Assignment
4.Acyclic edge coloring 
An edge coloring with k colors is said to be acyclic if it is proper (each color class is a 
matching { maximal degree 1), and if the union of the edges of any two color classes 
is acyclic. 
The corresponding LP is almost a copy of the previous one 
Except that we need to ensure that 
different classes are acyclic
Assignment 
1. The Sureset Concrete Company produces concrete. Two ingredients in concrete 
are sand (costs $6 per ton) and gravel (costs $8 per ton). Sand and gravel together 
must make up exactly 75% of the weight of the concrete. Also, no more than 40% of 
the concrete can be sand and at least 30% of the concrete be gravel. Each day 2000 
tons of concrete are produced. To minimize costs, how many tons of gravel and sand 
should be purchased each day?
Thank you

More Related Content

Viewers also liked

5.3 arbol expansión minima algoritmo de kruskal
5.3 arbol expansión minima algoritmo de kruskal5.3 arbol expansión minima algoritmo de kruskal
5.3 arbol expansión minima algoritmo de kruskalADRIANA NIETO
 
Minimum Spanning Tree
Minimum Spanning TreeMinimum Spanning Tree
Minimum Spanning Treezhaokatherine
 
El problema de la ruta mas corta
El problema de la ruta mas corta El problema de la ruta mas corta
El problema de la ruta mas corta Luis Fajardo
 
Optimizacion De Redes
Optimizacion De RedesOptimizacion De Redes
Optimizacion De RedesHero Valrey
 
Operations research - an overview
Operations research -  an overviewOperations research -  an overview
Operations research - an overviewJoseph Konnully
 

Viewers also liked (6)

Combinatorial Optimization
Combinatorial OptimizationCombinatorial Optimization
Combinatorial Optimization
 
5.3 arbol expansión minima algoritmo de kruskal
5.3 arbol expansión minima algoritmo de kruskal5.3 arbol expansión minima algoritmo de kruskal
5.3 arbol expansión minima algoritmo de kruskal
 
Minimum Spanning Tree
Minimum Spanning TreeMinimum Spanning Tree
Minimum Spanning Tree
 
El problema de la ruta mas corta
El problema de la ruta mas corta El problema de la ruta mas corta
El problema de la ruta mas corta
 
Optimizacion De Redes
Optimizacion De RedesOptimizacion De Redes
Optimizacion De Redes
 
Operations research - an overview
Operations research -  an overviewOperations research -  an overview
Operations research - an overview
 

Similar to Graph problem & lp formulation

Minimizing cost in distributed multiquery processing applications
Minimizing cost in distributed multiquery processing applicationsMinimizing cost in distributed multiquery processing applications
Minimizing cost in distributed multiquery processing applicationsLuis Galárraga
 
B.TECH Math project
B.TECH Math projectB.TECH Math project
B.TECH Math projectarunsarkar9
 
Graph terminology and algorithm and tree.pptx
Graph terminology and algorithm and tree.pptxGraph terminology and algorithm and tree.pptx
Graph terminology and algorithm and tree.pptxasimshahzad8611
 
On algorithmic problems concerning graphs of higher degree of symmetry
On algorithmic problems concerning graphs of higher degree of symmetryOn algorithmic problems concerning graphs of higher degree of symmetry
On algorithmic problems concerning graphs of higher degree of symmetrygraphhoc
 
ON ALGORITHMIC PROBLEMS CONCERNING GRAPHS OF HIGHER DEGREE OF SYMMETRY
ON ALGORITHMIC PROBLEMS CONCERNING GRAPHS OF HIGHER DEGREE OF SYMMETRYON ALGORITHMIC PROBLEMS CONCERNING GRAPHS OF HIGHER DEGREE OF SYMMETRY
ON ALGORITHMIC PROBLEMS CONCERNING GRAPHS OF HIGHER DEGREE OF SYMMETRYFransiskeran
 
Data structure - traveling sales person and mesh algorithm
Data structure - traveling sales person and mesh algorithmData structure - traveling sales person and mesh algorithm
Data structure - traveling sales person and mesh algorithmlavanya marichamy
 
Shortest path (Dijkistra's Algorithm) & Spanning Tree (Prim's Algorithm)
Shortest path (Dijkistra's Algorithm) & Spanning Tree (Prim's Algorithm)Shortest path (Dijkistra's Algorithm) & Spanning Tree (Prim's Algorithm)
Shortest path (Dijkistra's Algorithm) & Spanning Tree (Prim's Algorithm)Mohanlal Sukhadia University (MLSU)
 
Graph theory concepts complex networks presents-rouhollah nabati
Graph theory concepts   complex networks presents-rouhollah nabatiGraph theory concepts   complex networks presents-rouhollah nabati
Graph theory concepts complex networks presents-rouhollah nabatinabati
 
study Diffusion Curves: A Vector Representation for Smooth-Shaded Images
study Diffusion Curves: A Vector Representation for Smooth-Shaded Imagesstudy Diffusion Curves: A Vector Representation for Smooth-Shaded Images
study Diffusion Curves: A Vector Representation for Smooth-Shaded ImagesChiamin Hsu
 
Undecidable Problems - COPING WITH THE LIMITATIONS OF ALGORITHM POWER
Undecidable Problems - COPING WITH THE LIMITATIONS OF ALGORITHM POWERUndecidable Problems - COPING WITH THE LIMITATIONS OF ALGORITHM POWER
Undecidable Problems - COPING WITH THE LIMITATIONS OF ALGORITHM POWERmuthukrishnavinayaga
 
PURE Poster-ZDD
PURE Poster-ZDDPURE Poster-ZDD
PURE Poster-ZDDMingwei Hu
 
An FPT Algorithm for Maximum Edge Coloring
An FPT Algorithm for Maximum Edge ColoringAn FPT Algorithm for Maximum Edge Coloring
An FPT Algorithm for Maximum Edge ColoringNeeldhara Misra
 
image segmentation image segmentation.pptx
image segmentation image segmentation.pptximage segmentation image segmentation.pptx
image segmentation image segmentation.pptxNaveenKumar5162
 
A Quest for Subexponential Time Parameterized Algorithms for Planar-k-Path: F...
A Quest for Subexponential Time Parameterized Algorithms for Planar-k-Path: F...A Quest for Subexponential Time Parameterized Algorithms for Planar-k-Path: F...
A Quest for Subexponential Time Parameterized Algorithms for Planar-k-Path: F...cseiitgn
 

Similar to Graph problem & lp formulation (20)

Use of the Tree.
Use of the Tree.Use of the Tree.
Use of the Tree.
 
Minimizing cost in distributed multiquery processing applications
Minimizing cost in distributed multiquery processing applicationsMinimizing cost in distributed multiquery processing applications
Minimizing cost in distributed multiquery processing applications
 
B.TECH Math project
B.TECH Math projectB.TECH Math project
B.TECH Math project
 
Dijkstra
DijkstraDijkstra
Dijkstra
 
d
dd
d
 
Graph terminology and algorithm and tree.pptx
Graph terminology and algorithm and tree.pptxGraph terminology and algorithm and tree.pptx
Graph terminology and algorithm and tree.pptx
 
On algorithmic problems concerning graphs of higher degree of symmetry
On algorithmic problems concerning graphs of higher degree of symmetryOn algorithmic problems concerning graphs of higher degree of symmetry
On algorithmic problems concerning graphs of higher degree of symmetry
 
ON ALGORITHMIC PROBLEMS CONCERNING GRAPHS OF HIGHER DEGREE OF SYMMETRY
ON ALGORITHMIC PROBLEMS CONCERNING GRAPHS OF HIGHER DEGREE OF SYMMETRYON ALGORITHMIC PROBLEMS CONCERNING GRAPHS OF HIGHER DEGREE OF SYMMETRY
ON ALGORITHMIC PROBLEMS CONCERNING GRAPHS OF HIGHER DEGREE OF SYMMETRY
 
Data structure - traveling sales person and mesh algorithm
Data structure - traveling sales person and mesh algorithmData structure - traveling sales person and mesh algorithm
Data structure - traveling sales person and mesh algorithm
 
Shortest path (Dijkistra's Algorithm) & Spanning Tree (Prim's Algorithm)
Shortest path (Dijkistra's Algorithm) & Spanning Tree (Prim's Algorithm)Shortest path (Dijkistra's Algorithm) & Spanning Tree (Prim's Algorithm)
Shortest path (Dijkistra's Algorithm) & Spanning Tree (Prim's Algorithm)
 
Graph theory concepts complex networks presents-rouhollah nabati
Graph theory concepts   complex networks presents-rouhollah nabatiGraph theory concepts   complex networks presents-rouhollah nabati
Graph theory concepts complex networks presents-rouhollah nabati
 
study Diffusion Curves: A Vector Representation for Smooth-Shaded Images
study Diffusion Curves: A Vector Representation for Smooth-Shaded Imagesstudy Diffusion Curves: A Vector Representation for Smooth-Shaded Images
study Diffusion Curves: A Vector Representation for Smooth-Shaded Images
 
Math
MathMath
Math
 
Undecidable Problems - COPING WITH THE LIMITATIONS OF ALGORITHM POWER
Undecidable Problems - COPING WITH THE LIMITATIONS OF ALGORITHM POWERUndecidable Problems - COPING WITH THE LIMITATIONS OF ALGORITHM POWER
Undecidable Problems - COPING WITH THE LIMITATIONS OF ALGORITHM POWER
 
PURE Poster-ZDD
PURE Poster-ZDDPURE Poster-ZDD
PURE Poster-ZDD
 
An FPT Algorithm for Maximum Edge Coloring
An FPT Algorithm for Maximum Edge ColoringAn FPT Algorithm for Maximum Edge Coloring
An FPT Algorithm for Maximum Edge Coloring
 
image segmentation image segmentation.pptx
image segmentation image segmentation.pptximage segmentation image segmentation.pptx
image segmentation image segmentation.pptx
 
Stochastic Processes Homework Help
Stochastic Processes Homework Help Stochastic Processes Homework Help
Stochastic Processes Homework Help
 
A Quest for Subexponential Time Parameterized Algorithms for Planar-k-Path: F...
A Quest for Subexponential Time Parameterized Algorithms for Planar-k-Path: F...A Quest for Subexponential Time Parameterized Algorithms for Planar-k-Path: F...
A Quest for Subexponential Time Parameterized Algorithms for Planar-k-Path: F...
 
Shortest Path Problem
Shortest Path ProblemShortest Path Problem
Shortest Path Problem
 

More from Dharmesh Tank

Basic of Python- Hands on Session
Basic of Python- Hands on SessionBasic of Python- Hands on Session
Basic of Python- Hands on SessionDharmesh Tank
 
Goal Recognition in Soccer Match
Goal Recognition in Soccer MatchGoal Recognition in Soccer Match
Goal Recognition in Soccer MatchDharmesh Tank
 
Face recognization using artificial nerual network
Face recognization using artificial nerual networkFace recognization using artificial nerual network
Face recognization using artificial nerual networkDharmesh Tank
 
FIne Grain Multithreading
FIne Grain MultithreadingFIne Grain Multithreading
FIne Grain MultithreadingDharmesh Tank
 

More from Dharmesh Tank (6)

Basic of Python- Hands on Session
Basic of Python- Hands on SessionBasic of Python- Hands on Session
Basic of Python- Hands on Session
 
Seminar on MATLAB
Seminar on MATLABSeminar on MATLAB
Seminar on MATLAB
 
Goal Recognition in Soccer Match
Goal Recognition in Soccer MatchGoal Recognition in Soccer Match
Goal Recognition in Soccer Match
 
Face recognization using artificial nerual network
Face recognization using artificial nerual networkFace recognization using artificial nerual network
Face recognization using artificial nerual network
 
A Big Data Concept
A Big Data ConceptA Big Data Concept
A Big Data Concept
 
FIne Grain Multithreading
FIne Grain MultithreadingFIne Grain Multithreading
FIne Grain Multithreading
 

Recently uploaded

VIP Call Girls Service Hitech City Hyderabad Call +91-8250192130
VIP Call Girls Service Hitech City Hyderabad Call +91-8250192130VIP Call Girls Service Hitech City Hyderabad Call +91-8250192130
VIP Call Girls Service Hitech City Hyderabad Call +91-8250192130Suhani Kapoor
 
Call Girls Delhi {Jodhpur} 9711199012 high profile service
Call Girls Delhi {Jodhpur} 9711199012 high profile serviceCall Girls Delhi {Jodhpur} 9711199012 high profile service
Call Girls Delhi {Jodhpur} 9711199012 high profile servicerehmti665
 
APPLICATIONS-AC/DC DRIVES-OPERATING CHARACTERISTICS
APPLICATIONS-AC/DC DRIVES-OPERATING CHARACTERISTICSAPPLICATIONS-AC/DC DRIVES-OPERATING CHARACTERISTICS
APPLICATIONS-AC/DC DRIVES-OPERATING CHARACTERISTICSKurinjimalarL3
 
MANUFACTURING PROCESS-II UNIT-2 LATHE MACHINE
MANUFACTURING PROCESS-II UNIT-2 LATHE MACHINEMANUFACTURING PROCESS-II UNIT-2 LATHE MACHINE
MANUFACTURING PROCESS-II UNIT-2 LATHE MACHINESIVASHANKAR N
 
Software Development Life Cycle By Team Orange (Dept. of Pharmacy)
Software Development Life Cycle By  Team Orange (Dept. of Pharmacy)Software Development Life Cycle By  Team Orange (Dept. of Pharmacy)
Software Development Life Cycle By Team Orange (Dept. of Pharmacy)Suman Mia
 
SPICE PARK APR2024 ( 6,793 SPICE Models )
SPICE PARK APR2024 ( 6,793 SPICE Models )SPICE PARK APR2024 ( 6,793 SPICE Models )
SPICE PARK APR2024 ( 6,793 SPICE Models )Tsuyoshi Horigome
 
High Profile Call Girls Nashik Megha 7001305949 Independent Escort Service Na...
High Profile Call Girls Nashik Megha 7001305949 Independent Escort Service Na...High Profile Call Girls Nashik Megha 7001305949 Independent Escort Service Na...
High Profile Call Girls Nashik Megha 7001305949 Independent Escort Service Na...Call Girls in Nagpur High Profile
 
Decoding Kotlin - Your guide to solving the mysterious in Kotlin.pptx
Decoding Kotlin - Your guide to solving the mysterious in Kotlin.pptxDecoding Kotlin - Your guide to solving the mysterious in Kotlin.pptx
Decoding Kotlin - Your guide to solving the mysterious in Kotlin.pptxJoão Esperancinha
 
Porous Ceramics seminar and technical writing
Porous Ceramics seminar and technical writingPorous Ceramics seminar and technical writing
Porous Ceramics seminar and technical writingrakeshbaidya232001
 
Architect Hassan Khalil Portfolio for 2024
Architect Hassan Khalil Portfolio for 2024Architect Hassan Khalil Portfolio for 2024
Architect Hassan Khalil Portfolio for 2024hassan khalil
 
Call Girls in Nagpur Suman Call 7001035870 Meet With Nagpur Escorts
Call Girls in Nagpur Suman Call 7001035870 Meet With Nagpur EscortsCall Girls in Nagpur Suman Call 7001035870 Meet With Nagpur Escorts
Call Girls in Nagpur Suman Call 7001035870 Meet With Nagpur EscortsCall Girls in Nagpur High Profile
 
Model Call Girl in Narela Delhi reach out to us at 🔝8264348440🔝
Model Call Girl in Narela Delhi reach out to us at 🔝8264348440🔝Model Call Girl in Narela Delhi reach out to us at 🔝8264348440🔝
Model Call Girl in Narela Delhi reach out to us at 🔝8264348440🔝soniya singh
 
IMPLICATIONS OF THE ABOVE HOLISTIC UNDERSTANDING OF HARMONY ON PROFESSIONAL E...
IMPLICATIONS OF THE ABOVE HOLISTIC UNDERSTANDING OF HARMONY ON PROFESSIONAL E...IMPLICATIONS OF THE ABOVE HOLISTIC UNDERSTANDING OF HARMONY ON PROFESSIONAL E...
IMPLICATIONS OF THE ABOVE HOLISTIC UNDERSTANDING OF HARMONY ON PROFESSIONAL E...RajaP95
 
Internship report on mechanical engineering
Internship report on mechanical engineeringInternship report on mechanical engineering
Internship report on mechanical engineeringmalavadedarshan25
 
College Call Girls Nashik Nehal 7001305949 Independent Escort Service Nashik
College Call Girls Nashik Nehal 7001305949 Independent Escort Service NashikCollege Call Girls Nashik Nehal 7001305949 Independent Escort Service Nashik
College Call Girls Nashik Nehal 7001305949 Independent Escort Service NashikCall Girls in Nagpur High Profile
 
(ANVI) Koregaon Park Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(ANVI) Koregaon Park Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...(ANVI) Koregaon Park Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(ANVI) Koregaon Park Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...ranjana rawat
 
(ANJALI) Dange Chowk Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(ANJALI) Dange Chowk Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...(ANJALI) Dange Chowk Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(ANJALI) Dange Chowk Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...ranjana rawat
 
HARMONY IN THE NATURE AND EXISTENCE - Unit-IV
HARMONY IN THE NATURE AND EXISTENCE - Unit-IVHARMONY IN THE NATURE AND EXISTENCE - Unit-IV
HARMONY IN THE NATURE AND EXISTENCE - Unit-IVRajaP95
 

Recently uploaded (20)

VIP Call Girls Service Hitech City Hyderabad Call +91-8250192130
VIP Call Girls Service Hitech City Hyderabad Call +91-8250192130VIP Call Girls Service Hitech City Hyderabad Call +91-8250192130
VIP Call Girls Service Hitech City Hyderabad Call +91-8250192130
 
Call Girls Delhi {Jodhpur} 9711199012 high profile service
Call Girls Delhi {Jodhpur} 9711199012 high profile serviceCall Girls Delhi {Jodhpur} 9711199012 high profile service
Call Girls Delhi {Jodhpur} 9711199012 high profile service
 
APPLICATIONS-AC/DC DRIVES-OPERATING CHARACTERISTICS
APPLICATIONS-AC/DC DRIVES-OPERATING CHARACTERISTICSAPPLICATIONS-AC/DC DRIVES-OPERATING CHARACTERISTICS
APPLICATIONS-AC/DC DRIVES-OPERATING CHARACTERISTICS
 
MANUFACTURING PROCESS-II UNIT-2 LATHE MACHINE
MANUFACTURING PROCESS-II UNIT-2 LATHE MACHINEMANUFACTURING PROCESS-II UNIT-2 LATHE MACHINE
MANUFACTURING PROCESS-II UNIT-2 LATHE MACHINE
 
Software Development Life Cycle By Team Orange (Dept. of Pharmacy)
Software Development Life Cycle By  Team Orange (Dept. of Pharmacy)Software Development Life Cycle By  Team Orange (Dept. of Pharmacy)
Software Development Life Cycle By Team Orange (Dept. of Pharmacy)
 
SPICE PARK APR2024 ( 6,793 SPICE Models )
SPICE PARK APR2024 ( 6,793 SPICE Models )SPICE PARK APR2024 ( 6,793 SPICE Models )
SPICE PARK APR2024 ( 6,793 SPICE Models )
 
High Profile Call Girls Nashik Megha 7001305949 Independent Escort Service Na...
High Profile Call Girls Nashik Megha 7001305949 Independent Escort Service Na...High Profile Call Girls Nashik Megha 7001305949 Independent Escort Service Na...
High Profile Call Girls Nashik Megha 7001305949 Independent Escort Service Na...
 
Decoding Kotlin - Your guide to solving the mysterious in Kotlin.pptx
Decoding Kotlin - Your guide to solving the mysterious in Kotlin.pptxDecoding Kotlin - Your guide to solving the mysterious in Kotlin.pptx
Decoding Kotlin - Your guide to solving the mysterious in Kotlin.pptx
 
Porous Ceramics seminar and technical writing
Porous Ceramics seminar and technical writingPorous Ceramics seminar and technical writing
Porous Ceramics seminar and technical writing
 
Architect Hassan Khalil Portfolio for 2024
Architect Hassan Khalil Portfolio for 2024Architect Hassan Khalil Portfolio for 2024
Architect Hassan Khalil Portfolio for 2024
 
Exploring_Network_Security_with_JA3_by_Rakesh Seal.pptx
Exploring_Network_Security_with_JA3_by_Rakesh Seal.pptxExploring_Network_Security_with_JA3_by_Rakesh Seal.pptx
Exploring_Network_Security_with_JA3_by_Rakesh Seal.pptx
 
Call Girls in Nagpur Suman Call 7001035870 Meet With Nagpur Escorts
Call Girls in Nagpur Suman Call 7001035870 Meet With Nagpur EscortsCall Girls in Nagpur Suman Call 7001035870 Meet With Nagpur Escorts
Call Girls in Nagpur Suman Call 7001035870 Meet With Nagpur Escorts
 
★ CALL US 9953330565 ( HOT Young Call Girls In Badarpur delhi NCR
★ CALL US 9953330565 ( HOT Young Call Girls In Badarpur delhi NCR★ CALL US 9953330565 ( HOT Young Call Girls In Badarpur delhi NCR
★ CALL US 9953330565 ( HOT Young Call Girls In Badarpur delhi NCR
 
Model Call Girl in Narela Delhi reach out to us at 🔝8264348440🔝
Model Call Girl in Narela Delhi reach out to us at 🔝8264348440🔝Model Call Girl in Narela Delhi reach out to us at 🔝8264348440🔝
Model Call Girl in Narela Delhi reach out to us at 🔝8264348440🔝
 
IMPLICATIONS OF THE ABOVE HOLISTIC UNDERSTANDING OF HARMONY ON PROFESSIONAL E...
IMPLICATIONS OF THE ABOVE HOLISTIC UNDERSTANDING OF HARMONY ON PROFESSIONAL E...IMPLICATIONS OF THE ABOVE HOLISTIC UNDERSTANDING OF HARMONY ON PROFESSIONAL E...
IMPLICATIONS OF THE ABOVE HOLISTIC UNDERSTANDING OF HARMONY ON PROFESSIONAL E...
 
Internship report on mechanical engineering
Internship report on mechanical engineeringInternship report on mechanical engineering
Internship report on mechanical engineering
 
College Call Girls Nashik Nehal 7001305949 Independent Escort Service Nashik
College Call Girls Nashik Nehal 7001305949 Independent Escort Service NashikCollege Call Girls Nashik Nehal 7001305949 Independent Escort Service Nashik
College Call Girls Nashik Nehal 7001305949 Independent Escort Service Nashik
 
(ANVI) Koregaon Park Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(ANVI) Koregaon Park Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...(ANVI) Koregaon Park Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(ANVI) Koregaon Park Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
 
(ANJALI) Dange Chowk Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(ANJALI) Dange Chowk Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...(ANJALI) Dange Chowk Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(ANJALI) Dange Chowk Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
 
HARMONY IN THE NATURE AND EXISTENCE - Unit-IV
HARMONY IN THE NATURE AND EXISTENCE - Unit-IVHARMONY IN THE NATURE AND EXISTENCE - Unit-IV
HARMONY IN THE NATURE AND EXISTENCE - Unit-IV
 

Graph problem & lp formulation

  • 1. Graph Problems and Their Linear Problem Formulations Guided by Presented by Dr. Hemal V Shah Dharmesh R Tank Associate Professor MTech-CE(III) UVPCE UVPCE 08/10/2014
  • 2. Outline What is Graph Problem?? What is Linear Problem Formulation ?? Problems:- Maximum Average Degree Traveling Salesman Problem Acyclic edge coloring Edge-disjoint spanning trees Steiner tree Linear arboricity H-minor Assignment
  • 3. Graph Problem A problem that appears intractable may prove to be a few lines with the proper linear formulation or data structure. To solving a graph related problem, it’s necessary to recognizing that it is a graph problem. More difficult than it sounds. If we are required to find a path of any sort, it is a graph problem. Keywords : vertices, nodes, edges, connections, connectivity, paths, cycles and direction. Nearly all graph problems will use a grid or network in the problem.
  • 4. Linear Problem Formulation xj = decision variables bi = constraint levels cj = objective function coefficient aij = constraint coefficients
  • 5. Steps for Linear Problem Formulation Step 1: Identify variables. Step 2: Write down the objective function( max or min). Step 3: Write down the constraints with a system of inequalities. Step 4: Find the feasible solution with graph representation. Step 5: Calculate the coordinates of the vertices of feasible solutions. Step 6: Calculate the optimal value of the objective function at each of the vertices for maximum or minimum values.
  • 6. Outline What is Graph Problem?? What is Linear Problem Formulation ?? Problems:- Maximum Average Degree Traveling Salesman Problem Acyclic edge coloring Edge-disjoint spanning trees Steiner tree Linear arboricity H-minor Assignment
  • 7. 1. Maximum Average Degree The average degree of a graph G is defined as ad(G) = 2 E(G) / V(G) The maximum average degree of G is meant to represent its densest part, and is formally defined as : mad(G) = max ad(H) Let D be a directed graph which is the disjoint union of E(G) and V (G). Each edge will then have a flow of 2 (a source and the necessary edges) to distribute among its two endpoints.
  • 8. LP Formulation for MAD If H Є G is the densest subgraph in G, its E(H) edges will send a flow of 2E(H) to their V (H) vertices, such feasible only if Z ≥ 2E(H)/ V(H). An elementary application of the max-flow/min-cut theorem, or bipartite matching theorem
  • 9. Example: set of authors who wrote at least one paper in the period between 1974 and 2004. http://www.nature.com/srep/2012/120625/srep00469/fig_tab/srep00469_F1.html
  • 10. Outline What is Graph Problem?? What is Linear Problem Formulation ?? Problems:- Maximum Average Degree Traveling Salesman Problem Acyclic edge coloring Edge-disjoint spanning trees Steiner tree Linear arboricity H-minor Assignment
  • 11. 2.Traveling Salesman Problem TSP is a Hamiltonian cycle whose weight (the sum of the weight of its edges) is minimal. Both the objective and the constraint that each vertex must have exactly two neighbors. But this produce solutions set of edges with several cycles.
  • 12. LP Formulation for TSP One Way is add the constraint that, for an arbitrary vertex v, the set S of edges in the solution must contain no cycle in G. Therefore the amounts to checking the set of edges in S with no adjacent to v is of maximal average degree strictly less than 2.
  • 13.
  • 14. Applications Synchronous Optical Networking (SONET) Airplane Path Decider
  • 15. Outline What is Graph Problem?? What is Linear Problem Formulation ?? Problems:- Maximum Average Degree Traveling Salesman Problem Linear arboricity Acyclic edge coloring Edge-disjoint spanning trees Steiner tree H-minor Assignment
  • 16. 3. Linear Arboricity The arboricity of an undirected graph is the minimum number of forests into which its edges can be partitioned. Equivalently it is the minimum number of spanning forests needed to cover all the edges of the graph. The linear arboricity of a graph G is the least number k such that the edges of G can be partitioned into k classes, each of them being a forest of paths (the disjoints union of paths { trees of maximal degree 2).
  • 17. LP Formulation for Linear Arboricity
  • 18. Outline What is Graph Problem?? What is Linear Problem Formulation ?? Problems:- Maximum Average Degree Traveling Salesman Problem Linear arboricity Acyclic edge coloring Edge-disjoint spanning trees Steiner tree H-minor Assignment
  • 19. 4.Acyclic edge coloring An edge coloring with k colors is said to be acyclic if it is proper (each color class is a matching { maximal degree 1), and if the union of the edges of any two color classes is acyclic. The corresponding LP is almost a copy of the previous one Except that we need to ensure that different classes are acyclic
  • 20. Assignment 1. The Sureset Concrete Company produces concrete. Two ingredients in concrete are sand (costs $6 per ton) and gravel (costs $8 per ton). Sand and gravel together must make up exactly 75% of the weight of the concrete. Also, no more than 40% of the concrete can be sand and at least 30% of the concrete be gravel. Each day 2000 tons of concrete are produced. To minimize costs, how many tons of gravel and sand should be purchased each day?