Resumable Jobs
Resumable jobs allow long-duration tasks to be interrupted by scheduled breaks and then resumed, ensuring both task completion and compliance with break requirements. This feature is essential for managing lengthy service appointments alongside mandatory rest periods.Overview
The resumable jobs feature enables:- Jobs to be paused during resource breaks
- Automatic resumption after breaks complete
- Better utilization of available working time
- Compliance with break regulations without sacrificing long jobs
Basic Configuration
Making Jobs Resumable
Set theresumable
flag on jobs that can be interrupted:
Default Behavior: Jobs are non-resumable by default (
resumable: false
). Only explicitly mark jobs as resumable when interruption is acceptable.How Resumable Jobs Work
Break Interruption Process
1
Job Starts
Technician begins the resumable job at scheduled time
2
Break Time Arrives
When break window is reached, current job is paused
3
Break Taken
Resource takes the scheduled break (at depot or current location)
4
Job Resumes
After break completion, job automatically resumes where it left off
5
Job Completes
Remaining duration is completed after the break
Example Timeline
For a 4-hour resumable job with a 1-hour lunch break:Use Cases
Long Service Appointments
Handle extended service calls with mandatory breaks:Construction and Installation
Manage multi-hour installations with regulated breaks:Healthcare Services
Extended patient care with mandatory rest periods:Interaction with Break Types
Windowed Breaks
Most flexible - solver optimizes when to interrupt:Drive Breaks
Interrupts based on accumulated driving time:Unavailability Breaks
Resource completely unavailable - resumable jobs pause:Best Practices
1
Identify Interruptible Work
Only mark jobs resumable if the work can actually be paused safely
2
Consider Customer Impact
Ensure customers are aware that service may include break periods
3
Set Realistic Durations
Account for any setup/cleanup time needed when resuming
4
Combine with Time Windows
Use time windows to ensure resumable jobs fit within acceptable hours
Common Scenarios
Mixed Job Types
Combine resumable and non-resumable jobs:Multiple Break Interruptions
Long jobs interrupted by multiple breaks:Constraints and Behavior
Important Considerations:
- Non-resumable jobs cannot be scheduled if they would conflict with mandatory breaks
- Break travel time (if returning to depot) is added to the total time
- Jobs can be resumed multiple times if interrupted by multiple breaks
Solver Behavior:
- Automatically calculates optimal break placement for resumable jobs
- Ensures breaks don’t violate job time windows
- Minimizes total completion time including break interruptions
Performance Impact
Resumable jobs add complexity to route optimization:Factor | Impact |
---|---|
Few resumable jobs | Minimal impact |
Many resumable jobs | Moderate impact |
Complex break patterns | Higher impact |
Tight time windows | Highest impact |
Troubleshooting
Job Not Scheduled Despite Being Resumable
Job Not Scheduled Despite Being Resumable
Causes:
- Time window too tight for job + breaks
- Break location adds too much travel time
- Other constraints preventing assignment
- Widen job time windows
- Use “ANY” location breaks
- Check for conflicting constraints
Inefficient Break Placement
Inefficient Break Placement
Causes:
- Fixed break times not optimal
- Too many short breaks
- Use windowed breaks for flexibility
- Consolidate multiple short breaks
- Review break necessity
Customer Dissatisfaction
Customer Dissatisfaction
Causes:
- Unexpected service interruption
- Extended total service time
- Communicate break policy upfront
- Schedule resumable jobs early in shift
- Consider customer preferences