Probabilistic greedy algorithm solver using magnetic tunneling junctions for traveling salesman problem
Abstract
Abstract Combinatorial optimization underpins applications in artificial intelligence, logistics, and network design, yet classical techniques such as greedy search and dynamic programming struggle to balance efficiency and solution quality at scale. We present a probabilistic framework that embeds true random number generators based on spin-transfer-torque magnetic tunnel junctions into a greedy solver. Intrinsic stochastic switching enables configurable random number distributions, which we use to inject controlled randomness via a temperature parameter that interpolates between deterministic and stochastic choices, balancing exploration and exploitation. Applied to the traveling salesman problem, the framework yields high-quality tours and outperforms simulated annealing and genetic algorithms in solution quality and convergence speed. In larger instances with up to 70 cities, it maintains its advantage, reaching near-optimal solutions with fewer iterations and reduced computational cost. These results show that hardware true randomness with tunable statistics can improve heuristic search and motivate integrated, energy-efficient probabilistic hardware for scalable optimization.
Article Details
Authors (18)
Ran Zhang
Xiaohan Li
Caihua Wan
Raik Hoffmann
Meike Hindenberg
Yingqian Xu
Shiqiang Liu
Beijing National Laboratory for Molecular Sciences, CAS Laboratory of Colloid and Interface and Thermodynamics, CAS Research/Education Centre for Excellence in Molecular Sciences, Centre for Carbon Neutral Chemistry
Dehao Kong
Shilong Xiong
Shikun He
Alptekin Vardar
Qiang Dai
Department of Chemistry and the Hong Kong Branch of Chinese National Engineering Research Centre for Tissue Restoration & Reconstruction, The Hong Kong University of Science and Technology, Clear Water Bay, Kowloon 999077, Hong Kong SAR, China
Junlu Gong
Yihui Sun
Weill Institute for Neurosciences, Department of Neurology, University of California San Francisco
Zejie Zheng
Thomas Kämpfe
Guoqiang Yu
Xiufeng Han