Operations Research API
使用集合让一切井井有条
根据您的偏好保存内容并对其进行分类。
Operations Research API 旨在使用线性规划、混合整数规划、约束规划等解决高级运算研究问题。它通过 API 调用为外部用户提供针对特定问题的优化解决方案。
服务:optimization.googleapis.com
服务端点
服务端点是指定 API 服务的网络地址的基本网址。一项服务可能有多个服务端点。此服务具有以下服务端点,下面的所有 URI 都与此服务端点相关:
https://optimization.googleapis.com
方法 |
solveShiftGeneration |
POST /v1/scheduling:solveShiftGeneration
根据给定的轮班模板生成轮班,以满足员工需求,从而解决给定 SolveShiftGenerationRequest 中的轮班生成问题。 |
solveShiftScheduling |
POST /v1/scheduling:solveShiftScheduling
通过将员工分配至轮班,使员工的时间安排偏好最大化,并最大限度地减少违反排班限制的问题,解决基于给定 SolveShiftSchedulingRequest 的固定排班排班问题。 |
方法 |
designShippingNetwork |
POST /v1/shipping:designShippingNetwork
解决给定 DesignShippingNetworkRequest 的客运网络设计和调度问题 (LSNDSP)。 |
如未另行说明,那么本页面中的内容已根据知识共享署名 4.0 许可获得了许可,并且代码示例已根据 Apache 2.0 许可获得了许可。有关详情,请参阅 Google 开发者网站政策。Java 是 Oracle 和/或其关联公司的注册商标。
最后更新时间 (UTC):2024-08-09。
[null,null,["最后更新时间 (UTC):2024-08-09。"],[[["\u003cp\u003eThe Operations Research API enables users to solve complex optimization problems, such as linear programming and constraint programming, through API calls.\u003c/p\u003e\n"],["\u003cp\u003eIt offers specialized solutions for mathematical optimization, shift scheduling, and shipping network design.\u003c/p\u003e\n"],["\u003cp\u003eThe API leverages various optimization techniques to provide efficient and effective solutions for operational challenges.\u003c/p\u003e\n"],["\u003cp\u003eUsers can access the service endpoint at \u003ccode\u003ehttps://optimization.googleapis.com\u003c/code\u003e and utilize REST resources for specific problem domains.\u003c/p\u003e\n"]]],["The Operations Research API uses methods like linear and mixed integer programming to provide optimization solutions. It offers three main REST resources: `v1.mathopt`, `v1.scheduling`, and `v1.shipping`. Key actions include `solveMathOptModel` for general model solving, `solveShiftGeneration` and `solveShiftScheduling` for employee shift management, and `designShippingNetwork` for optimizing shipping networks. Each method is accessed via a `POST` request to specific URIs relative to the service endpoint `https://optimization.googleapis.com`.\n"],null,["# Operations Research API\n\nThe Operations Research API aims to solve high-level operations research problems using linear programming, mixed integer programming, constraint programming and more. It provides optimization solutions for specific problems to external users through an API call.\n\nService: optimization.googleapis.com\n------------------------------------\n\n### Service endpoint\n\nA [service endpoint](https://cloud.google.com/apis/design/glossary#api_service_endpoint) is a base URL that specifies the network address of an API service. One service might have multiple service endpoints. This service has the following service endpoint and all URIs below are relative to this service endpoint:\n\n- `https://optimization.googleapis.com`\n\nREST Resource: [v1.mathopt](/optimization/service/reference/rest/v1/mathopt)\n----------------------------------------------------------------------------\n\n| Methods ||\n|----------------------------------------------------------------------------------------|---------------------------------------------------------------------------------------------|\n| [solveMathOptModel](/optimization/service/reference/rest/v1/mathopt/solveMathOptModel) | `POST /v1/mathopt:solveMathOptModel` Solves the input model and returns the result at once. |\n\nREST Resource: [v1.scheduling](/optimization/service/reference/rest/v1/scheduling)\n----------------------------------------------------------------------------------\n\n| Methods ||\n|-------------------------------------------------------------------------------------------------|--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| [solveShiftGeneration](/optimization/service/reference/rest/v1/scheduling/solveShiftGeneration) | `POST /v1/scheduling:solveShiftGeneration` Solves a shift generation problem from the given `SolveShiftGenerationRequest` by generating shifts from given shift templates in order to cover the employee demand. |\n| [solveShiftScheduling](/optimization/service/reference/rest/v1/scheduling/solveShiftScheduling) | `POST /v1/scheduling:solveShiftScheduling` Solves a fixed shift scheduling problem from the given `SolveShiftSchedulingRequest` by assigning employees to shifts such that employees' scheduling preferences are maximized and scheduling constraint violations are minimized. |\n\nREST Resource: [v1.shipping](/optimization/service/reference/rest/v1/shipping)\n------------------------------------------------------------------------------\n\n| Methods ||\n|-------------------------------------------------------------------------------------------------|-------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| [designShippingNetwork](/optimization/service/reference/rest/v1/shipping/designShippingNetwork) | `POST /v1/shipping:designShippingNetwork` Solves the liner shipping network design and scheduling problem (LSNDSP) from the given `DesignShippingNetworkRequest`. |"]]