# US 2021/0287157 A1 · Cognitive tuning of scheduling constraints

> Agents: this data is available as JSON from the patentgrep API and MCP server — see https://patentgrep.com/llms.txt

- Number: US 2021/0287157 A1
- Document ID: US20210287157A1
- Status: Published application
- Kind: A1
- Application number: 16/818,399
- Filed: 2020-03-13
- Published: 2021-09-16
- Earliest claimed: 2020-03-13
- Assignees: International Business Machines Corporation
- Applicants: International Business Machines Corporation
- Inventors: Akhouri Abhinav Aditya; Sathwik Chenna Madhavuni
- Web page: https://patentgrep.com/patent/US20210287157A1

## CPC

- G06Q 10/063118: {Staff planning in a project environment}
- G06Q 10/063116: {Schedule adjustment for a person or group}
- G06Q 10/06312: {Adjustment or analysis of established resource schedule, e.g. resource or task levelling, or dynamic rescheduling}
- G06Q 10/06393: {Score-carding, benchmarking or key performance indicator [KPI] analysis}
- G06Q: INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR

## Abstract

An embodiment includes parsing form data into a plurality of form values received with a schedule request and assembling the form values into a search vector. The embodiment searches historical data using a nearest neighbor algorithm that inputs the search vector and identifies first and second sets of historical vectors comprising that are closest by Euclidean distance to the search vector. The embodiment calculates an enhanced constraint vector comprising an average value based at least in part on the first set of historical vectors and a standard deviation value based at least in part on the second set of historical vectors. The embodiment generates an employee schedule using an optimization algorithm subject to a plurality of schedule constraints that include the enhanced constraint vector. The embodiment then transmit data for initiating a notification regarding availability of the employee schedule.

## Claims

### Claim 1

A computer implemented method comprising:
parsing, responsive to a schedule request from a user, form data into a plurality of form values the schedule request comprising the form data from an electronic form populated by the user;
assembling the form values into a search vector;
searching historical data in a history database using a nearest neighbor algorithm that inputs the search vector, identifies a first set of historical vectors comprising a first predetermined number of historical vectors that are closest by Euclidean distance to the search vector, and identifies a second set of historical vectors comprising a second predetermined number of historical vectors that include the first set of historical vectors and are most similar by Euclidean distance to the search vector;
calculating an enhanced constraint vector comprising an average value based at least in part on the first set of historical vectors and a standard deviation value based at least in part on the second set of historical vectors;
generating an employee schedule using an optimization algorithm subject to a plurality of schedule constraints, wherein the plurality of schedule constraints comprises the enhanced constraint vector; and
transmitting, responsive to the generating of the employee schedule, data for initiating a notification regarding availability of the employee schedule.

### Claim 2 (depends on 1)

The computer implemented method of claim 1, wherein the schedule request corresponds to a specified schedule period.

### Claim 3 (depends on 2)

The computer implemented method of claim 2, wherein the form values include a demand value representative of a projected business demand during the specified schedule period.

### Claim 4 (depends on 2)

The computer implemented method of claim 2, wherein the form values include a key performance indicator (KPI) value representative of a target business goal for the specified schedule period.

### Claim 5 (depends on 2)

The computer implemented method of claim 2, wherein the form values include a first number of employees available to work during the specified schedule period.

### Claim 6 (depends on 5)

The computer implemented method of claim 5, wherein the form values include a second number of employees available to work during the specified schedule period, wherein the first and second numbers correspond to respective employee categories.

### Claim 7 (depends on 1)

The computer implemented method of claim 1, further comprising normalizing the historical data in the history database based at least in part on the form values in the search vector.

### Claim 8 (depends on 1)

The computer implemented method of claim 1, further comprising structuring the historical data in the history database to form a plurality of historical schedule vectors.

### Claim 9 (depends on 1)

The computer implemented method of claim 1, further comprising arranging the historical data in the history database into data structures each having a number of dimensions corresponding to dimensions of the search vector.

### Claim 10 (depends on 1)

The computer implemented method of claim 1, further comprising parsing data to extract schedule preference data representative of a schedule preference of an employee, wherein the plurality of schedule constraints comprises the schedule preference data.

### Claim 11

A computer program product for generating an employee work schedule, the computer program product comprising one or more computer readable storage media, and program instructions collectively stored on the one or more computer readable storage media, the program instructions executable by a processor to cause the processor to perform operations comprising:
parsing, responsive to a schedule request from a user, form data into a plurality of form values the schedule request comprising the form data from an electronic form populated by the user;
assembling the form values into a search vector;
searching historical data in a history database using a nearest neighbor algorithm that inputs the search vector, identifies a first set of historical vectors comprising a first predetermined number of historical vectors that are closest by Euclidean distance to the search vector, and identifies a second set of historical vectors comprising a second predetermined number of historical vectors that include the first set of historical vectors and are most similar by Euclidean distance to the search vector;
calculating an enhanced constraint vector comprising an average value based at least in part on the first set of historical vectors and a standard deviation value based at least in part on the second set of historical vectors;
generating an employee schedule using an optimization algorithm subject to a plurality of schedule constraints, wherein the plurality of schedule constraints comprises the enhanced constraint vector; and
transmitting, responsive to the generating of the employee schedule, data for initiating a notification regarding availability of the employee schedule.

### Claim 12 (depends on 11)

The computer usable program product of claim 11, wherein the schedule request corresponds to a specified schedule period.

### Claim 13 (depends on 12)

The computer usable program product of claim 12, wherein the form values include a demand value representative of a projected business demand during the specified schedule period.

### Claim 14 (depends on 12)

The computer usable program product of claim 12, wherein the form values include a KPI value representative of a target business goal for the specified schedule period.

### Claim 15 (depends on 11)

The computer usable program product of claim 11, wherein the stored program instructions are stored in a computer readable storage device in a data processing system, and wherein the stored program instructions are transferred over a network from a remote data processing system.

### Claim 16 (depends on 11)

The computer usable program product of claim 11, wherein the stored program instructions are stored in a computer readable storage device in a server data processing system, and wherein the stored program instructions are downloaded over a network to a remote data processing system for use in a computer readable storage device associated with the remote data processing system, further comprising:
program instructions to meter use of the computer usable code associated with the request; and
program instructions to generate an invoice based on the metered use.

### Claim 17

A computer system comprising a processor and one or more computer readable storage media, and program instructions collectively stored on the one or more computer readable storage media, the program instructions executable by the processor to cause the processor to perform operations comprising:
parsing, responsive to a schedule request from a user, form data into a plurality of form values the schedule request comprising the form data from an electronic form populated by the user;
assembling the form values into a search vector;
searching historical data in a history database using a nearest neighbor algorithm that inputs the search vector, identifies a first set of historical vectors comprising a first predetermined number of historical vectors that are closest by Euclidean distance to the search vector, and identifies a second set of historical vectors comprising a second predetermined number of historical vectors that include the first set of historical vectors and are most similar by Euclidean distance to the search vector;
calculating an enhanced constraint vector comprising an average value based at least in part on the first set of historical vectors and a standard deviation value based at least in part on the second set of historical vectors;
generating an employee schedule using an optimization algorithm subject to a plurality of schedule constraints, wherein the plurality of schedule constraints comprises the enhanced constraint vector; and
transmitting, responsive to the generating of the employee schedule, data for initiating a notification regarding availability of the employee schedule.

### Claim 18 (depends on 17)

The computer system of claim 17, wherein the schedule request corresponds to a specified schedule period.

### Claim 19 (depends on 18)

The computer system of claim 18, wherein the form values include a demand value representative of a projected business demand during the specified schedule period.

### Claim 20 (depends on 18)

The computer system of claim 18, wherein the form values include a KPI value representative of a target business goal for the specified schedule period.
