Given two point sets and , the minimum-cost many-to-many matching with demands (MMD) problem is the problem of finding a minimum-cost many-to-many matching between and such that each point of (respectively ) is matched to at least a given number of the points of (respectively ). We propose the first -time algorithm for computing a one dimensional MMD (OMMD) of minimum cost between and , where . In an OMMD problem, the input point sets and lie on the real line and the cost of matching a point to another point equals the Euclidean distance between the two points. We also study a generalized version of the MMD problem, the many-to-many matching with demands and capacities (MMDC) problem, that in which each point has a limited capacity in addition to a demand. We give the first -time algorithm for the minimum-cost one dimensional MMDC (OMMDC) problem.

生成讲解博客的中文版本

生成AI智能校验的中文版本