Abstract
Scheduling is one of the most successful application areas of constraint programming mainly thanks to special global constraints designed to model resource restrictions. Among these global constraints, edge-finding and not-first/not-last are the most popular filtering algorithms for unary resources. In this paper we introduce new O(n log n) versions of these two filtering algorithms and one more O(n log n) filtering algorithm called detectable precedences. These algorithms use a special data structures Θ-tree and Θ-Λ-tree. These data structures are especially designed for “what-if” reasoning about a set of activities so we also propose to use them for handling so called optional activities, i.e. activities which may or may not appear on the resource. In particular, we propose new O(n log n) variants of filtering algorithms which are able to handle optional activities: overload checking, detectable precedences and not-first/not-last.
Similar content being viewed by others
Explore related subjects
Discover the latest articles, news and stories from top researchers in related subjects.References
OR Library. http://mscmga.ms.ic.ac.uk/info.html.
Baptiste, P., & Le Pape, C. (1996). Edge-finding constraint propagation algorithms for disjunctive and cumulative scheduling. In Proceedings of the Fifteenth Workshop of the U.K. Planning Special Interest Group.
Baptiste, P., Le Pape, C., & Nuijten, W. (2001). Constraint-Based Scheduling: Applying Constraint Programming to Scheduling Problems. Kluwer Academic Publishers.
Barták, R. (2003). Dynamic global constraints in backtracking based environments. Ann. Oper. Res. 118: 101–118.
Beck, J.C., & Fox, M.S. (1999). Scheduling alternative activities. In AAAI/IAAI, pages 680–687.
Carlier, J., & Pinson, E. (1994). Adjustments of head and tails for the job-shop problem. Eur. J. Oper. Res. 78: 146–161.
Caseau, Y., & Laburthe, F. (1994). Improved CLP scheduling with task intervals'. In van Hentenryck, P., ed., Proceedings of the 11th International Conference on Logic Programming, ICLP'94.
Colombani, Y. (1996). CP: an efficient and partical approach to solving the job-shop problem. In Principles and Practice of Constraint Programming—CP 1996.
Focacci, F., Laborie, P., & Nuijten, W. (2000). Solving scheduling problems with setup times and alternative resources. In Proceedings of the 5th International Conference on Artificial Intelligence Planning and Scheduling.
Garey, M.R., & Johnson, D.S. (1979). Computers and Intractability: A Guide to the Theory of NP-Completeness. San Francisco: W.H. Freeman and Company.
Martin, P., & Shmoys, D.B. (1996). A new approach to computing optimal schedules for the job-shop scheduling problem. In Cunningham, W.H., McCormick, S.T. and Queyranne, M., eds., Proceedings of the 5th International Conference on Integer Programming and Combinatorial Optimization, IPCO'96, pages 389–403. Vancouver, British Columbia, Canada.
Torres, P., & Lopez, P. (1999). On not-first/not-last conditions in disjunctive scheduling. European Journal of Operational Research.
Vilm, P. (2002). Batch processing with sequence dependent setup times: new results. In Proceedings of the 4th Workshop of Constraint Programming for Decision and Control, CPDC'02, Gliwice, Poland.
Vilm, P. (2004). O(n log n) filtering algorithms for unary resource constraint. In Proceedings of CP-AI-OR 2004.
Wolf, A. (2003). Pruning while sweeping over task intervals. In Principles and Practice of Constraint Programming—CP 2003. Kinsale, Ireland.
Wolf, A., & Schlenker, H. (2004). Realizing the alternative resources constraint problem with single resource constraints. In To Appear in Proceedings of the INAP Workshop 2004.
Author information
Authors and Affiliations
Corresponding author
Rights and permissions
About this article
Cite this article
Vilím, P., Barták, R. & Čepek, O. Extension of O(n log n) Filtering Algorithms for the Unary Resource Constraint to Optional Activities. Constraints 10, 403–425 (2005). https://doi.org/10.1007/s10601-005-2814-0
Issue Date:
DOI: https://doi.org/10.1007/s10601-005-2814-0