Bạn có thể cài đặt OR-Tools cho Python từ trình quản lý gói Pip, tạo gói từ nguồn hoặc sử dụng kho lưu trữ SDK Python.
Tuỳ chọn Pip dễ sử dụng hơn, vì vậy, bạn nên sử dụng tuỳ chọn này trừ phi bạn dự định sửa đổi mã nguồn hoặc tuỳ chỉnh bản dựng.
Sử dụng gói Pip
Hướng dẫn sau đây giải thích cách sử dụng OR-Tools cho Python bằng các gói Pip đã phát hành:
[[["Dễ hiểu","easyToUnderstand","thumb-up"],["Giúp tôi giải quyết được vấn đề","solvedMyProblem","thumb-up"],["Khác","otherUp","thumb-up"]],[["Thiếu thông tin tôi cần","missingTheInformationINeed","thumb-down"],["Quá phức tạp/quá nhiều bước","tooComplicatedTooManySteps","thumb-down"],["Đã lỗi thời","outOfDate","thumb-down"],["Vấn đề về bản dịch","translationIssue","thumb-down"],["Vấn đề về mẫu/mã","samplesCodeIssue","thumb-down"],["Khác","otherDown","thumb-down"]],["Cập nhật lần gần đây nhất: 2024-08-09 UTC."],[[["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"]]