Edge Coloring, König & Max Flow
We study edge coloring (the chromatic index ), Vizing's theorem, and König's theorem connecting matchings and vertex covers in bipartite graphs. We then introduce network flows — the concept of max flow in a directed network.
Learning Objectives
Key Concepts
Edge Coloring & Vizing's Theorem
An edge coloring assigns colors to edges so no two edges sharing a vertex get the same color. The chromatic index is the minimum number of colors needed.
Vizing's theorem tightly constrains the chromatic index.
- -
(obvious lower bound: edges at a max-degree vertex need different colors)
- -
For loopless graphs: (trivial bound)
- -
Vizing: for simple graphs (at most one extra color)
- -
Shannon: for loopless graphs (allows multiple edges)
- -
Bipartite graphs are always Class 1: (by König's edge coloring theorem)
König's Theorem
König's theorem is one of the most important results for bipartite graphs: in a bipartite graph, the maximum matching equals the minimum vertex cover.
Combined with Gallai: for bipartite graphs.
- -
Only holds for bipartite graphs (fails for general graphs)
- -
Combines with Gallai: for bipartite ,
- -
König's edge coloring theorem: for bipartite
Network Flows
A flow network is a directed graph with a source , sink , and capacity on each edge. A flow assigns a value to each edge satisfying:
- -Capacity constraint:
- -Conservation: flow in = flow out at every vertex except and
The value of a flow is the net flow out of (equivalently, into ). We want to maximize this.
- -
Capacity constraint: flow on each edge ≤ capacity
- -
Flow conservation: at every non-source/sink vertex, flow in = flow out
- -
Max flow will be computed using Ford-Fulkerson / Edmonds-Karp (next week)
Edmonds-Karp Algorithm
The Edmonds-Karp algorithm is Ford-Fulkerson using BFS to find the shortest augmenting path in the residual graph. This guarantees polynomial running time regardless of capacity values.
The algorithm constructs the auxiliary (residual) graph at each step and uses BFS to find augmenting paths.
- -
Uses BFS on the residual graph to find shortest augmenting path
- -
Polynomial time: regardless of capacity magnitudes
- -
Basic Ford-Fulkerson without BFS can be exponential with irrational capacities
- -
Pseudocode covered in detail in Week 10 (Ford-Fulkerson)