Optimization from partial solution: minimize sum of distances between pairs

前端 未结 3 1251
粉色の甜心
粉色の甜心 2021-02-20 03:05

I have a problem which I like and I love to think about solutions, but I\'m stuck unfortunately. I hope you like it too. The problem states:

I have two lists of 2D point

3条回答
  •  滥情空心
    2021-02-20 04:01

    Your problem is an instance of the weighted minimum maximal matching problem (as described in this Wikipedia article). There is no polynomial-time algorithm even for the unweighted problem (all distances equal). There are efficient algorithms to approximately solve it in polynomial time (within a factor of 2).

提交回复
热议问题