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

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

# ======================
# Task Time Windows 
# Format : earliest_start latest_end
# ======================
15 16    # Task 0: can be performed between 15:00 and 16:00
8  14    # Task 1: can be performed between 8:00 and 14:00
12 16    # Task 2: can be performed between 12:00 and 16:00
13 15    # Task 3: can be performed between 13:00 and 15:00
12 16    # Task 4: can be performed between 12:00 and 16:00
11 12    # Task 5: can be performed between 11:00 and 12:00
17 23    # Task 6: can be performed between 17:00 and 23:00

# ======================
# Worker Availability 
# Format : work_start work_end
# All workers have the same availabiliy in this instance
# ======================
9  15  # Worker 0: Available from 9:00 to 15:00
7  16  # Worker 1: Available from 7:00 to 16:00
7  12  # Worker 2: Available from 7:00 to 12:00