Implementation Issues in Optimization Algorithms: Do They Matter?

Thomas Weise,Yuezhong Wu,Weichen Liu,Raymond Chiong
DOI: https://doi.org/10.1080/0952813x.2019.1574908
2019-01-01
Abstract:Two factors that have a major impact on the performance of an optimization method are (1) formal algorithm specifications and (2) practical implementations. The impact of the latter is typically ignored, although it defines the results measured in experiments. We present an in-depth study of algorithm implementation issues and ask questions such as Does optimizing the implementation of an optimization algorithm pay off? Do bugs matter? and Is using more complicated but also more efficient data structures worth the effort? The intuitive answer to all of these questions is yes, but there is little published evidence. To bridge this gap, we use one of the most studied combinatorial optimization problems - the Traveling Salesman Problem - as a test bed and implement two state-of-the-art approaches for solving it - the Lin-Kernighan Heuristic and an Ejection Chain Method. We investigate implementation effort and performance gain, in order to provide further insights to the above questions.
What problem does this paper attempt to address?