Schedule shifts to employees, accounting for employee availability and shift skill requirements.
Tip
Check out our off-the-shelf model for Employee Shift Scheduling. This model supports many additional constraints such as skills, pairing employees, fairness and more.
-
Install Python 3.11+.
-
Install JDK 17+, for example with Sdkman:
$ sdk install java
-
Git clone the timefold-quickstarts repo and navigate to this directory:
$ git clone https://github.com/TimefoldAI/timefold-quickstarts.git ... $ cd timefold-quickstarts/python/employee-scheduling
-
Create a virtual environment:
$ python -m venv .venv
-
Activate the virtual environment:
$ . .venv/bin/activate
-
Install the application:
$ pip install -e .
-
Run the application:
$ run-app
-
Visit http://localhost:8080 in your browser.
-
Click on the Solve button.
-
Run tests:
$ pytest
Visit timefold.ai.