REST Resource: scheduling
Zadbaj o dobrą organizację dzięki kolekcji
Zapisuj i kategoryzuj treści zgodnie ze swoimi preferencjami.
Zasób
Z tym zasobem nie są powiązane żadne dane trwałe.
Metody |
|
Rozwiąż problem z generowaniem zmian na podstawie danych SolveShiftGenerationRequest , generując zmiany z określonych szablonów zmian, aby zaspokoić potrzeby pracowników. |
|
Rozwiązanie problemu ze stałą zmianą harmonogramu z danego SolveShiftSchedulingRequest , przypisując pracowników do zmian, aby zmaksymalizować ich preferencje dotyczące planowania i zminimalizować ryzyko naruszenia ograniczeń harmonogramu. |
O ile nie stwierdzono inaczej, treść tej strony jest objęta licencją Creative Commons – uznanie autorstwa 4.0, a fragmenty kodu są dostępne na licencji Apache 2.0. Szczegółowe informacje na ten temat zawierają zasady dotyczące witryny Google Developers. Java jest zastrzeżonym znakiem towarowym firmy Oracle i jej podmiotów stowarzyszonych.
Ostatnia aktualizacja: 2024-08-09 UTC.
[null,null,["Ostatnia aktualizacja: 2024-08-09 UTC."],[[["\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. |"]]