REST Resource: scheduling
จัดทุกอย่างให้เป็นระเบียบอยู่เสมอด้วยคอลเล็กชัน
บันทึกและจัดหมวดหมู่เนื้อหาตามค่ากำหนดของคุณ
ทรัพยากร
ไม่มีข้อมูลถาวรที่เชื่อมโยงกับทรัพยากรนี้
วิธีการ |
|
แก้ไขปัญหาการสร้าง Shift จาก SolveShiftGenerationRequest ที่ระบุโดยสร้างการเปลี่ยนแปลงจากเทมเพลต Shift ที่ระบุเพื่อให้ครอบคลุมความต้องการของพนักงาน |
|
แก้ไขปัญหาการกำหนดเวลากะงานที่แก้ไขแล้วของ SolveShiftSchedulingRequest ที่ระบุโดยกำหนดกะการทำงานให้กับพนักงาน เพื่อให้สามารถเพิ่มประสิทธิภาพกำหนดการของพนักงานให้ได้มากที่สุด และช่วยลดการละเมิดข้อจำกัดการกำหนดเวลา |
เนื้อหาของหน้าเว็บนี้ได้รับอนุญาตภายใต้ใบอนุญาตที่ต้องระบุที่มาของครีเอทีฟคอมมอนส์ 4.0 และตัวอย่างโค้ดได้รับอนุญาตภายใต้ใบอนุญาต Apache 2.0 เว้นแต่จะระบุไว้เป็นอย่างอื่น โปรดดูรายละเอียดที่นโยบายเว็บไซต์ Google Developers Java เป็นเครื่องหมายการค้าจดทะเบียนของ Oracle และ/หรือบริษัทในเครือ
อัปเดตล่าสุด 2024-08-09 UTC
[null,null,["อัปเดตล่าสุด 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. |"]]