Appendix B: Implementation in Python

In this book, C++ is used as the programming language of choice because it is one of the most widely used programming languages when speed is a concern. This appendix presents the Python implementation of the C++ programs described in the main text of this book, because Python has emerged as one of the most popular programming languages, especially in the area of data science and machine learning. We hope that this appendix will make it easier for the readers who are familiar with Python but not with C++ to learn how to realize all the metaheuristic algorithms described in this book. Since the Python implementation described in this appendix is essentially the same as the C++ implementation described in the ...

Get Handbook of Metaheuristic Algorithms now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.