Operations Research API
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.
API nghiên cứu hoạt động hướng đến việc giải quyết các vấn đề nghiên cứu hoạt động cấp cao bằng cách sử dụng lập trình tuyến tính, lập trình số nguyên hỗn hợp, lập trình ràng buộc, v.v. Giải pháp này đưa ra giải pháp tối ưu hoá cho các vấn đề cụ thể cho người dùng bên ngoài thông qua lệnh gọi API.
Dịch vụ: Optimize.googleapis.com
Điểm cuối dịch vụ
Điểm cuối dịch vụ là một URL cơ sở chỉ định địa chỉ mạng của một dịch vụ API. Một dịch vụ có thể có nhiều điểm cuối dịch vụ. Dịch vụ này có điểm cuối của dịch vụ sau đây và tất cả URI bên dưới đều liên quan đến điểm cuối của dịch vụ này:
https://optimization.googleapis.com
Phương thức |
solveMathOptModel |
POST /v1/mathopt:solveMathOptModel
Giải mô hình đầu vào và trả về kết quả ngay lập tức. |
Phương thức |
solveShiftGeneration |
POST /v1/scheduling:solveShiftGeneration
Giải quyết vấn đề tạo ca làm việc từ SolveShiftGenerationRequest cho trước bằng cách tạo các ca làm việc từ các mẫu ca làm việc nhất định để đáp ứng nhu cầu của nhân viên. |
solveShiftScheduling |
POST /v1/scheduling:solveShiftScheduling
Giải quyết vấn đề khắc phục vấn đề về việc lên lịch ca làm việc từ SolveShiftSchedulingRequest cho trước bằng cách phân công nhân viên vào các ca làm việc sao cho lựa chọn ưu tiên về việc lên lịch của nhân viên được tối đa hoá và giảm thiểu các trường hợp vi phạm giới hạn về việc lên lịch. |
Phương thức |
designShippingNetwork |
POST /v1/shipping:designShippingNetwork
Giải quyết vấn đề thiết kế mạng vận chuyển và lập lịch biểu (LSNDSP) từ DesignShippingNetworkRequest cho trước. |
Trừ phi có lưu ý khác, nội dung của trang này được cấp phép theo Giấy phép ghi nhận tác giả 4.0 của Creative Commons và các mẫu mã lập trình được cấp phép theo Giấy phép Apache 2.0. Để biết thông tin chi tiết, vui lòng tham khảo Chính sách trang web của Google Developers. Java là nhãn hiệu đã đăng ký của Oracle và/hoặc các đơn vị liên kết với Oracle.
Cập nhật lần gần đây nhất: 2024-08-09 UTC.
[null,null,["Cập nhật lần gần đây nhất: 2024-08-09 UTC."],[[["\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`. |"]]