Published online by Cambridge University Press: 07 May 2024
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.
To save this book to your Kindle, first ensure no-reply@cambridge.org 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.
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.
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.