How ekallevik/flexible_employee_scheduling works
Main Components
a) Core System Components:
• Problem Runner (Main Controller)
• Model Layer (Multiple Model Types)
• Heuristic Layer
• Preprocessing Layer
• Results Management
• Visualization System
b) Model Types:
• ESP (Employee Scheduling Problem) Model
• IMP-MIP (Implicit Mixed Integer Programming) Model
• Base Model Components
• Specialized Model Variants (Construction, Feasibility, Optimality)
c) Heuristic Components:
• PALNS (Parallel Adaptive Large Neighborhood Search)
• SDH (Shift Design Heuristic)
• SDH-SR (Shift Design Heuristic with Shift Reduction)
• Various Operators (Destroy/Repair)
┌─────────────────────────────────────────────┐
• User Interface │
• (Command Line Interface) │
• ┬───┘
┌─────────────────────────────────────────────┐
• Problem Runner Layer │
• (Orchestrates the solution process) │
• ┬───┘
┌─────────────────────────┬───────────────────┐
• Preprocessing Layer │ Model Layer │
• XML Loading │ - Base Model │
• Demand Processing │ - ESP Model │
• Shift Generation │ - IMP-MIP Model │
• ┴───────────────────┘
┌─────────────────────────────────────────────┐
• Heuristic Layer │
• PALNS │
• SDH/SDH-SR │
• Operators (Destroy/Repair) │
• ┬───┘
┌─────────────────────────┬───────────────────┐
• Results Management │ Visualization │
• JSON Output │ - Plots │
• Solution Storage │ - Charts │
• ┴───────────────────┘
Component Details
• Input formats (XML, command line arguments)
• Processing steps (preprocessing → model building → optimization)
• Output formats (JSON, visualizations)
• Key algorithms (PALNS, SDH-SR)
• Data storage (solutions, results)