Supplementing Recurrent Neural Networks with Annealing to Solve Combinatorial Optimization Problems

Shoummo Ahsan Khandoker, Jawaril Munshad Abedin, Mohamed Hibat-Allah
7/17/2022
15 citations
cond-mat.dis-nncs.LGmath.OC

Official code: RNN-VCA-CO/RNN-VCA-CO (2 stars, Python, last commit 2023-03-16).

Abstract

Combinatorial optimization problems can be solved by heuristic algorithms such as simulated annealing (SA) which aims to find the optimal solution within a large search space through thermal fluctuations. The algorithm generates new solutions through Markov-chain Monte Carlo techniques.

Show full abstract

This sampling scheme can result in severe limitations, such as slow convergence and a tendency to stay within the same local search space at small temperatures. To overcome these shortcomings, we use the variational classical annealing (VCA) framework that combines autoregressive recurrent neural networks (RNNs) with traditional annealing to sample solutions that are uncorrelated. In this paper, we demonstrate the potential of using VCA as an approach to solving real-world optimization problems. We explore VCA's performance in comparison with SA at solving three popular optimization problems: the maximum cut problem (Max-Cut), the nurse scheduling problem (NSP), and the traveling salesman problem (TSP). For all three problems, we find that VCA outperforms SA on average in the asymptotic limit by one or more orders of magnitude in terms of relative error. Interestingly, we reach large system sizes of up to $256$ cities for the TSP. We also conclude that in the best case scenario, VCA can serve as a great alternative when SA fails to find the optimal solution.

View on arXivView PDF

Code Implementations(1)

Using RNNs with annealing to solve combinatorial optimization problems

22PythonJul 4, 20223 years agoNOASSERTION

Similar Papers

Cite this paper

@article{khandoker2022supplementing,
  title  = {Supplementing Recurrent Neural Networks with Annealing to Solve Combinatorial Optimization Problems},
  author = {Shoummo Ahsan Khandoker and Jawaril Munshad Abedin and Mohamed Hibat-Allah},
  year   = {2022},
  eprint = {2207.08189},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2207.08189v2}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2207.08189.svg)](https://codeofpaper.com/paper/2207.08189)

Discussion