REST Resource: scheduling
透過集合功能整理內容
你可以依據偏好儲存及分類內容。
方法 |
|
透過從指定的排班範本產生偏移,以解決員工需求,藉此解決指定 SolveShiftGenerationRequest 的轉變產生問題。 |
|
將員工指派到輪班,藉此將員工的排程偏好設定最大化,並將違反排程限制的情形降到最低,藉此解決指定 SolveShiftSchedulingRequest 的輪班安排問題。 |
除非另有註明,否則本頁面中的內容是採用創用 CC 姓名標示 4.0 授權,程式碼範例則為阿帕契 2.0 授權。詳情請參閱《Google Developers 網站政策》。Java 是 Oracle 和/或其關聯企業的註冊商標。
上次更新時間:2024-08-09 (世界標準時間)。
[null,null,["上次更新時間:2024-08-09 (世界標準時間)。"],[[["\u003cp\u003eThe Optimization API's scheduling resource facilitates shift generation and scheduling solutions without storing persistent data.\u003c/p\u003e\n"],["\u003cp\u003eIt offers the \u003ccode\u003esolveShiftGeneration\u003c/code\u003e method to create shifts from templates, ensuring employee demand is met.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003esolveShiftScheduling\u003c/code\u003e method optimizes employee assignments to fixed shifts, balancing preferences and constraints.\u003c/p\u003e\n"]]],["The resource has no persistent data. It offers two methods: `solveShiftGeneration` and `solveShiftScheduling`. `solveShiftGeneration` creates shifts from templates to meet employee demand using a `SolveShiftGenerationRequest`. `solveShiftScheduling` assigns employees to predefined shifts, optimizing for employee preferences and minimizing constraint violations, based on a `SolveShiftSchedulingRequest`. These methods address shift creation and employee allocation.\n"],null,["# REST Resource: scheduling\n\nResource\n--------\n\nThere is no persistent data associated with this resource.\n\n| Methods ------- ||\n|-----------------------------------------------------------------------------------------------------|-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| ### [solveShiftGeneration](/optimization/service/reference/rest/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) | 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. |"]]