Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我需要找到一种算法,该算法将从 956 个列表中选择 6 个邮政编码(这六个邮政编码稍后将用作销售区域中心)。我很高兴我有一个很好的功能来对可能的解决方案进行排名。我也知道哪些邮政编码彼此相邻。
我的第一个想法是尝试模拟退火。这给出了不一致的,而且真的不是很好的结果。下图显示了六个区域中心,它们正试图最大限度地覆盖总人口(见下文)。