Abstract
Constraint logic programming can be effectively applied to solve realistic job-shop scheduling problems. The role of constraints is twofold: they model dependencies among tasks and resources (e.g. temporal relations and capacities of machines), and they are used to actively prune the search space during the computation of a schedule. Since the job-shop problem is N P-complete, constraint solving techniques alone do not suffice to get efficient schedules for problems with 100 tasks and more. In order to judge a scheduling method, one has to investigate two questions: how good are the solutions in comparison to the optimum and how much search is required to find them.
This paper reports on achievable improvements with respect to both aspects by applying three methods: an efficient encoding of capacity constraints, a new semi-dynamic variable selection heuristics, and an algorithm for enforcing global capacity constraints. The first method transfers choices inside capacity constraints entirely to the disposition of the solver, which optimally supports the available pruning capabilities. The second method orders variables in a way that prefers tasks that must be placed early or that occur in predicted machine bottlenecks. The third method detects inconsistencies at a early stage of search and is also able to enforce partial orderings among tasks.
Tests on randomly generated problems have shown that the combination of these methods yields an average approximation of the optimum of 7–13% within a few hundred search steps, whereas without them the approximation had been worse than 120%.
This work has been financially supported by the Bundesminister für Forschung und Technologie under grant nr. 01 IW 206. The authors are responsible for their results.
Preview
Unable to display preview. Download preview PDF.
References
Abderrahmane Aggoun and Nicolas Beldiceanu. Extending CHIP in order to solve complex scheduling and placement problems. In Journées Franco phones sur la Programmation en Logique, Lille, pages 51–66, 1992.
Jacques Cohen. Constraint logic programming languages. Communications of the ACM, 33(7):52–68, 1990.
Alain Colmerauer. An introduction to Prolog III. Communications of the ACM, 33(7):70–90, 1990.
J. Carlier and E. Pinson. An algorithm for solving the job-shop problem. Management Science, 35(2):164–176, Feb. 1989.
Mehmet Dincbas, Pascal Van Hentenryck, H. Simonis, A. Aggoun, and T. Graf. Applications of CHIP to industrial and engineering problems. In First Int. Conference on Industrial and Engineering Applications of Artificial Intelligence and Expert Systems, Tullahoma, Tennessee, June 1988.
Owen V. Evans. Factory scheduling using finite domains. In Summer School in Logic Programming, Zürich, pages 45–53. LNAI, Springer, 1992.
T. Frühwirth, A. Herold, V. Küchenhoff, T. Le Provost, P. Lim, E. Monfroy, and M. Wallace. Constraint logic programming — an informal introduction. In Summer School in Logic Programming, Zürich, pages 3–35. LNAI, Springer, 1992.
Pascal Van Hentenryck and Yves Deville. The cardinality operator: A new logical connective for constraint logic programming. In Proceedings of the 8th Int. Conf. on Logic Programming, MIT Press, pages 745–769, 1991.
Pascal Van Hentenryck. Constraint Satisfaction in Logic Programming. MIT Press, 1989.
Joxan Jaffar, Spiro Michaylov, Peter Stuckey, and Roland Yap. The CLP(R) language and system. Technical report, Technical Report RC 16292 11/15/90, IBM Research Division, 1990.
Jean Jourdan and Thierry Sola. The versatility of handling disjunctions as constraints. In PLILP '93, LNCS 714, pages 60–74, 1993.
A.K. Mackworth and E.C. Freuder. The complexity of some polynomial network consistency algorithms for constraint satisfaction problems. Artificial Intelligence, 25(1):65–74, 1985.
J.F. Muth and G.L Thompson. Industrial Scheduling. Prentice-Hall, Englewood Cliffs, New Jersey, 1963.
Norman Sadeh. Look-Ahead Techniques for Micro-Opportunistic Job-Shop Scheduling. PhD thesis, Carnegie Mellon University, March 1991.
N. Sadeh and M. Fox. Variable and value ordering heuristics for hard constraint satisfaction problems: an application to job-shop scheduling. In 4th Int. Conference on Expert Systems in Production and Operations Management, Hilton Head, South Carolina, 1990.
N. Sadeh and M. Fox. Variable and value ordering heuristics for hard constraint satisfaction problems: an application to job-shop scheduling. Technical report, Carnegie Mellon University, Pittsburgh, Pennsylvania 15213, 1991.
Mark Wallace. Constraint in planning, scheduling and placement problems. Technical report, ECRC, Report CORE-93-6, June 1993. appeared in Constraint Programming, Springer, 1994.
Author information
Authors and Affiliations
Editor information
Rights and permissions
Copyright information
© 1994 Springer-Verlag Berlin Heidelberg
About this paper
Cite this paper
Breitinger, S., Lock, H.C.R. (1994). Improving search for job-shop scheduling with CLP(FD). In: Hermenegildo, M., Penjam, J. (eds) Programming Language Implementation and Logic Programming. PLILP 1994. Lecture Notes in Computer Science, vol 844. Springer, Berlin, Heidelberg. https://doi.org/10.1007/3-540-58402-1_20
Download citation
DOI: https://doi.org/10.1007/3-540-58402-1_20
Published:
Publisher Name: Springer, Berlin, Heidelberg
Print ISBN: 978-3-540-58402-5
Online ISBN: 978-3-540-48695-4
eBook Packages: Springer Book Archive