OR-Tools 是采用 C++ 编写的,但您也可以将它与 Python、Java 或 .Net 一起使用。以下部分将帮助您快速开始以每种支持的语言创建和运行 OR-Tools 程序:
入门指南
如未另行说明,那么本页面中的内容已根据知识共享署名 4.0 许可获得了许可,并且代码示例已根据 Apache 2.0 许可获得了许可。有关详情,请参阅 Google 开发者网站政策。Java 是 Oracle 和/或其关联公司的注册商标。
最后更新时间 (UTC):2024-08-09。
[null,null,["最后更新时间 (UTC):2024-08-09。"],[[["\u003cp\u003eOR-Tools is a suite of tools written in C++ for solving optimization problems.\u003c/p\u003e\n"],["\u003cp\u003eOR-Tools provides language support for Python, Java, and .Net in addition to C++.\u003c/p\u003e\n"],["\u003cp\u003eUsers can find language-specific guides to get started with OR-Tools development.\u003c/p\u003e\n"]]],["OR-Tools, primarily in C++, is accessible via Python, Java, and .Net. It provides instructions to begin creating and executing programs across these languages. Specific guides are available for C++, Python, Java, and .Net users, detailing the initial steps for each language. These guides facilitate setting up and running OR-Tools within their chosen programming environment.\n"],null,["# Get Started Guides\n\nOR-Tools is written in C++, but you can also use it with Python, Java, or .Net.\nThe following sections will quickly get you started creating and running\nOR-Tools programs in each of the supported languages:\n\n- [Get started with OR-Tools for C++](/optimization/introduction/cpp)\n- [Get started with OR-Tools for Python](/optimization/introduction/python)\n- [Get started with OR-Tools for Java](/optimization/introduction/java)\n- [Get started with OR-Tools for .Net](/optimization/introduction/dotnet)"]]