Skip to main content Accessibility help
×
Hostname: page-component-586b7cd67f-vdxz6 Total loading time: 0 Render date: 2024-11-30T15:48:41.467Z Has data issue: false hasContentIssue false

9 - Bipartite Matching

Published online by Cambridge University Press:  07 May 2024

Rahul Vaze
Affiliation:
Tata Institute of Fundamental Research, Mumbai, India
Get access

Summary

Introduction

In this chapter, we consider a rich combinatorial problem of matching over bipartite graphs, with two sets of vertices, left and right, and an edge can exist only between a left and a right vertex. A matching is a subset of edges such that no two edges in the matching have any common left or right vertex. In the online setting, one side of the vertices, say, right, are available ahead of time, and the left vertices are revealed sequentially. Once a left vertex arrives, its associated edges and the edge weights are also revealed. For a given bipartite graph, the objective is to maximize the number of edges that are part of the matching in the unweighted (weights are 1/0) case, or to maximize the sum-weight of all the edges that are part of matching in the weighted case.

The matching problem is a fundamental combinatorial object that models large classes of association problems, such as web advertising, scheduling jobs to servers, where each server can handle at most one job, crowdsourcing, where each agent can only accomplish at most one job, etc.

In this chapter, we will consider both the unweighted and the weighted case. For the unweighted case, any deterministic algorithm is shown to have a competitive ratio of at most 1/2, which is easily achieved by a greedy algorithm. The main challenge in the unweighted case is to find an optimal randomized algorithm under the worst-case or adversarial input. We first present an upper bound of 1 − 1/e on the competitive ratio of any randomized algorithm, and then analyse an algorithm whose competitive ratio approaches 1 − 1/e with an increasing number of left or right vertices.

The weighted case is a generalization of the secretary problem, and hence adversarial inputs result in the competitive ratio being unboundedly large for any online algorithm. Thus, for the weighted case, typically the secretarial input is considered. Under the secretarial input, we first discuss an algorithm with a competitive ratio of 1/8 that is based on the sample and price philosophy, and then describe an algorithm called ROM whose competitive ratio is 1/e − 1/n, where n is the number of left vertices. Since the competitive ratio of any online algorithm for the secretary problem (Chapter 7) is at most 1/e, ROM is an almost optimal algorithm.

Type
Chapter
Information
Online Algorithms , pp. 161 - 188
Publisher: Cambridge University Press
Print publication year: 2023

Access options

Get access to the full version of this content by using one of the access options below. (Log in options will check for institutional or personal access. Content may require purchase if you do not have access.)

Save book to Kindle

To save this book to your Kindle, first ensure [email protected] is added to your Approved Personal Document E-mail List under your Personal Document Settings on the Manage Your Content and Devices page of your Amazon account. Then enter the ‘name’ part of your Kindle email address below. Find out more about saving to your Kindle.

Note you can select to save to either the @free.kindle.com or @kindle.com variations. ‘@free.kindle.com’ emails are free but can only be saved to your device when it is connected to wi-fi. ‘@kindle.com’ emails can be delivered even when you are not connected to wi-fi, but note that service fees apply.

Find out more about the Kindle Personal Document Service.

  • Bipartite Matching
  • Rahul Vaze, Tata Institute of Fundamental Research, Mumbai, India
  • Book: Online Algorithms
  • Online publication: 07 May 2024
  • Chapter DOI: https://doi.org/10.1017/9781009349178.010
Available formats
×

Save book to Dropbox

To save content items to your account, please confirm that you agree to abide by our usage policies. If this is the first time you use this feature, you will be asked to authorise Cambridge Core to connect with your account. Find out more about saving content to Dropbox.

  • Bipartite Matching
  • Rahul Vaze, Tata Institute of Fundamental Research, Mumbai, India
  • Book: Online Algorithms
  • Online publication: 07 May 2024
  • Chapter DOI: https://doi.org/10.1017/9781009349178.010
Available formats
×

Save book to Google Drive

To save content items to your account, please confirm that you agree to abide by our usage policies. If this is the first time you use this feature, you will be asked to authorise Cambridge Core to connect with your account. Find out more about saving content to Google Drive.

  • Bipartite Matching
  • Rahul Vaze, Tata Institute of Fundamental Research, Mumbai, India
  • Book: Online Algorithms
  • Online publication: 07 May 2024
  • Chapter DOI: https://doi.org/10.1017/9781009349178.010
Available formats
×