一种在标准计算机上求解哈密顿回路问题的实用高效方法
A practical efficient and effective method for the Hamiltonian cycle problem that runs on a standard computer
摘要:
给定$N$城市和$R < N^2 - N$定向(单向/单向)道路,是否存在使用给定道路在每个城市停留一次的所有$N$城市的旅行(汉密尔顿循环)?该汉密尔顿循环问题(HCP)是一个NP完全问题,目前还没有已知的多项式时间求解算法。HCP有重要的实际应用,例如,物流问题。有人声称绝热量子计算机可以比经典算法更快地解决NP完全问题,但这种说法似乎已经被揭穿。在这里,我们展示了一个算法,它运行在一个标准的计算机上,有效地解决了HCP至少高达500个城市:我们首先优化了模拟退火算法用于较小规模的HCP问题。然后,我们发现,当一个旅游是故意插入在一个列表中,否则随机选择的道路,至关重要的是,如果“额外的”随机道路被添加到使道路的总数达到$0.58 N log_e N$或更多,有一个100%的机会,我们的算法将找到一个HC,但是相反地,当道路列表不包括预-必须添加插入的巡回随机道路,直到有$0.9 N log_e N$道路有机会找到HC。我们发现类似的一组道路非随机选择。因此,在一组道路中存在HC会导致整个道路的“连通性”,并且可以通过插入适量的额外道路来找到HC。我们的算法还表明,只有弱的非局部信息是需要找到一个HCP,是一个全球性的状态。
英文摘要:
Given $N$ cities and $R < N^2 - N$ directed (unidirectional/one way) roads does there exist a tour of all $N$ cities stopping at each city exactly once using the given roads (a Hamiltonian cycle)? This Hamiltonian cycle problem (HCP) is an NP-complete problem, for which there is no known polynomial time solution algorithm. The HCP has important practical applications, for example, to logistical problems. It was claimed that an adiabatic quantum computer could solve an NP-complete problem faster than classical algorithms, but claim appears to have been debunked. Here we demonstrate an algorithm which runs on a standard computer that efficiently and effectively solves the HCP for at least up to 500 cities: We first optimized a simulated annealing based algorithm used for smaller sized HCP problems. Then we found that when a tour was deliberately inserted in a list of otherwise randomly chosen roads, crucially, if "extra" random roads are added to bring the total number of roads up to $0.58 N log_e N$ or more there is a 100% chance our algorithm will find a HC, but conversely when a list of roads does not include a pre-inserted tour random roads have to be added until there are $0.9 N log_e N$ roads to have a chance of finding a HC. We found similarly for a set of roads non-randomly chosen. Thus, the presence of a HC in a set of roads induces "connectivity" throughout the roads and a HC can be found with an insertion of a modest number of extra roads. Our algorithm also shows that only weakly non-local information is needed to find an HCP that is a global state.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。