Investigating Constraint Programming and Hybrid Methods for Real World Industrial Test Laboratory Scheduling

Tobias Geibinger, Florian Mischek, Nysret MusliuarXiv 2019 · DOI

TL;DR

This paper tackles the highly complex Industrial Test Laboratory Scheduling Problem (TLSP-S) by combining Constraint Programming (CP) with a hybrid Very Large Neighborhood Search (VLNS). By leveraging global scheduling constraints and iteratively optimizing sub-problems, their hybrid approach scales to massive real-world instances, easily outperforming traditional Mixed-Integer Programming (MIP) and pure metaheuristics.

What Problem Does This Paper Address?

In industrial test laboratories, engineers must schedule a massive battery of tests while managing highly constrained, heterogeneous resources. This challenge is formalized as the Industrial Test Laboratory Scheduling Problem (TLSP-S), an intricate extension of the classic Resource-Constrained Project Scheduling Problem (RCPSP).

Unlike standard scheduling problems that assume identical, interchangeable resources, TLSP-S introduces real-world complications:

  • Heterogeneous Resources: Personnel have specific qualifications, workbenches have unique capabilities, and auxiliary equipment groups contain limited devices.
  • Linked Jobs: Certain tasks within a project must be executed by the exact same employee.
  • Non-Standard Objectives: Instead of simply minimizing the overall time to complete everything (makespan), the objective must minimize individual project durations, respect soft due dates, and honor employee preferences.

In practice, lab managers need to quickly determine if a valid schedule even exists when new projects are added dynamically. Traditional exact methods often choke on these constraints as the problem size scales up.

Methods

The authors developed and compared several advanced optimization techniques:

  1. Constraint Programming (CP) Formulations: They built two distinct CP models. The first uses MiniZinc (solved via Chuffed), migrating away from naive time-indexed or pairwise overlap constraints—which caused cubic explosions during compilation—in favor of global cumulative constraints. The second model is tailored for IBM ILOG CP Optimizer, utilizing its native, highly efficient interval variables and noOverlap constructs.
  2. Redundant & Cardinality Constraints: To prune the massive search space early, they introduced relaxed global resource bounds and Global Cardinality Constraints (gcc_low_up) to tightly bound resource usage.
  3. Domain-Specific Search Strategies: Using MiniZinc’s priority_search annotation, they forced the solver to branch based on the smallest possible start times of jobs rather than relying on blind, default search heuristics.
  4. Hybrid Very Large Neighborhood Search (VLNS): This is the paper's core algorithmic contribution. The VLNS starts with a feasible CP-generated solution, freezes most of the schedule, and randomly selects a neighborhood of $k$ overlapping projects. It then uses the CP solver to optimize just this sub-problem within a tight 30-second window. It incorporates a probabilistic "hot-starting" mechanism to seed the solver with the current best assignment, ensuring rapid convergence without getting trapped in local optima.

Datasets

The methods were evaluated on two main data sources:

  • Synthetic Benchmarks (30 instances): Generated using a tool modeled after real-world laboratory distributions. It is split into two subsets: LabStructure (closely mimicking the industrial partner's lab layout) and General (exercising a broader array of complex dependency graphs). Sizes scale from 5 projects (7 jobs) up to 90 projects (401 jobs).
  • Real-World Dataset (Lab): An authentic, anonymized dataset from an industrial partner spanning over a full year of operations, broken down into two timeslots per working day (297 jobs total).

Key Insights and Ideas

  • The Scaling Wall: Naive formulations of unary resource constraints (like checking every resource at every time step) fail to compile even for the smallest instances. Global constraints (cumulative in MiniZinc or interval variables in CP Optimizer) are mathematically mandatory for real-world scaling.
  • Search Guidance is Non-Negotiable: Without custom search annotations (priority_search), default CP solvers fail to find any feasible solutions for larger instances. Instructing the solver to focus on jobs with the earliest possible start times makes the difference between total failure and proven optimality.
  • MIP's Weakness in Scheduling: Mixed-Integer Programming (via CPLEX) performed incredibly poorly here. The combinatorial explosion of resource assignments over discrete time slots creates a search space that MIP solvers struggle to navigate compared to CP's interval abstractions.
  • Objective Coupling: Prioritizing a single soft constraint (e.g., minimizing the number of unique employees on a project) severely degrades other metrics like project completion times, because it forces jobs to be scheduled serially rather than in parallel.

Key Results

  • Pure CP Performance: The MiniZinc/Chuffed model found feasible solutions for all instances and proved optimality for 14 smaller instances ($\le 20$ projects). CP Optimizer struggled to prove optimality but consistently found better raw solutions than Chuffed on unclosed, larger instances.
  • VLNS Superiority: The hybrid VLNS approach dominated the field. It found the best-known solutions for 29 out of 30 benchmark instances and successfully proved optimality for 16 of them—including two massive 60-project instances—by matching the objective value to custom-calculated lower bounds. It also handily beat a standard Simulated Annealing baseline.
  • Real-World Impact: When tested on the year-long Lab dataset, the human-crafted manual reference schedule actually violated constraints by omitting 90 required resource assignments. The VLNS found a 100% valid schedule and minimized penalties to within 5.97% of absolute optimality.
Method Feasible Solutions Found Proved Optimality (out of 30)
MIP (CPLEX) 7 / 30 3
CP (Chuffed) 30 / 30 14
CP (CP Optimizer) 30 / 30 4
Simulated Annealing 28 / 30 0
Hybrid VLNS (Ours) 30 / 30 16

Limitations and Future Work

The primary limitation is that this study isolates the scheduling stage (TLSP-S). In a complete industrial workflow, smaller individual tasks must first be grouped into larger "jobs" before scheduling happens. This paper assumes that the task-to-job grouping is fixed and provided upfront.

For future work, the authors plan to develop unified exact and hybrid frameworks capable of optimizing both stages—grouping and scheduling—simultaneously.

Summary updated

BibTeX
@misc{geibinger2019investigating,
  author = {Tobias Geibinger and Florian Mischek and Nysret Musliu},
  title = {{Investigating Constraint Programming and Hybrid Methods for Real World Industrial Test Laboratory Scheduling}},
  year = {2019},
  eprint = {1911.04766},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/1911.04766},
}
Figure