Mantenha tudo organizado com as coleções
Salve e categorize o conteúdo com base nas suas preferências.
Você pode instalar o OR-Tools para Python a partir do gerenciador de pacotes Pip, criá-lo a partir do código-fonte ou usar o arquivo do SDK do Python.
Como a opção Pip é mais fácil, recomendamos usá-la, a menos que você pretenda modificar
o código-fonte ou personalizar o build.
Como usar pacotes picture-in-picture
Os guias a seguir explicam como usar ferramentas OR para Python com os
pacotes Pip publicados:
[null,null,["Última atualização 2024-08-09 UTC."],[[["\u003cp\u003eOR-Tools for Python can be installed via Pip, built from source, or using a Python SDK archive, with Pip being the recommended method for most users.\u003c/p\u003e\n"],["\u003cp\u003eBuilding from source is necessary if you intend to use third-party solvers or customize OR-Tools.\u003c/p\u003e\n"],["\u003cp\u003eDetailed installation guides are available for Linux, macOS, and Windows operating systems, covering Pip packages, source builds, and binary distributions.\u003c/p\u003e\n"]]],["OR-Tools for Python can be installed via Pip, by building from source, or using a binary distribution. Pip is recommended for ease of use, unless source code modification or build customization is needed. Building from source is required when using a third-party solver. Installation guides are provided for each method on Linux, MacOS, and Windows. Each guide explains how to proceed with the installation process depending on the OS and the type of installation.\n"],null,["# OR-Tools for Python\n\nYou can install OR-Tools for Python either from the Pip package\nmanager, build it from source or use the Python SDK archive.\nThe Pip option is easier, so we recommend it unless you plan to modify\nthe source code or customize the build.\n| **Note:** If you plan to use a third-party solver with OR-Tools, you need to build OR-Tools from source.\n\nUsing Pip packages\n------------------\n\nThe following guides explain how to use OR-Tools for Python using the\npublished Pip packages:\n\n- [Using Pip package on Linux](/optimization/install/python/pkg_linux)\n- [Using Pip package on MacOS](/optimization/install/python/pkg_mac)\n- [Using Pip package on Windows](/optimization/install/python/pkg_windows)\n\nBuild from Source\n-----------------\n\nThe following guides explain how to build from source OR-Tools for Python\n:\n\n- [Source installation on Linux](/optimization/install/python/source_linux)\n- [Source installation on MacOS](/optimization/install/python/source_mac)\n- [Source installation on Windows](/optimization/install/python/source_windows)\n\nBinary distributions\n--------------------\n\nThe following guides explain how to install OR-Tools for Python from a\nbinary distribution:\n\n- [Binary installation on Linux](/optimization/install/python/binary_linux)\n- [Binary installation on MacOS](/optimization/install/python/binary_mac)\n- [Binary installation on Windows](/optimization/install/python/binary_windows)"]]