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

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

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

# ======================
# Worker Availability 
# Format : work_start work_end
# All workers have the same availabiliy in this instance
# ======================
7  16  # Worker 0: Available from 7:00 to 16:00
11 14  # Worker 1: Available from 11:00 to 14:00
5  8   # Worker 2: Available from 5:00 to 8:00