Modeling and Solving Scheduling in Overloaded Situations with Weighted Partial MaxSAT

In real-time systems, where tasks have timing requirements, once the workload exceeds the system’s capacity, missed due dates may cause system overload. In this situation, finding an optimal scheduling that minimizes the cumulative values of late tasks is critical in both theory and practice. Recently, formalizing scheduling problems as a class of generalized problems, such as Satisfiability Modulo Theory (SMT) and Maximum Satisfiability (MaxSAT), has been receiving immense concern. Enlightened by the high efficiency of these satisfiability-based methods, this paper formulates the single-machine scheduling problem of minimizing the total weight of late tasks as a Weighted Partial Maximum (WPM) Satisfiability problem. In the formulation, scheduling features are encoded as rigidly enforced hard clauses and the scheduling objective is treated as a set of weighted soft ones. Then an off-the-shelf WPM solver is exploited to maximize the total weight of the satisfied soft clauses, provided that all the hard clauses are satisfied. Experimental results demonstrate that, compared with the existing satisfiability-based methods, the proposed method significantly improves the efficiency of identifying the optimal schedule. Moreover, we make minor changes to apply the WPM formulation to parallel-machine scheduling, showing that the proposed method is sufficiently flexible and well scalable.

[1]  Nina F. Thornhill,et al.  Optimization of a network of compressors in parallel: Real Time Optimization (RTO) of compressors in chemical plants – An industrial case study , 2015 .

[2]  Tomasz Baranski Task scheduling with restricted preemptions , 2011, 2011 Federated Conference on Computer Science and Information Systems (FedCSIS).

[3]  Bertrand M. T. Lin,et al.  Preemptive parallel-machine scheduling problem of maximizing the number of on-time jobs , 2018, J. Sched..

[4]  E.L. Lawler,et al.  Optimization and Approximation in Deterministic Sequencing and Scheduling: a Survey , 1977 .

[5]  John M. Hsu,et al.  Inside the Virtual Robotics Challenge: Simulating Real-Time Robotic Disaster Response , 2015, IEEE Transactions on Automation Science and Engineering.

[6]  Jinjiang Yuan,et al.  Single-machine online scheduling of jobs with non-delayed processing constraint , 2021, Journal of Combinatorial Optimization.

[7]  Yuto Lim,et al.  SMT-Based Scheduling for Overloaded Real-Time Systems , 2017, IEICE Trans. Inf. Syst..

[8]  Krzysztof Pienkosz,et al.  Task scheduling with restricted preemptions on two parallel processors , 2015, 2015 20th International Conference on Methods and Models in Automation and Robotics (MMAR).

[9]  Nikolaj Bjørner,et al.  Z3: An Efficient SMT Solver , 2008, TACAS.

[10]  Xiaowen Wu,et al.  Satisfiability Modulo Graph Theory for Task Mapping and Scheduling on Multiprocessor Systems , 2011, IEEE Transactions on Parallel and Distributed Systems.

[11]  Avinash Malik,et al.  Satisfiability modulo theory (SMT) formulation for optimal scheduling of task graphs with communication delay , 2018, Comput. Oper. Res..

[12]  Yang Yang,et al.  Task Scheduling for Multiunit Parallel Test Using Mixed-Integer Linear Programming , 2021 .

[13]  Sanjoy K. Baruah,et al.  On-line scheduling to maximize task completions , 1994, 1994 Proceedings Real-Time Systems Symposium.

[14]  Chen-Yang Cheng,et al.  Comparative Analysis of Mixed Integer Programming Formulations for Single-Machine and Parallel-Machine Scheduling Problems , 2019, IEEE Access.

[15]  Dacheng Liu,et al.  Unified Multi-Objective Genetic Algorithm for Energy Efficient Job Shop Scheduling , 2021, IEEE Access.

[16]  J. M. Moore,et al.  A Functional Equation and its Application to Resource Allocation and Sequencing Problems , 1969 .

[17]  David S. Johnson,et al.  Scheduling Tasks with Nonuniform Deadlines on Two Processors , 1976, J. ACM.

[18]  Malgorzata Sterna,et al.  A survey of scheduling problems with late work criteria , 2011 .

[19]  Cyril Briand,et al.  A MIP approach for the minimization of the number of late jobs in single machine scheduling , 2009 .

[20]  Giorgio C. Buttazzo,et al.  Integrating multimedia applications in hard real-time systems , 1998, Proceedings 19th IEEE Real-Time Systems Symposium (Cat. No.98CB36279).

[21]  Hui Zhang,et al.  Maximum Satisfiability Formulation for Optimal Scheduling in Overloaded Real-Time Systems , 2019, PRICAI.

[22]  Oliver Sinnen,et al.  ILP Formulations for Optimal Task Scheduling with Communication Delays on Parallel Systems , 2015, IEEE Transactions on Parallel and Distributed Systems.

[23]  Miyuki Koshimura,et al.  Solving Open Job-Shop Scheduling Problems by SAT Encoding , 2010, IEICE Trans. Inf. Syst..

[24]  Jan Karel Lenstra,et al.  Complexity results for scheduling chains on a single machine : (preprint) , 1980 .

[25]  Yuto Lim,et al.  Scheduling overload for real-time systems using SMT solver , 2016, 2016 17th IEEE/ACIS International Conference on Software Engineering, Artificial Intelligence, Networking and Parallel/Distributed Computing (SNPD).

[26]  Jiping Tao,et al.  A Competitive Online Algorithm for Minimizing Total Weighted Completion Time on Uniform Machines , 2020, Mathematical Problems in Engineering.

[27]  E. L. Lawler,et al.  A dynamic programming algorithm for preemptive scheduling of a single machine to minimize the number of late jobs , 1991 .

[28]  Qi Tang,et al.  An efficient multi-functional duplication-based scheduling framework for multiprocessor systems , 2020, The Journal of Supercomputing.

[29]  Roberto Tadei,et al.  Reinforcement Learning Algorithms for Online Single-Machine Scheduling , 2020, 2020 15th Conference on Computer Science and Information Systems (FedCSIS).

[30]  Ju-Yong Lee,et al.  A Genetic Algorithm for a Two-Machine Flowshop with a Limited Waiting Time Constraint and Sequence-Dependent Setup Times , 2020, Mathematical Problems in Engineering.

[31]  James M. Crawford,et al.  Experimental Results on the Application of Satisfiability Algorithms to Scheduling Problems , 1994, AAAI.

[32]  Miyuki Koshimura,et al.  QMaxSAT: A Partial Max-SAT Solver , 2012, J. Satisf. Boolean Model. Comput..

[33]  Yousef Ajami Alotaibi,et al.  Mathematical Modeling and Discrete Firefly Algorithm to Optimize Scheduling Problem with Release Date, Sequence-Dependent Setup Time, and Periodic Maintenance , 2019 .

[34]  Boris Goldengorin,et al.  A Hyper-Heuristic for the Preemptive Single Machine Scheduling Problem to Minimize the Total Weighted Tardiness , 2022, Comput. Ind. Eng..

[35]  J. M. Moore An n Job, One Machine Sequencing Algorithm for Minimizing the Number of Late Jobs , 1968 .

[36]  Muminu O. Adamu,et al.  A survey of single machine scheduling to minimize weighted number of tardy jobs , 2013 .

[37]  Sanjoy K. Baruah,et al.  Scheduling for Overload in Real-Time Systems , 1997, IEEE Trans. Computers.

[38]  Rui Zhang,et al.  Energy-Saving Production Scheduling in a Single-Machine Manufacturing System by Improved Particle Swarm Optimization , 2020 .