Appendix A. Search and optimization libraries in Python

This appendix covers setting up the Python environment, along with essential libraries for mathematical programming, graph visualization, metaheuristic optimization, and machine learning.

A.1 Setting up the Python environment

This book assumes that you already have Python 3.6 or a newer version installed on your system. For installation instructions specific to your operating system, see this Beginner’s Guide: https://wiki.python.org/moin/BeginnersGuide/.

For Windows, you can follow these steps to install Python:

  1. Go to the official website: www.python.org/downloads/.

  2. Select the version of Python to install.

  3. Download the Python executable installer.

  4. Run the executable installer. Make ...

Get Optimization 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.