We study the Online Minimum Metric Bipartite Matching Problem. In this problem, we are given point sets S and R which correspond to the server and request locations; here |S|=|R|=n. All these locations are points from some metric space and the cost of matching a server to a request is given by the distance between their locations in this space. In this problem, the request points arrive one at a time. When a request arrives, we must immediately and irrevocably match it to a "free" server. The matching obtained after all the requests are processed is the online matching M. The cost of M is the sum of the cost of its edges. The performance of any online algorithm is the worst-case ratio of the cost of its online solution M to the minimum-cost matching.We present a deterministic online algorithm for this problem. Our algorithm is the first to simultaneously achieve optimal performances in the well-known adversarial and the random arrival models. For the adversarial model, we obtain a competitive ratio of 2n-1 + o(1); it is known that no deterministic algorithm can do better than 2n-1. In the random arrival model, our algorithm obtains a competitive ratio of 2H_n - 1 + o(1); where H_n is the n-th Harmonic number. We also prove that any online algorithm will have a competitive ratio of at least 2H_n - 1-o(1) in this model.We use a new variation of the offline primal-dual method for computing minimum cost matching to compute the online matching. Our primal-dual method is based on a relaxed linear-program. Under metric costs, this specific relaxation helps us relate the cost of the online matching with the offline matching leading to its robust properties.
展开▼
机译:我们研究在线最小度量两部分匹配问题。在这个问题中,我们得到了与服务器和请求位置相对应的点集S和R。这里| S | = | R | = n。所有这些位置都是某个度量空间中的点,并且将服务器与请求进行匹配的成本由它们在该空间中的位置之间的距离给出。在此问题中,请求点一次到达一个。当请求到达时,我们必须立即且不可撤销地将其与“免费”服务器匹配。处理完所有请求后获得的匹配是在线匹配M。M的成本是其边缘成本的总和。任何在线算法的性能都是其在线解决方案M的成本与最小成本匹配的最坏情况之比。我们针对此问题提出了确定性的在线算法。我们的算法是第一个在已知的对抗模型和随机到达模型中同时实现最佳性能的算法。对于对抗模型,我们获得了2n-1 + o(1)的竞争比;众所周知,没有确定性算法能比2n-1做得更好。在随机到达模型中,我们的算法获得竞争比2H_n-1 + o(1);其中H_n是第n个谐波数。我们还证明了该模型中的任何在线算法都将具有至少2H_n-1-o(1)的竞争比。我们使用离线原始对偶方法的新变型来计算最小成本匹配,以计算在线匹配。我们的原始对偶方法基于宽松的线性程序。在公制成本下,这种特定的放宽有助于我们将在线匹配的成本与离线匹配的成本联系起来,从而获得强大的性能。
展开▼