# 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
# ======================
7   # Number of workers
6   # Number of tasks
1   # Planning horizon (days)
0.5 # Increment of time (hours)

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

# ======================
# Task Time Windows 
# Format : earliest_start latest_end
# ======================
8  10    # Task 0: can be performed between 8:00 and 10:00
16 21    # Task 1: can be performed between 16:00 and 21:00
13 14    # Task 2: can be performed between 13:00 and 14:00
8  11    # Task 3: can be performed between 8:00 and 11:00
5  7     # Task 4: can be performed between 5:00 and 7:00
7  11    # Task 5: can be performed between 7:00 and 11:00

# ======================
# Worker Availability 
# Format : work_start work_end
# All workers have the same availabiliy in this instance
# ======================
8  14  # Worker 0: Available from 8:00 to 14:00
12 17  # Worker 1: Available from 12:00 to 17:00
12 15  # Worker 2: Available from 12:00 to 15:00
7  10  # Worker 3: Available from 7:00 to 10:00
5  8   # Worker 4: Available from 5:00 to 8:00
10 15  # Worker 5: Available from 10:00 to 15:00
7  14  # Worker 6: Available from 7:00 to 14:00