[null,null,["最后更新时间 (UTC):2024-08-09。"],[[["\u003cp\u003eOR-Tools for C++ can be installed using pre-built binary distributions or by compiling from the source code.\u003c/p\u003e\n"],["\u003cp\u003eBinary installation is recommended for most users and is the easiest method, providing platform-specific instructions for Linux, macOS, and Windows.\u003c/p\u003e\n"],["\u003cp\u003eBuilding from source is necessary for modifying the OR-Tools code or integrating third-party solvers, with detailed guides available for Linux, macOS, and Windows.\u003c/p\u003e\n"],["\u003cp\u003eUsers intending to use third-party solvers with OR-Tools must build from source.\u003c/p\u003e\n"]]],["OR-Tools for C++ can be installed via binary distribution or from source code. Binary installation is recommended for ease, unless source code modification is needed. Building from source is required to use third-party solvers. Binary installation guides are available for Linux, macOS, and Windows. Source installation guides are also available for Linux, macOS, and Windows, offering an alternative to the binary method.\n"],null,["# OR-Tools for C++\n\nYou can install OR-Tools for C++ either from a binary distribution or\nfrom the source code. The binary option is easier, so we recommend it unless you\nplan to modify the source code.\n| **Note:** If you plan to use a third-party solver with OR-Tools, you need to build OR-Tools from source.\n\nBinary distributions\n--------------------\n\nThe following guides explain how to install OR-Tools for C++ from a binary\ndistribution:\n\n- [Binary installation on Linux](/optimization/install/cpp/binary_linux)\n- [Binary installation on MacOS](/optimization/install/cpp/binary_mac)\n- [Binary installation on Windows](/optimization/install/cpp/binary_windows)\n\nBuild from Source\n-----------------\n\nThe following guides explain how to install OR-Tools for C++ from source:\n\n- [Source installation on Linux](/optimization/install/cpp/source_linux)\n- [Source installation on MacOS](/optimization/install/cpp/source_mac)\n- [Source installation on Windows](/optimization/install/cpp/source_windows)"]]