Hostname: page-component-77f85d65b8-9nbrm Total loading time: 0 Render date: 2026-03-28T20:07:34.504Z Has data issue: false hasContentIssue false

Answer-Set Programming for Lexicographical Makespan Optimisation in Parallel Machine Scheduling

Published online by Cambridge University Press:  26 January 2023

THOMAS EITER
Affiliation:
Institute of Logic and Computation, Vienna University of Technology (TU Wien), Austria (e-mails: eiter@kr.tuwien.ac.at, tgeibing@dbai.tuwien.ac.at, musliu@dbai.tuwien.ac.at, oetsch@kr.tuwien.ac.at)
TOBIAS GEIBINGER
Affiliation:
Institute of Logic and Computation, Vienna University of Technology (TU Wien), Austria (e-mails: eiter@kr.tuwien.ac.at, tgeibing@dbai.tuwien.ac.at, musliu@dbai.tuwien.ac.at, oetsch@kr.tuwien.ac.at)
NYSRET MUSLIU
Affiliation:
Institute of Logic and Computation, Vienna University of Technology (TU Wien), Austria (e-mails: eiter@kr.tuwien.ac.at, tgeibing@dbai.tuwien.ac.at, musliu@dbai.tuwien.ac.at, oetsch@kr.tuwien.ac.at)
JOHANNES OETSCH
Affiliation:
Institute of Logic and Computation, Vienna University of Technology (TU Wien), Austria (e-mails: eiter@kr.tuwien.ac.at, tgeibing@dbai.tuwien.ac.at, musliu@dbai.tuwien.ac.at, oetsch@kr.tuwien.ac.at)
PETER SKOČOVSKÝ
Affiliation:
Bosch Center for AI, Robert Bosch Campus 1, D-71272 Renningen, Germany (e-mails: fixed-term.peter.skocovsky@de.bosch.com, daria.stepanova@de.bosch.com)
DARIA STEPANOVA
Affiliation:
Bosch Center for AI, Robert Bosch Campus 1, D-71272 Renningen, Germany (e-mails: fixed-term.peter.skocovsky@de.bosch.com, daria.stepanova@de.bosch.com)
Rights & Permissions [Opens in a new window]

Abstract

We deal with a challenging scheduling problem on parallel machines with sequence-dependent setup times and release dates from a real-world application of semiconductor work-shop production. There, jobs can only be processed by dedicated machines, thus few machines can determine the makespan almost regardless of how jobs are scheduled on the remaining ones. This causes problems when machines fail and jobs need to be rescheduled. Instead of optimising only the makespan, we put the individual machine spans in non-ascending order and lexicographically minimise the resulting tuples. This achieves that all machines complete as early as possible and increases the robustness of the schedule. We study the application of answer-set programming (ASP) to solve this problem. While ASP eases modelling, the combination of timing constraints and the considered objective function challenges current solving technology. The former issue is addressed by using an extension of ASP by difference logic. For the latter, we devise different algorithms that use multi-shot solving. To tackle industrial-sized instances, we study different approximations and heuristics. Our experimental results show that ASP is indeed a promising knowledge representation and reasoning (KRR) paradigm for this problem and is competitive with state-of-the-art constraint programming (CP) and Mixed-Integer Programming (MIP) solvers.

Information

Type
Original Article
Creative Commons
Creative Common License - CCCreative Common License - BY
This is an Open Access article, distributed under the terms of the Creative Commons Attribution licence (http://creativecommons.org/licenses/by/4.0/), which permits unrestricted re-use, distribution and reproduction, provided the original article is properly cited.
Copyright
© The Author(s), 2023. Published by Cambridge University Press
Figure 0

Fig. 1. Different schedules involving three machines and six jobs.

Figure 1

Fig. 2. ASP encoding with difference logic for lex-makespan optimisation.

Figure 2

Algorithm 1: Lex-Makespan Optimisation

Figure 3

Fig. 3. Plain ASP encoding for lexical makespan minimisation.

Figure 4

Algorithm 2: Lex-Makespan Approximation

Figure 5

Table 1: Machines (m) and jobs (n) per instance class

Figure 6

Fig. 4. Solver-independent MiniZinc model for lex-makespan optimisation.

Figure 7

Fig. 5. MIP model used for lex-makespan optimisation in cplex.

Figure 8

Fig. 6. Native cpoptimizer Model for lex-makespan optimisation.

Figure 9

Fig. 7. Different systems on all instances for makespan (top) and lex-makespan (bottom) with a time limit of 5 min.

Figure 10

Fig. 8. Different systems on all instances for makespan (top) and lex-makespan (bottom) with a time limit of 15 min.

Figure 11

Fig. 9. Machine completion rate over time for makespan and lex-makespan (5 min run time).

Figure 12

Fig. 10. Machine completion rate over time for makespan and lex-makespan (15 min run time).