Skip to main content
Log in

Strong local consistency algorithms for table constraints

  • Published:
Constraints Aims and scope Submit manuscript

Abstract

Table constraints are important in constraint programming as they are present in many real problems from areas such as configuration and databases. As a result, numerous specialized algorithms that achieve generalized arc consistency (GAC) on table constraints have been proposed. Since these algorithms achieve GAC, they operate on one constraint at a time. In this paper we propose new filtering algorithms for positive table constraints that achieve stronger local consistency properties than GAC by exploiting intersections between constraints. The first algorithm, called maxRPWC+, is a domain filtering algorithm that is based on the local consistency maxRPWC and extends the GAC algorithm of Lecoutre and Szymanek (2006). The second algorithm extends the state-of-the-art STR-based algorithms to stronger relation filtering consistencies, i.e., consistencies that can remove tuples from constraints’ relations. Experimental results from benchmark problems demonstrate that the proposed algorithms are quite competitive with standard GAC algorithms like STR2 in some classes of problems with intersecting table constraints, being orders of magnitude faster in some cases.

This is a preview of subscription content, log in via an institution to check access.

Access this article

Price excludes VAT (USA)
Tax calculation will be finalised during checkout.

Instant access to the full article PDF.

Similar content being viewed by others

References

  1. Balafoutis, T., Paparrizou, A., Stergiou, K., Walsh, T. (2010). Improving the performance of maxRPC. In Proceedings of CP’10 (pp. 69–83).

  2. Balafoutis, T., Paparrizou, A., Stergiou, K., Walsh, T. (2011). New algorithms for max restricted path consistency. Constraints, 16(4), 372–406.

    Article  MathSciNet  MATH  Google Scholar 

  3. Balafoutis, T, & Stergiou, K. (2008). Exploiting constraint weights for revision ordering in arc consistency algorithms. In ECAI-08 Workshop on Modeling and Solving Problems with Constraints.

  4. Bessiere, C., & Régin, J.C. (1996). Arc consistency for general constraint networks: preliminary results. In Proceedings of IJCAI’97 (pp. 398–404).

  5. Bessiere, C., & Régin, J.C. (1996). MAC and combined heuristics: two reasons to forsake FC (and CBJ?). In Proceedings of CP’96 (pp. 61–75). Cambridge.

  6. Bessiere, C., Régin, J.C., Yap, R., Zhang, Y. (2005). An optimal coarse-grained arc consistency algorithm. Artificial Intelligence, 165(2), 165–185.

    Article  MathSciNet  MATH  Google Scholar 

  7. Bessiere, C., Stergiou, K., Walsh, T. (2008). Domain filtering consistencies for non-binary constraints. Artificial Intelligence, 172(6–7), 800–822.

    Article  MathSciNet  MATH  Google Scholar 

  8. Boussemart, F., Hemery, F., Lecoutre, C., Sais, L. Boosting systematic search by weighting constraints. In: Proceedings of ECAI’04. Valencia.

  9. Cheng, K., & Yap, R. (2010). An MDD-based generalized arc consistency algorithm for positive and negative table constraints and some global constraints. Constraints, 15(2), 265–304.

    Article  MathSciNet  MATH  Google Scholar 

  10. Debruyne, R., & Bessiere, C. (2001). Domain filtering consistencies. JAIR, 14, 205–230.

    MathSciNet  MATH  Google Scholar 

  11. Gent, I.P., Jefferson, C., Miguel, I., Nightingale, P. (2007). Data structures for generalised arc consistency for extensional constraints. In Proceedings of AAAI’07 (pp. 191–197).

  12. Janssen, P., Jégou, P., Nouguier, B., Vilarem, M.C. (1989). A filtering process for general constraint satisfaction problems: Achieving pairwise consistency using an associated binary representation. In Proceedings of IEEE Workshop on Tools for Artificial Intelligence (pp. 420–427).

  13. Jégou, P. (1993). On the consistency of general constraint satisfaction problems. In Proceedings of AAAI’93 (pp. 114–119).

  14. Jégou, P., & Terrioux, C. (2010). A new filtering based on decomposition of constraint sub-networks. In Tools with Artificial Intelligence (ICTAI), 2010 22nd IEEE International Conference on, vol. 1 (pp. 263–270).

  15. Junker, U. (2007). Preference-based problem solving for constraint programming. In CSCLP (pp. 109–126).

  16. Karakashian, S., Woodward, R., Reeson, C., Choueiry, B., Bessiere, C. (2010). A first practical algorithm for high levels of relational consistency. In Proceedings of AAAI’10 (pp. 101–107).

  17. Katsirelos, G., & Walsh, T. (2007). A compression algorithm for large arity extensional constraints. In Proceedings of CP’07 (pp. 379–393). Springer.

  18. Lecoutre, C. (2011). STR2: optimized simple tabular reduction for table constraints. Constraints, 16(4), 341–371.

    Article  MathSciNet  MATH  Google Scholar 

  19. Lecoutre, C., Cardon, S., Vion, J. (2007). Conservative dual consistency. In Proceedings of AAAI’07 (pp. 237–242).

  20. Lecoutre, C., Cardon, S., Artif, J. Vion. Second-order consistencies (2011). Journal International Research, 40(1), 175–219.

    MATH  Google Scholar 

  21. Lecoutre, C., & Hemery, F. (2007). A study of residual supports in arc cosistency. In Proceedings of IJCAI’07 (pp. 125–130).

  22. Lecoutre, C., Likitvivatanavong, C., Yap, R.H.C. (2012). A path-optimal GAC algorithm for table constraints. In ECAI, (pp. 510–515).

  23. Lecoutre, C., & Szymanek, R. (2006). Generalized arc consistency for positive table constraints. In Proceedings of CP’06 (pp. 284–298).

  24. Lecoutre, Christophe, Paparrizou, Anastasia, Stergiou, Kostas (2013). Extending STR to a higher-order consistency. In Proceedings of AAAI’13 (pp. 576–582).

  25. Lhomme, O. (2004). Arc-consistency filtering algorithms for logical combinations of constraints. In Proceedings of CPAIOR’04 (pp. 209–224).

  26. Lhomme, O., & Régin, J.C. (2005). A fast arc consistency algorithm for n-ary constraints. In Proceedings of AAAI’05 (pp. 405–410).

  27. Likitvivatanavong, C., Xia, W., Yap, R.H.C. (2014). Higher-order consistencies through GAC on factor variables. In Proceedings of CP’14 (pp. 497–513).

  28. Mackworth, A. (1977). On reading sketch maps. In Proceedings of IJCAI’77 (pp. 598–606). Cambridge.

  29. Mairy, J.B., Hentenryck, P., Deville, Y. (2012). An optimal filtering algorithm for table constraints. In CP (pp. 496–511).

  30. Mohr, R., & Henderson, T. (1986). Arc and path consistency revisited. Artificial Intelligence, 28, 225–233.

    Article  Google Scholar 

  31. Paparrizou, A., & Stergiou, K. (2012). An efficient higher-order consistency algorithm for table constraints. In Proceedings of AAAI’12 (pp. 535–541).

  32. Stergiou, K. (2007). Strong inverse consistencies for non-binary CSPs. In Proceedings of ICTAI’07 (pp. 215–222).

  33. Stergiou, K., & Walsh, T. (2006). Inverse Consistencies for non-binary constraints. In Proceedings of ECAI’06 (pp. 153–157).

  34. Ullmann, J.R. (2007). Partition search for non-binary constraint satisfaction. Information Science, 177(18), 3639–3678.

    Article  MathSciNet  MATH  Google Scholar 

  35. van Beek, P., & Dechter, R. (1995). On the minimality and global consistency of row-convex constraint networks. JACM, 42(3), 543–561.

    Article  MathSciNet  MATH  Google Scholar 

  36. Vion, J., & Debruyne, R. (2009). Light algorithms for maintaining max-RPC during search. In Proceedings of SARA’09.

  37. Woodward, R.J., Karakashian, S., Choueiry, B.Y., Bessiere, C. (2011). Solving difficult CSPs with relational neighborhood inverse consistency. In Proceedings of AAAI’11 (pp. 112–119).

  38. Woodward, R.J., Karakashian, S., Choueiry, B.Y., Bessiere, C. (2012). Revisiting neighborhood inverse consistency on binary CSPs. In Proceedings of CP’12 (pp. 688–703).

Download references

Author information

Authors and Affiliations

Authors

Corresponding author

Correspondence to Anastasia Paparrizou.

Additional information

Some results included in this paper first appeared in [31].

This author (Anastasia Paparrizou) has been funded by the EU project ICON (FP7-284715).

Rights and permissions

Reprints and permissions

About this article

Check for updates. Verify currency and authenticity via CrossMark

Cite this article

Paparrizou, A., Stergiou, K. Strong local consistency algorithms for table constraints. Constraints 21, 163–197 (2016). https://doi.org/10.1007/s10601-014-9179-1

Download citation

  • Published:

  • Issue Date:

  • DOI: https://doi.org/10.1007/s10601-014-9179-1

Keywords

Navigation