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

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

# ======================
# Task Time Windows 
# Format : earliest_start latest_end
# ======================
9  15    # Task 0: can be performed between 9:00 and 15:00
11 13    # Task 1: can be performed between 11:00 and 13:00
15 20    # Task 2: can be performed between 15:00 and 20:00
16 20    # Task 3: can be performed between 16:00 and 20:00

# ======================
# Worker Availability 
# Format : work_start work_end
# All workers have the same availabiliy in this instance
# ======================
7  14  # Worker 0: Available from 7:00 to 14:00
9  19  # Worker 1: Available from 9:00 to 19:00
11 20  # Worker 2: Available from 11:00 to 20:00
10 13  # Worker 3: Available from 10:00 to 13:00
6  15  # Worker 4: Available from 6:00 to 15:00
13 21  # Worker 5: Available from 13:00 to 21:00