Computer Algorithms II Lecture Notes

20 November 2008 • Traveling, Flowing, and Matching


Outline

A Management Problem

Operations Research

Networks

The Flow Problem

Network Graph Model

Example Network Model

A Simple Approach

Flow Paths

Flow Path Example

Flow Path Problems

An Observation

Flow Shifting

The Ford-Fulkerson Method

Correctness

Convergence

a troublesome network

Flow-Path Choice

Performance

Network-Graph Representations

Variations

Hospital Residencies

Graph Matching

Example Matchings

Problem Structure

Bipartite Graphs

Bipartite Matching

A Maximal-Flow Solution

Example Solution

Max-Flow Properties

Preferences

Stable Matchings

A Simple Approach

A: 7 1 2
B: 4 2 1
1: F A B
2: E B A
A: 7 1 2
B: 4 2 1
1: F A B
2: E B A
A: 7 1 2
B: 4 2 1
1: F A B
2: E B A

  • Find a matching, then repeatedly remove unstable matches.

    • This approach can get stuck in an infinite loop.

Iterative Matching

Example Iterative Matching

Data Structures.

Data Structures..

Stable Matching Algorithm

Algorithm Properties

Variations

The Grand Tour

Graph Representation

First Cut

Performance

Approximate Solutions

Summary

References


This page last modified on 28 November 2008.

Creative
    Commons License