1.48k likes | 1.6k Views
Dispelling an Old Myth about an Ancient Algorithm. Algorithmic Game Theory and Internet Computing. Vijay V. Vazirani Georgia Tech. Central to the Theory of Algorithms. Kuhn, 1955: Primal-dual paradigm Edmonds, 1965: Definition of P Valiant, 1979: Definition of #P
E N D
Dispelling an Old Myth about an Ancient Algorithm Algorithmic Game Theoryand Internet Computing Vijay V. Vazirani Georgia Tech
Central to the Theory of Algorithms • Kuhn, 1955: Primal-dual paradigm • Edmonds, 1965: Definition of P • Valiant, 1979: Definition of #P • Jerrum, Valiant & Vazirani, 1986: Equivalance of random generation and approximate counting
Matching in game theory and economics Gale & Shapley, 1962: Stable marriage Shapley & Shubik, 1971: Matching markets
Matching in game theory and economics Gale & Shapley, 1962: Stable marriage Shapley & Shubik, 1971: Matching markets Mehta, Saberi, Vazirani & Vazirani, 2005: Adwords market
V U
V U
V U
V U
V U
V U
V U
Maximum matching algorithm O(n) iterations, O(m)/iteration, so O(mn) algorithm.
M Disjoint. Therefore aug paths w.r.t. M. Maximal set.
In G =(U, V, E) w.r.t. current matching M define level(v): length of shortest alternating path from an unmatched U vertex to v. • Find, via an alternating BFS, starting from all unmatched vertices in U. At search level i: level i vertices find level i+1 vertices.
V U
U 0
1 V U 0
U 2 1 V U 0
Set of predecessors V 3 U 2 1 V U 0
U 4 V 3 U 2 1 V U 0
U 4 V 3 U 2 1 V U 0
U 4 V 3 U 2 1 V U 0
V 5 U 4 V 3 U 2 1 V U 0
V 5 U 4 V 3 U 2 1 V U 0
V 5 U 4 V 3 U 2 1 V U 0
V 5 U 4 V 3 U 2 1 V U 0
V 5 U 4 V 3 U 2 1 V U 0
V 5 U 4 V 3 U 2 1 V U 0
V 5 U 4 V 3 U 2 1 V U 0
G =(V, E). W.r.t. matching M define: • evenlevel(v): length of min even alternating path from an unmatched vertex to v. • oddlevel(v): length of min odd alternating path from an unmatched vertex to v. • minlevel(v): smaller of e(v) and o(v) maxlevel(v): larger of e(v) and o(v)
Qualitative difference BFS honesty: Minimum length alternating paths in bipartite graphs are BFS honest.
Qualitative difference BFS honesty: Minimum length alternating paths in bipartite graphs are BFS honest. Not so in non-bipartite graphs!
Qualitative difference BFS honesty: Not so in non-bipartite graphs! Because shortest f to u path has v on it at opposite parity.