Cargando…
Hybrid pointer networks for traveling salesman problems optimization
In this work, we proposed a hybrid pointer network (HPN), an end-to-end deep reinforcement learning architecture is provided to tackle the travelling salesman problem (TSP). HPN builds upon graph pointer networks, an extension of pointer networks with an additional graph embedding layer. HPN combine...
Autores principales: | , , , , , , , |
---|---|
Formato: | Online Artículo Texto |
Lenguaje: | English |
Publicado: |
Public Library of Science
2021
|
Materias: | |
Acceso en línea: | https://www.ncbi.nlm.nih.gov/pmc/articles/PMC8670669/ https://www.ncbi.nlm.nih.gov/pubmed/34905571 http://dx.doi.org/10.1371/journal.pone.0260995 |
_version_ | 1784615010600747008 |
---|---|
author | Stohy, Ahmed Abdelhakam, Heba-Tullah Ali, Sayed Elhenawy, Mohammed Hassan, Abdallah A. Masoud, Mahmoud Glaser, Sebastien Rakotonirainy, Andry |
author_facet | Stohy, Ahmed Abdelhakam, Heba-Tullah Ali, Sayed Elhenawy, Mohammed Hassan, Abdallah A. Masoud, Mahmoud Glaser, Sebastien Rakotonirainy, Andry |
author_sort | Stohy, Ahmed |
collection | PubMed |
description | In this work, we proposed a hybrid pointer network (HPN), an end-to-end deep reinforcement learning architecture is provided to tackle the travelling salesman problem (TSP). HPN builds upon graph pointer networks, an extension of pointer networks with an additional graph embedding layer. HPN combines the graph embedding layer with the transformer’s encoder to produce multiple embeddings for the feature context. We conducted extensive experimental work to compare HPN and Graph pointer network (GPN). For the sack of fairness, we used the same setting as proposed in GPN paper. The experimental results show that our network significantly outperforms the original graph pointer network for small and large-scale problems. For example, it reduced the cost for travelling salesman problems with 50 cities/nodes (TSP50) from 5.959 to 5.706 without utilizing 2opt. Moreover, we solved benchmark instances of variable sizes using HPN and GPN. The cost of the solutions and the testing times are compared using Linear mixed effect models. We found that our model yields statistically significant better solutions in terms of the total trip cost. We make our data, models, and code publicly available https://github.com/AhmedStohy/Hybrid-Pointer-Networks. |
format | Online Article Text |
id | pubmed-8670669 |
institution | National Center for Biotechnology Information |
language | English |
publishDate | 2021 |
publisher | Public Library of Science |
record_format | MEDLINE/PubMed |
spelling | pubmed-86706692021-12-15 Hybrid pointer networks for traveling salesman problems optimization Stohy, Ahmed Abdelhakam, Heba-Tullah Ali, Sayed Elhenawy, Mohammed Hassan, Abdallah A. Masoud, Mahmoud Glaser, Sebastien Rakotonirainy, Andry PLoS One Research Article In this work, we proposed a hybrid pointer network (HPN), an end-to-end deep reinforcement learning architecture is provided to tackle the travelling salesman problem (TSP). HPN builds upon graph pointer networks, an extension of pointer networks with an additional graph embedding layer. HPN combines the graph embedding layer with the transformer’s encoder to produce multiple embeddings for the feature context. We conducted extensive experimental work to compare HPN and Graph pointer network (GPN). For the sack of fairness, we used the same setting as proposed in GPN paper. The experimental results show that our network significantly outperforms the original graph pointer network for small and large-scale problems. For example, it reduced the cost for travelling salesman problems with 50 cities/nodes (TSP50) from 5.959 to 5.706 without utilizing 2opt. Moreover, we solved benchmark instances of variable sizes using HPN and GPN. The cost of the solutions and the testing times are compared using Linear mixed effect models. We found that our model yields statistically significant better solutions in terms of the total trip cost. We make our data, models, and code publicly available https://github.com/AhmedStohy/Hybrid-Pointer-Networks. Public Library of Science 2021-12-14 /pmc/articles/PMC8670669/ /pubmed/34905571 http://dx.doi.org/10.1371/journal.pone.0260995 Text en © 2021 Stohy et al https://creativecommons.org/licenses/by/4.0/This is an open access article distributed under the terms of the Creative Commons Attribution License (https://creativecommons.org/licenses/by/4.0/) , which permits unrestricted use, distribution, and reproduction in any medium, provided the original author and source are credited. |
spellingShingle | Research Article Stohy, Ahmed Abdelhakam, Heba-Tullah Ali, Sayed Elhenawy, Mohammed Hassan, Abdallah A. Masoud, Mahmoud Glaser, Sebastien Rakotonirainy, Andry Hybrid pointer networks for traveling salesman problems optimization |
title | Hybrid pointer networks for traveling salesman problems optimization |
title_full | Hybrid pointer networks for traveling salesman problems optimization |
title_fullStr | Hybrid pointer networks for traveling salesman problems optimization |
title_full_unstemmed | Hybrid pointer networks for traveling salesman problems optimization |
title_short | Hybrid pointer networks for traveling salesman problems optimization |
title_sort | hybrid pointer networks for traveling salesman problems optimization |
topic | Research Article |
url | https://www.ncbi.nlm.nih.gov/pmc/articles/PMC8670669/ https://www.ncbi.nlm.nih.gov/pubmed/34905571 http://dx.doi.org/10.1371/journal.pone.0260995 |
work_keys_str_mv | AT stohyahmed hybridpointernetworksfortravelingsalesmanproblemsoptimization AT abdelhakamhebatullah hybridpointernetworksfortravelingsalesmanproblemsoptimization AT alisayed hybridpointernetworksfortravelingsalesmanproblemsoptimization AT elhenawymohammed hybridpointernetworksfortravelingsalesmanproblemsoptimization AT hassanabdallaha hybridpointernetworksfortravelingsalesmanproblemsoptimization AT masoudmahmoud hybridpointernetworksfortravelingsalesmanproblemsoptimization AT glasersebastien hybridpointernetworksfortravelingsalesmanproblemsoptimization AT rakotonirainyandry hybridpointernetworksfortravelingsalesmanproblemsoptimization |