# Workforce Scheduling Instance
# Format: All times are in hours (will be converted to seconds in the model)
# Empty lines and comments (starting with #) are ignored

# ======================
# Problem Dimensions
# ======================
6   # Number of workers
5   # Number of tasks
1   # Planning horizon (days)
0.5 # Increment of time (hours)

# ======================
# Task Durations (hours)
# ======================
5    # Duration of task 0
1    # Duration of task 1
5    # Duration of task 2
2    # Duration of task 3
2    # Duration of task 4

# ======================
# Task Time Windows 
# Format : earliest_start latest_end
# ======================
14 19    # Task 0: can be performed between 14:00 and 19:00
9  10    # Task 1: can be performed between 9:00 and 10:00
14 19    # Task 2: can be performed between 14:00 and 19:00
17 19    # Task 3: can be performed between 17:00 and 19:00
10 12    # Task 4: can be performed between 10:00 and 12:00

# ======================
# Worker Availability 
# Format : work_start work_end
# All workers have the same availabiliy in this instance
# ======================
11 21  # Worker 0: Available from 11:00 to 21:00
8  17  # Worker 1: Available from 8:00 to 17:00
11 16  # Worker 2: Available from 11:00 to 16:00
6  13  # Worker 3: Available from 6:00 to 13:00
6  13  # Worker 4: Available from 6:00 to 13:00
5  15  # Worker 5: Available from 5:00 to 15:00