Operations Research API
קל לארגן דפים בעזרת אוספים
אפשר לשמור ולסווג תוכן על סמך ההעדפות שלך.
מטרת ה- Operations Research API היא לפתור בעיות ברמה גבוהה של חקר תפעול באמצעות תכנות ליניארי, תכנות עם מספרים שלמים מעורבים, תכנות אילוצים ועוד. היא מספקת פתרונות אופטימיזציה לבעיות ספציפיות למשתמשים חיצוניים באמצעות קריאה ל-API.
שירות: optimization.googleapis.com
נקודת קצה בשירות
נקודת קצה של שירות היא כתובת URL בסיסית שמציינת את כתובת הרשת של שירות API. לשירות אחד יכולות להיות כמה נקודות קצה (endpoints) של שירות. לשירות הזה יש את נקודת הקצה הבאה של השירות, וכל מזהי ה-URI הבאים הם יחסיים לנקודת הקצה של השירות:
https://optimization.googleapis.com
שיטות |
solveMathOptModel |
POST /v1/mathopt:solveMathOptModel
פותרת את מודל הקלט ומחזירה את התוצאה בבת אחת. |
שיטות |
solveShiftGeneration |
POST /v1/scheduling:solveShiftGeneration
פתרון בעיה של יצירת משמרות מ-SolveShiftGenerationRequest הנתון על ידי יצירת משמרות מתבניות משמרות נתונות כדי לכסות את הביקוש של העובדים. |
solveShiftScheduling |
POST /v1/scheduling:solveShiftScheduling
פתרון בעיה של תזמון משמרות קבועות מה-SolveShiftSchedulingRequest הנתון על ידי הקצאת עובדים למשמרות כך שהעדפות התזמון של העובדים יהיו מיטביות וצמצום ההפרות של מגבלות התזמון. |
שיטות |
designShippingNetwork |
POST /v1/shipping:designShippingNetwork
פותר את הבעיה בעיצוב ובתזמון של רשת המשלוחים (LSNDSP) ב-DesignShippingNetworkRequest הנתון. |
אלא אם צוין אחרת, התוכן של דף זה הוא ברישיון Creative Commons Attribution 4.0 ודוגמאות הקוד הן ברישיון Apache 2.0. לפרטים, ניתן לעיין במדיניות האתר Google Developers. Java הוא סימן מסחרי רשום של חברת Oracle ו/או של השותפים העצמאיים שלה.
עדכון אחרון: 2024-08-09 (שעון UTC).
[null,null,["עדכון אחרון: 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`. |"]]