Table of Contents
Fetching ...

An $O(n^3)$ time algorithm for the maximum-weight limited-capacity many-to-many matching

Fatemeh Rajabi-Alni, Behrouz Minaei-Bidgoli

TL;DR

The paper tackles maximum weight LCMM on bipartite graphs with vertex capacities $Cap(v)$ by exploiting a reduction to a degree-constrained subgraph problem and adapting the Hungarian algorithm. A complete augmented graph $G'=(X\cup Y,E')$ is built from $A,B$ and capacity-encoded copies $A',B'$, and a two-step ModifiedHungarianAlg procedure is applied to first cover $A$ and then $B$, yielding a maximum weight LCMM in $O(n^3)$ time for non-positive edge weights. This approach provides an exact, efficient alternative to previous methods whose complexity depends on weight ranges and capacity sums. The results are significant for applications requiring efficient, exact LCMM solutions and demonstrate a principled Hungarian-based framework for capacity-constrained matchings on bipartite graphs.

Abstract

Given an undirected bipartite graph $G=(A \cup B, E)$, a many-to-many matching (MM) in $G$ matches each vertex $v$ in $A$ (resp. $B$) to at least one vertex in $B$ (resp. $A$). In this paper, we consider the limited-capacity many-to-many matching (LCMM) in $G$, where each vertex $v\in A\cup B$ is matched to at least one and at most $Cap(v)$ vertices; the function $Cap : A\cup B \rightarrow \mathbb{Z}> 0$ denotes the capacity of $v$ (an upper bound on its degree in the LCMM). We give an $O(n^3)$ time algorithm for finding a maximum (respectively minimum) weight LCMM in $G$ with non-positive real (respectively non-negative real) edge weights, where $\lvert A \rvert+\lvert B \rvert=n$.

An $O(n^3)$ time algorithm for the maximum-weight limited-capacity many-to-many matching

TL;DR

The paper tackles maximum weight LCMM on bipartite graphs with vertex capacities by exploiting a reduction to a degree-constrained subgraph problem and adapting the Hungarian algorithm. A complete augmented graph is built from and capacity-encoded copies , and a two-step ModifiedHungarianAlg procedure is applied to first cover and then , yielding a maximum weight LCMM in time for non-positive edge weights. This approach provides an exact, efficient alternative to previous methods whose complexity depends on weight ranges and capacity sums. The results are significant for applications requiring efficient, exact LCMM solutions and demonstrate a principled Hungarian-based framework for capacity-constrained matchings on bipartite graphs.

Abstract

Given an undirected bipartite graph , a many-to-many matching (MM) in matches each vertex in (resp. ) to at least one vertex in (resp. ). In this paper, we consider the limited-capacity many-to-many matching (LCMM) in , where each vertex is matched to at least one and at most vertices; the function denotes the capacity of (an upper bound on its degree in the LCMM). We give an time algorithm for finding a maximum (respectively minimum) weight LCMM in with non-positive real (respectively non-negative real) edge weights, where .

Paper Structure

This paper contains 2 sections, 5 theorems, 11 equations, 3 figures, 3 algorithms.

Table of Contents

  1. Introduction
  2. Preliminaries

Key Result

lemma 1

Consider a feasible labeling $l$ of an undirected bipartite graph $G=(A\cup B, E)$. Let $S \subset A$ and $T\subset B$ with $N_l(S)=T$, where $S$ and $T$ represent the vertices of an alternating tree. Let If the labels of the vertices of $G$ are updated such that: then $l'$ is a feasible labeling such that $E_l \subset E_{l'}$.

Figures (3)

  • Figure 1: An example for illustration of Lemma \ref{['maximum']}; the hollow circles are free vertices and the filled circles are matched vertices.
  • Figure 2: Our constructed complete bipartite graph; the dashed line represents a complete connection with zero weighted edges between $A'$ and $B'$.
  • Figure 3: The edges of $G'$ related to the pairings of $L=\{(a_1,b_1),(a_1,b_2),(a_2,b_3),(a_3,b_3),(a_4,b_3)\}.$

Theorems & Definitions (9)

  • lemma 1
  • proof
  • theorem 1
  • proof
  • lemma 2
  • proof
  • lemma 3
  • proof
  • theorem 2