Minimizing the Weighted Number of Tardy Jobs: Data-Driven Heuristic for Single-Machine Scheduling

Nikolai Antonov, Premysl Sucha, Mikolás Janota, Jan Hula · DOI

Introduction

In industrial scheduling, the single-machine scheduling problem serves as a fundamental building block for complex systems. This paper addresses the $1|\tilde{d}_i|\sum w_i U_i$ problem, where a set of jobs must be scheduled on a single machine. Each job is characterized by a weight (importance), duration, soft due date, and a strict hard deadline. The objective is to minimize the total weighted number of jobs that miss their soft due dates, while ensuring that every job is completed before its hard deadline.

This problem is strongly NP-hard. Traditional exact algorithms, such as Branch-and-Bound, often struggle with scalability or specific data distributions. Conversely, pure Machine Learning (ML) approaches, while fast, frequently fail to respect the rigid "hard" constraints required for a feasible schedule.

The Hybrid Scheduling Architecture

To overcome these limitations, the authors propose a three-stage hybrid pipeline that integrates the predictive power of ML with the mathematical rigor of classical optimization.

The three-stage scheduling pipeline combining ML prediction, ILP refinement, and a feasibility framework.

The architecture consists of:

  1. Predictive Stage: An ML model provides initial classifications.
  2. Refinement Stage: Integer Linear Programming (ILP) resolves uncertainties.
  3. Feasibility Stage: A specialized framework ensures all hard constraints are met.

Stage 1: The ML Oracle

The first stage utilizes a Multilayer Perceptron (MLP) as a primary decision-maker. The MLP analyzes job features to predict the probability of a job being "early" (meeting its due date) or "tardy" (missing its due date but meeting its deadline).

Algorithm 1: The Classify function used to generate initial job labels based on ML oracle probabilities.

A critical component of this stage is feature engineering. The authors found that using raw job data was insufficient. Instead, they employed z-scores and log-relative differences to represent job parameters relative to the instance average. This contextual representation allows the model to better grasp the combinatorial nature of the scheduling task.

Stage 2 & 3: Refinement and Feasibility

ML models can be uncertain. The authors use a "Reduction Theorem" to identify jobs where the ML oracle's confidence is low. These uncertain cases are passed to a standard ILP solver (e.g., Gurobi). By solving a significantly reduced version of the original problem—often handling only 5% of the total jobs—the system achieves near-optimal results in seconds.

The final "safety net" is the Feasibility Framework. Based on Earliest Deadline First (EDF) logic, this algorithm iteratively adjusts the schedule. It guarantees that even if the ML or ILP stages produce a classification that would violate a hard deadline, the final output is a mathematically valid and executable schedule.

Experimental Results

The heuristic was evaluated against 15 distinct datasets, including realistic distributions (Normal, Log-normal, Exponential) and correlated data where job weights are tied to durations—scenarios that typically challenge exact solvers.

  • Accuracy: The method achieved an average optimality gap of less than 0.01%, significantly outperforming previous state-of-the-art heuristics which typically hover between 5% and 10%.
  • Optimality: The heuristic found the optimal solution in 80–100% of cases across various datasets.
  • Scalability: The system can process instances with 5,000 jobs in under 30 seconds, whereas exact methods often time out after 60 minutes on similar tasks.

Conclusion

This research demonstrates that a data-driven heuristic can bridge the gap between speed and feasibility in NP-hard scheduling problems. By using ML to "warm start" optimization and a feasibility framework to enforce hard constraints, the authors provide a robust tool for large-scale industrial applications. Future work will explore extending this framework to parallel machine scheduling and incorporating reinforcement learning for sequence refinement.

Summary updated

BibTeX
@article{antonov2026minimizing,
  author = {Nikolai Antonov and Premysl Sucha and Mikolás Janota and Jan Hula},
  title = {{Minimizing the Weighted Number of Tardy Jobs: Data-Driven Heuristic for Single-Machine Scheduling}},
  journal = {Comput. Oper. Res.},
  year = {2026},
  doi = {10.1016/j.cor.2025.107281},
}
Figure