Sử dụng bộ sưu tập để sắp xếp ngăn nắp các trang
Lưu và phân loại nội dung dựa trên lựa chọn ưu tiên của bạn.
Giới thiệu
Hướng dẫn này giải thích cách cài đặt OR-Tools dành cho .Net trên Windows.
Mặc dù những hướng dẫn này cũng có thể áp dụng cho các biến thể Windows khác, nhưng chúng tôi
chỉ thử nghiệm chúng trên các máy đáp ứng các yêu cầu sau:
Windows 10 64 bit (x86_64) với:
Microsoft Visual Studio Enterprise 2022
Microsoft Visual Studio Community 2022 Bản dùng thử 2 trở lên
Điều kiện tiên quyết
Các phần sau đây mô tả các điều kiện tiên quyết để cài đặt OR-Tools.
Để kiểm tra các bản cài đặt .Net của bạn, hãy mở Dấu nhắc lệnh x64 Native Tools và điều hướng đến
Thư mục nơi bạn đã giải nén bản phân phối nhị phân. Sau đó nhập
sau đây:
tools\make test
Thao tác này sẽ chạy một tập hợp các ví dụ về Công cụ OR. Nếu tất cả các ví dụ trên chạy
thành công, bạn đã sẵn sàng
bắt đầu sử dụng OR-Tools.
[[["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-22 UTC."],[[["This guide provides instructions for installing Google's OR-Tools for .Net on Windows 10 64-bit systems using Visual Studio 2022."],["Before installation, ensure you have the Microsoft Visual C++ Redistributable for Visual Studio 2022 (x64), .NET Core 3.1 SDK (version 3.1.100 or higher), and .NET 6.0 SDK installed."],["Download and extract the OR-Tools binary distribution for Visual Studio 2022 from the provided link."],["Validate your installation by running a selection of OR-Tools examples using the command `tools\\make test` in the extraction directory within an x64 Native Tools Command Prompt."]]],["This guide details the installation of OR-Tools for .Net on Windows 10 64-bit, specifically for x86_64 architecture. Prerequisites include installing the Microsoft Visual C++ Redistributable for Visual Studio 2022, .NET Core 3.1 SDK, and .Net 6.0 SDK. The installation involves downloading and extracting the binary distribution from the specified link. Validation is performed by opening an x64 Native Tools Command Prompt, navigating to the extracted directory, and running `tools\\make test`.\n"]]