Abstract
Run time distributions or time-to-target plots display on the ordinate axis the probability that an algorithm will find a solution at least as good as a given target value within a given running time, shown on the abscissa axis. Given a pair of different randomized algorithms \(A_1\) and \(A_2\), we describe a numerical method that gives the probability that \(A_1\) finds a solution at least as good as a given target value in a smaller computation time than \(A_2\), for the case where the runtimes of each of the two algorithms follow any runtime distribution. An illustrative example of a numerical application is also reported. We describe the perl program tttplots-compare, developed to compare time-to-target plots or general runtime distribution for measured CPU times of any two randomized heuristics. A listing of the perl program is given, and the program can also be downloaded from http://www.ic.uff.br/~celso/compare-tttplots.



Similar content being viewed by others
References
Feo, T.A., Resende, M.G.C., Smith, S.H.: A greedy randomized adaptive search procedure for maximum independent set. Oper. Res. 42, 860–878 (1994)
Hoos, H.H., Stützle, T.: Evaluation of Las Vegas algorithms—Pitfalls and remedies. In: Proceedings of the 14th Conference on Uncertainty in Artificial Intelligence, pp. 238–245 (1998)
Hoos, H.H., Stützle, T.: On the empirical evaluation of Las Vegas algorithms—position paper. Technical report, Computer Science Department, University of British Columbia (1998)
Aiex, R.M., Resende, M.G.C., Ribeiro, C.C.: TTTPLOTS: a perl program to create time-to-target plots. Optim. Lett. 1, 355–366 (2007)
Aiex, R.M., Resende, M.G.C., Ribeiro, C.C.: Probability distribution of solution time in GRASP: an experimental investigation. J. Heurist. 8, 343–373 (2002)
Ribeiro, C.C., Rosseti, I., Vallejos, R.: On the use of run time distributions to evaluate and compare stochastic local search algorithms. In: Sttzle, T., Biratari, M., Hoos, H.H. (eds.) Engineering Stochastic Local Search Algorithms. Lecture Notes in Computer Science, vol. 5752, pp 16–30. Springer, Berlin (2009)
Ribeiro, C.C., Rosseti, I., Vallejos, R.: Exploiting run time distributions to compare sequential and parallel stochastic local search algorithms. J. Global Optim. 54, 405–429 (2012)
Noronha, T.F., Ribeiro, C.C.: Routing and wavelength assignment by partition coloring. Eur. J. Oper. Res. 171, 797–810 (2006)
Manohar, P., Manjunath, D., Shevgaonkar, R.K.: Routing and wavelength assignment in optical networks from edge disjoint path algorithms. IEEE Commun. Lett. 5, 211–213 (2002)
Hyyti, E., Virtamo, J.: Wavelength assignment and routing in WDM networks. In: Nordic Teletraffic Seminar 14, pp. 31–40 (1998)
Ribeiro, C.C., Rosseti, I.: A parallel GRASP heuristic for the 2-path network design problem. Lect. Notes Comput. Sci. 2400, 922–926 (2002)
Ribeiro, C.C., Rosseti, I.: Efficient parallel cooperative implementations of GRASP heuristics. Parallel Comput. 33, 21–35 (2007)
Andrade, C.E., Miyazawa, F.K., Resende, M.G.C.: Evolutionary algorithm for the \(k\)-interconnected multi-depot multi-traveling salesmen problem. In: Proceedings of the Genetic and Evolutionary Computation Conference, Amsterdam, pp. 463–470 (2013)
Andrade, C.E., Miyazawa, F.K., Resende, M.G.C., Toso, R.F.: Biased random-key genetic algorithms for the winner determination problem in combinatorial auctions (2013, submitted)
Resende, M.G.C., Gonçalves, J.F., Toso, R.F.: Biased and unbiased random-key genetic algorithms: an experimental analysis. In: Abstracts of the X Metaheuristics International Conference, Singapore (2013)
Barbalho, H., Rosseti, I., Martins, S.L., Plastino, A.: A hybrid data mining GRASP with path-relinking. Comput. Oper. Res. 40, 3159–3173 (2013)
Duarte, A., Martí, R., Resende, M.G.C., Silva, R.M.A.: GRASP with path relinking heuristics for the antibandwidth problem. Networks 58, 171–189 (2011)
Brandao, J. S., Noronha, T. F., Ribeiro, C. C.: A biased random-key genetic algorithm to maximize the number of accepted lightpaths in WDM optical networks (2014, submitted)
Acknowledgments
This paper provides the perl program whose fundamentals and numerical computations have been originally proposed in the paper titled “On the use of run time distributions to evaluate and compare sequential and parallel stochastic local search algorithms” [6], which received the “Best Paper Presentation Award” among all papers presented at the conference “Engineering Stochastic Local Search Algorithms” held in Brussels from September 3 to 4, 2009.
Author information
Authors and Affiliations
Corresponding author
Appendix: Program listing
Appendix: Program listing








Rights and permissions
About this article
Cite this article
Ribeiro, C.C., Rosseti, I. tttplots-compare: a perl program to compare time-to-target plots or general runtime distributions of randomized algorithms. Optim Lett 9, 601–614 (2015). https://doi.org/10.1007/s11590-014-0760-8
Received:
Accepted:
Published:
Issue Date:
DOI: https://doi.org/10.1007/s11590-014-0760-8