NeuroPrim: An Attention-based Model for Solving NP-hard Spanning Tree Problems

10/22/2022
by   Yuchen Shi, et al.
0

Spanning tree problems with special constraints are widely applied in real-life scenarios, such as water supply, transportation and telecommunications, which often require complex algorithm design and exponential time to solve. In recent years, there has been a surge of interest in end-to-end Deep Neural Networks (DNNs) to solve routing problems. However, as the output of such methods is a sequence of vertices, it is difficult to apply them to combinatorial optimization problems where the solution set consists of a edges sets, such as various spanning tree problems. In this paper, we propose NeuroPrim, a novel framework combining neural networks and the Prim algorithm, which is trained by REINFORCE with the POMO baseline to learn metrics for selecting edges for different spanning tree problems. We apply it to three difficult problems on Euclidean spaces, namely Degree-constrained Minimum Spanning Tree Problem (DCMSTP), Minimum Routing Cost Spanning Tree Problem (MRCSTP) and Steiner Tree Problem in Graphs (STPG). Experimental results show that our model is able to outperform some of the heuristics and obtain extremely small gaps of less than 0.1% for simple problems such as DCMST with degree constraint 3 and special cases of STPG up to 100 vertices. In addition, we find no significant degradation on problem instances as large as 1000, which demonstrates its strong generalization ability.

READ FULL TEXT

page 1

page 2

page 3

page 4

research
09/12/2022

QUBO formulations for NP-Hard spanning tree problems

We introduce a novel Quadratic Unconstrained Binary Optimization (QUBO) ...
research
12/28/2018

Degree Bounded Bottleneck Spanning Trees in Three Dimensions

The geometric δ-minimum spanning tree problem (δ-MST) is the problem of ...
research
10/26/2017

1-skeletons of the spanning tree problems with additional constraints

We consider the polyhedral properties of two spanning tree problems with...
research
05/20/2020

A Unifying Model for Locally Constrained Spanning Tree Problems

Given a graph G and a digraph D whose vertices are the edges of G, we in...
research
12/23/2019

Multifactorial Evolutionary Algorithm For Clustered Minimum Routing Cost Problem

Minimum Routing Cost Clustered Tree Problem (CluMRCT) is applied in vari...
research
08/02/2021

Biobjective Optimization Problems on Matroids with Binary Costs

Like most multiobjective combinatorial optimization problems, biobjectiv...
research
01/08/2014

A Solution of Degree Constrained Spanning Tree Using Hybrid GA

In real life, it is always an urge to reach our goal in minimum effort i...

Please sign up or login with your details

Forgot password? Click here to reset