# 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
# ======================
2   # Number of workers
7   # 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
4    # Duration of task 2
3    # Duration of task 3
2    # Duration of task 4
5    # Duration of task 5
4    # Duration of task 6

# ======================
# Task Time Windows 
# Format : earliest_start latest_end
# ======================
17 19    # Task 0: can be performed between 17:00 and 19:00
6  7     # Task 1: can be performed between 6:00 and 7:00
9  13    # Task 2: can be performed between 9:00 and 13:00
13 16    # Task 3: can be performed between 13:00 and 16:00
15 17    # Task 4: can be performed between 15:00 and 17:00
12 17    # Task 5: can be performed between 12:00 and 17:00
12 16    # Task 6: can be performed between 12:00 and 16:00

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