میتوانید OR-Tools را برای پایتون از طریق مدیر بسته Pip نصب کنید، آن را از منبع بسازید یا از آرشیو Python SDK استفاده کنید. گزینه Pip ساده تر است، بنابراین ما آن را توصیه می کنیم مگر اینکه بخواهید کد منبع را تغییر دهید یا ساخت را سفارشی کنید.
استفاده از بسته های Pip
راهنماهای زیر نحوه استفاده از OR-Tools برای پایتون را با استفاده از بسته های منتشر شده Pip توضیح می دهند:
تاریخ آخرین بهروزرسانی 2024-08-09 بهوقت ساعت هماهنگ جهانی.
[null,null,["تاریخ آخرین بهروزرسانی 2024-08-09 بهوقت ساعت هماهنگ جهانی."],[[["OR-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."],["Building from source is necessary if you intend to use third-party solvers or customize OR-Tools."],["Detailed installation guides are available for Linux, macOS, and Windows operating systems, covering Pip packages, source builds, and binary distributions."]]],["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"]]