A Constraint Programming Model For Serial Batch Scheduling With Minimum Batch Size

Jorge A. Huertas, Pascal Van Hentenryck · DOI

Abstract

Serial batching (s-batching) is a critical optimization problem in manufacturing sectors such as semiconductor fabrication, laser cutting, and 3D printing. While most research focuses on maximum batch capacities, real-world operations often impose a minimum batch size to justify the high costs of machine setup. This paper introduces the first Constraint Programming (CP) models designed to handle these constraints. By leveraging novel "virtual interval" techniques and global constraints, the proposed models demonstrate superior versatility and efficiency compared to traditional Mixed-Integer Programming (MIP) approaches, particularly in large-scale industrial contexts.

Introduction

In many manufacturing processes, efficiency is gained by grouping similar tasks into batches. In serial batching (s-batching), jobs within a batch are processed sequentially on the same machine to minimize repetitive setup times. While maximum batch sizes are typically dictated by physical machine capacity, minimum batch sizes are often required to ensure that a specific machine setup is economically viable. For instance, in ion implantation for microchips, the time-consuming process of changing gas sources necessitates a minimum number of wafers per batch to be cost-effective.

Problem Variations

The complexity of s-batching arises from various industrial requirements regarding job availability and batch initiation. The paper identifies several key variations that must be modeled:

  • Preemptive vs. Non-preemptive: Whether idle time is allowed between jobs within a single batch.
  • Flexible vs. Complete Initiation: Whether a batch can start as soon as the first job is ready (flexible) or must wait until all jobs in the batch are released (complete).
  • Item vs. Batch Availability: Whether a job is considered finished immediately after its individual processing (item) or only after the entire batch is completed (batch).
Four variations of serial batch scheduling: (a) Preemptive, (b) Non-preemptive, (a) Flexible, and (b) Complete initiation.

Proposed Constraint Programming Models

The authors propose three CP models to address these challenges, each offering a different trade-off between reasoning power and computational speed:

  1. Interval Assignment (IA) Model: This model uses presence literals of interval variables to count how many jobs are assigned to a specific batch, using standard inequality constraints to bound that sum.
  2. Global (G) Model: This sophisticated approach employs virtual interval variables that represent the full duration of a batch for every constituent job. This allows the model to use the powerful alwaysIn global constraint to ensure batch size bounds are maintained throughout execution.
  3. Hybrid (H) Model: This combines the structural benefits of virtual intervals with the simpler, faster sizing constraints of the IA model.

Additionally, Symmetry-Breaking (SB) constraints were introduced to prevent the solver from wasting time exploring identical schedules that differ only by batch identification numbers.

Experimental Results

The models were evaluated on a massive set of 1,170 synthetic instances ranging from 15 to 100 jobs on multiple parallel machines. The study focused on two primary industrial configurations: IPF (Item availability, Preemptive, Flexible initiation) and B·C (Batch availability, Complete initiation).

Performance at Scale

While MIP and CP performed comparably on small instances (15–25 jobs), CP models showed significant advantages as problem size increased. For 100-job instances, CP models consistently outperformed MIP. In the "B·C" variation—common in pharmaceutical and metal industries—CP models achieved solutions up to 24% better than the MIP baseline within a 10-minute computation window.

Versatility and Speed

A key advantage of the CP approach is its modeling flexibility. Adapting to different initiation or availability rules often requires only minor code adjustments, whereas MIP models frequently require extensive reformulations. Furthermore, CP models reached high-quality feasible solutions much faster, a critical requirement for dynamic environments like wafer fabrication where schedules must be updated frequently.

Conclusion and Future Work

This research demonstrates that Constraint Programming, particularly when utilizing virtual intervals, provides a robust and flexible framework for complex serial batch scheduling. While the Global model offers strong propagation, its overhead can be high; future work will focus on optimizing its performance for flexible initiation scenarios. The authors also plan to extend these models to include machine-specific job dedications and integrate them into broader factory-wide scheduling systems.

Summary updated

BibTeX
@inproceedings{huertas2025constraint,
  author = {Jorge A. Huertas and Pascal Van Hentenryck},
  title = {{A Constraint Programming Model For Serial Batch Scheduling With Minimum Batch Size}},
  booktitle = {Operations},
  year = {2025},
  doi = {10.1016/j.orp.2025.100352},
}
Figure