REST Resource: scheduling
使用集合让一切井井有条
根据您的偏好保存内容并对其进行分类。
方法 |
|
通过根据给定的班次模板生成班次,以满足员工需求,从而解决给定 SolveShiftGenerationRequest 中的班次生成问题。 |
|
通过将员工分配至轮班,使员工的时间安排偏好最大化,并最大限度地减少违反排班限制的情况,解决给定 SolveShiftSchedulingRequest 中的固定排班安排问题。 |
如未另行说明,那么本页面中的内容已根据知识共享署名 4.0 许可获得了许可,并且代码示例已根据 Apache 2.0 许可获得了许可。有关详情,请参阅 Google 开发者网站政策。Java 是 Oracle 和/或其关联公司的注册商标。
最后更新时间 (UTC):2024-08-09。
[null,null,["最后更新时间 (UTC):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. |"]]