Local Search Algorithms for the Maximum Carpool Matching Problem

Gilad Kutiel, Dror Rawitz
unpublished
The Maximum Carpool Matching problem is a star packing problem in directed graphs. Formally, given a directed graph G = (V, A), a capacity function c : V → N, and a weight function w : A → R + , a carpool matching is a subset of arcs, M ⊆ A, such that every v ∈ V satisfies: (i) d in M (v) · d out M (v) = 0, (ii) d in M (v) ≤ c(v), and (iii) d out M (v) ≤ 1. A vertex v for which d out M (v) = 1 is a passenger, and a vertex for which d out M (v) = 0 is a driver who has d in M (v) passengers. In
more » ... v) passengers. In the Maximum Carpool Matching problem the goal is to find a carpool matching M of maximum total weight. The problem arises when designing an online carpool service, such as Zimride [4], which tries to connect between users based on a similarity function. The problem is known to be NP-hard, even in the unweighted and uncapacitated case. The Maximum Group Carpool Matching problem, is an extension of Maximum Carpool Matching where each vertex represents an unsplittable group of passengers. Formally, each vertex u ∈ V has a size s(u) ∈ N, and the constraint d in M (v) ≤ c(v) is replaced with u:(u,v)∈M s(u) ≤ c(v). We show that Maximum Carpool Matching can be formulated as an unconstrained sub-modular maximization problem, thus it admits a 1 2-approximation algorithm. We show that the same formulation does not work for Maximum Group Carpool Matching, nevertheless, we present a local search (1 2 − ε)-approximation algorithm for Maximum Group Carpool Matching. For the unweighted variant of both problems when the maximum possible capacity, c max , is bounded by a constant, we provide a local search (1 2 + 1 2cmax − ε)-approximation algorithm. We also show that the problem is APX-hard, even if the maximum degree and c max are at most 3.
fatcat:dd2kfqj6cvdcreo7col3lk7x3q