{"id":{"repo_id":"texas-state","oai_identifier":"oai:digital.library.txst.edu:10877/12922"},"canonical_url":"https://search.ndltd.org/etd/texas-state/oai:digital.library.txst.edu:10877/12922","repository":{"repo_id":"texas-state","name":"Texas State University","base_url":"https://digital.library.txst.edu/server/oai/request"},"display":{"title":"A Parallel Implementation of A Greedy TSP Algorithm","abstract":"The Traveling Salesman Problem has often been used as an exploration ground for building heuristics to calculate the shortest path of a complete graph that traverse every vertex exactly once. This has a number of important practical applications. Since it is an NP-hard problem, many heuristics have been proposed to obtain near-optimal solutions in polynomial time. The heuristic explored in this study is based on Kruskal’s algorithm, where the edges of a graph are sorted in non-decreasing order. The smallest edges that meet the eligibility criteria are included in the path until a tour that includes all vertices has been constructed. Whether an edge meets the criteria depends on which smaller edges have been inserted. This makes the algorithm difficult to parallelize. I combined previously published with new parallelization techniques and implemented the algorithm in OpenMP and CUDA. The resulting GPU code is very fast, taking just 0.06 seconds to process a graph with 11,849 vertices and 70,193,476 edges. This is approximately 8 times faster than the serial CPU implementation and has a solution quality that is within 18% of the optimal. Compared to the optimal solver CONCORDE, my code is 1,206,302 times faster.","abstract_html":"The Traveling Salesman Problem has often been used as an exploration ground for building heuristics to calculate the shortest path of a complete graph that traverse every vertex exactly once. This has a number of important practical applications. Since it is an NP-hard problem, many heuristics have been proposed to obtain near-optimal solutions in polynomial time. The heuristic explored in this study is based on Kruskal’s algorithm, where the edges of a graph are sorted in non-decreasing order. The smallest edges that meet the eligibility criteria are included in the path until a tour that includes all vertices has been constructed. Whether an edge meets the criteria depends on which smaller edges have been inserted. This makes the algorithm difficult to parallelize. I combined previously published with new parallelization techniques and implemented the algorithm in OpenMP and CUDA. The resulting GPU code is very fast, taking just 0.06 seconds to process a graph with 11,849 vertices and 70,193,476 edges. This is approximately 8 times faster than the serial CPU implementation and has a solution quality that is within 18% of the optimal. Compared to the optimal solver CONCORDE, my code is 1,206,302 times faster.","abstract_has_math":false,"creators":["Gonzalez, Andres"],"institution":"Texas State University","degree_name":"Master of Science","degree_level":"Masters","degree_discipline":"Computer Science","degree_department":"Computer Science","school":null,"contributors":[],"advisors":["Burtscher, Martin"],"committee_chairs":[],"committee_members":["Peng, Wuxu","Yang, Kecheng"],"year":2020,"date_issued":"2020-11","date_published":"2020-11","updated_at":"2026-11-20T16:10:05Z","subjects":["TSP","traveling salesman problem"],"languages":["en"],"rights":[],"rights_urls":[],"identifier_entries":[{"key":"dc:identifier.citation","label":"Dc Identifier Citation","values":["Gonzalez, A. (2020). A parallel implementation of a greedy TSP algorithm. [Master's thesis, Texas State University]."],"render_values":[{"text":"Gonzalez, A. (2020). A parallel implementation of a greedy TSP algorithm. [Master's thesis, Texas State University].","href":null,"code":true}]}],"person_identifier_entries":[]},"links":{"outbound_url":"https://hdl.handle.net/10877/12922","outbound_label":"Handle","outbound_source":"dc:identifier.uri","record_url":"https://hdl.handle.net/10877/12922","record_label":"Repository record","record_kind":"handle","record_source":"dc:identifier.uri","access_status":null,"embargo_until":null,"access_note":null},"oai_pmh_record":{"url":"https://union.ndltd.org/oai-pmh/?verb=GetRecord&metadataPrefix=oai_dc&identifier=oai%3Aunion.ndltd.org%3Arepo%3Atexas-state%3Aoai%3Adigital.library.txst.edu%3A10877%2F12922","prefix":"oai_dc"},"source_record":{"url":"https://digital.library.txst.edu/server/oai/request?verb=GetRecord&metadataPrefix=dim&identifier=oai%3Adigital.library.txst.edu%3A10877%2F12922","prefix":"dim"},"metadata_groups":[{"id":"people","label":"People","entries":[{"key":"dc:contributor.advisor","label":"Advisor","values":["Burtscher, Martin"]},{"key":"dc:contributor.committeemember","label":"Committee Member","values":["Peng, Wuxu","Yang, Kecheng"]},{"key":"dc:contributor.department","label":"Department","values":["Computer Science"]},{"key":"dc:creator","label":"Author","values":["Gonzalez, Andres"]}]},{"id":"academic_context","label":"Academic Context","entries":[{"key":"dc:date.accessioned","label":"Dc Date Accessioned","values":["2020-11-16T18:26:06Z"]},{"key":"dc:date.available","label":"Dc Date Available","values":["2020-11-16T18:26:06Z"]},{"key":"dc:date.issued","label":"Date","values":["2020-11"]},{"key":"dc:type","label":"Dc Type","values":["Thesis"]},{"key":"thesis:degree_department","label":"Department","values":["Computer Science"]},{"key":"thesis:degree_discipline","label":"Discipline","values":["Computer Science"]},{"key":"thesis:degree_level","label":"Degree Level","values":["Masters"]},{"key":"thesis:degree_name","label":"Degree Name","values":["Master of Science"]},{"key":"thesis:institution_name","label":"Thesis Institution Name","values":["Texas State University"]}]},{"id":"subjects_keywords","label":"Subjects and Keywords","entries":[{"key":"dc:subject","label":"Dc Subject","values":["TSP","traveling salesman problem"]}]},{"id":"language_rights","label":"Language and Rights","entries":[{"key":"dc:language.iso","label":"Language (ISO)","values":["en"]}]},{"id":"identifiers","label":"Identifiers","entries":[{"key":"dc:identifier.citation","label":"Dc Identifier Citation","values":["Gonzalez, A. (2020). A parallel implementation of a greedy TSP algorithm. [Master's thesis, Texas State University]."]},{"key":"dc:identifier.uri","label":"Identifier URI","values":["https://hdl.handle.net/10877/12922"]}]},{"id":"additional","label":"Additional Metadata","entries":[{"key":"dc:description.abstract","label":"Abstract","values":["The Traveling Salesman Problem has often been used as an exploration ground for building heuristics to calculate the shortest path of a complete graph that traverse every vertex exactly once. This has a number of important practical applications. Since it is an NP-hard problem, many heuristics have been proposed to obtain near-optimal solutions in polynomial time. The heuristic explored in this study is based on Kruskal’s algorithm, where the edges of a graph are sorted in non-decreasing order. The smallest edges that meet the eligibility criteria are included in the path until a tour that includes all vertices has been constructed. Whether an edge meets the criteria depends on which smaller edges have been inserted. This makes the algorithm difficult to parallelize. I combined previously published with new parallelization techniques and implemented the algorithm in OpenMP and CUDA. The resulting GPU code is very fast, taking just 0.06 seconds to process a graph with 11,849 vertices and 70,193,476 edges. This is approximately 8 times faster than the serial CPU implementation and has a solution quality that is within 18% of the optimal. Compared to the optimal solver CONCORDE, my code is 1,206,302 times faster."]},{"key":"dc:format","label":"Dc Format","values":["Text"]},{"key":"dc:format.extent","label":"Dc Format Extent","values":["81 pages"]},{"key":"dc:format.medium","label":"Dc Format Medium","values":["1 file (.pdf)"]},{"key":"dc:title","label":"Title","values":["A Parallel Implementation of A Greedy TSP Algorithm"]},{"key":"others:access_status","label":"Others Access Status","values":["open.access"]}]}],"canonical_facts":{"dc:contributor.advisor":["Burtscher, Martin"],"dc:contributor.committeemember":["Peng, Wuxu","Yang, Kecheng"],"dc:contributor.department":["Computer Science"],"dc:creator":["Gonzalez, Andres"],"dc:date.accessioned":["2020-11-16T18:26:06Z"],"dc:date.available":["2020-11-16T18:26:06Z"],"dc:date.issued":["2020-11"],"dc:description.abstract":["The Traveling Salesman Problem has often been used as an exploration ground for building heuristics to calculate the shortest path of a complete graph that traverse every vertex exactly once. This has a number of important practical applications. Since it is an NP-hard problem, many heuristics have been proposed to obtain near-optimal solutions in polynomial time. The heuristic explored in this study is based on Kruskal’s algorithm, where the edges of a graph are sorted in non-decreasing order. The smallest edges that meet the eligibility criteria are included in the path until a tour that includes all vertices has been constructed. Whether an edge meets the criteria depends on which smaller edges have been inserted. This makes the algorithm difficult to parallelize. I combined previously published with new parallelization techniques and implemented the algorithm in OpenMP and CUDA. The resulting GPU code is very fast, taking just 0.06 seconds to process a graph with 11,849 vertices and 70,193,476 edges. This is approximately 8 times faster than the serial CPU implementation and has a solution quality that is within 18% of the optimal. Compared to the optimal solver CONCORDE, my code is 1,206,302 times faster."],"dc:format":["Text"],"dc:format.extent":["81 pages"],"dc:format.medium":["1 file (.pdf)"],"dc:identifier.citation":["Gonzalez, A. (2020). A parallel implementation of a greedy TSP algorithm. [Master's thesis, Texas State University]."],"dc:identifier.uri":["https://hdl.handle.net/10877/12922"],"dc:language.iso":["en"],"dc:subject":["TSP","traveling salesman problem"],"dc:title":["A Parallel Implementation of A Greedy TSP Algorithm"],"dc:type":["Thesis"],"others:access_status":["open.access"],"thesis:degree_department":["Computer Science"],"thesis:degree_discipline":["Computer Science"],"thesis:degree_level":["Masters"],"thesis:degree_name":["Master of Science"],"thesis:institution_name":["Texas State University"]},"updated_at":"2026-11-20T16:10:05Z"}