Fast and Efficient Matching Algorithm with Deadline Instances

05/15/2023
by   Zhao Song, et al.
0

Online weighted matching problem is a fundamental problem in machine learning due to its numerous applications. Despite many efforts in this area, existing algorithms are either too slow or don't take deadline (the longest time a node can be matched) into account. In this paper, we introduce a market model with deadline first. Next, we present our two optimized algorithms (FastGreedy and FastPostponedGreedy) and offer theoretical proof of the time complexity and correctness of our algorithms. In FastGreedy algorithm, we have already known if a node is a buyer or a seller. But in FastPostponedGreedy algorithm, the status of each node is unknown at first. Then, we generalize a sketching matrix to run the original and our algorithms on both real data sets and synthetic data sets. Let ϵ∈ (0,0.1) denote the relative error of the real weight of each edge. The competitive ratio of original Greedy and PostponedGreedy is 1/2 and 1/4 respectively. Based on these two original algorithms, we proposed FastGreedy and FastPostponedGreedy algorithms and the competitive ratio of them is 1 - ϵ/2 and 1 - ϵ/4 respectively. At the same time, our algorithms run faster than the original two algorithms. Given n nodes in ℝ ^ d, we decrease the time complexity from O(nd) to O(ϵ^-2· (n + d)).

READ FULL TEXT

Please sign up or login with your details

Forgot password? Click here to reset