Skip to main content
Log in

On robust vs fast solving of qualitative constraints

  • Published:
Journal of Heuristics Aims and scope Submit manuscript

Abstract

Qualitative Constraint Networks (\(\textsf{QCN}\)s) comprise a Symbolic AI framework for representing and reasoning about spatial and temporal information via the use of natural disjunctive qualitative relations, e.g., a constraint can be of the form “Task A is scheduled after or during Task C”. In qualitative constraint-based reasoning, the state-of-the-art approach to tackle a given \(\textsf{QCN}\) consists in employing a backtracking algorithm, where the branching decisions during search and the refinement of the \(\textsf{QCN}\) are governed by certain heuristics that have been proposed in the literature. Although there has been plenty of research on how these heuristics compare and behave in terms of checking the satisfiability of a \(\textsf{QCN}\) fast, to the best of our knowledge there has not been any study on how they compare and behave in terms of obtaining a tractable refinement of a \(\textsf{QCN}\) that is also robust. In brief, a robust refinement of a \(\textsf{QCN}\) can be primarily seen as one that retains as many qualitative solutions as possible, e.g., the configuration “Task A is scheduled after or during Task C” is more robust than “Task A is scheduled after Task C”. Here, we make such a preliminary comparison and evaluation with respect to prominent heuristics in the literature, and reveal that there exists a trade-off between fast and robust solving of \(\textsf{QCN}\)s for datasets consisting of instances of Allen’s Interval Algebra and Region Connection Calculus. Furthermore, we investigate reasons for the existence of this trade-off and find that more aggressive heuristics are more efficient at the cost of producing less robust refinements.

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.

Fig. 1
Fig. 2
Fig. 3
Fig. 4
Algorithm 1
Fig. 5
Fig. 6
Fig. 7
Fig. 8

Similar content being viewed by others

Notes

  1. Note that the perturbation is applied to \(\mathcal {N}\), not to its refinement: \(\mathcal {N}^\prime \); thus, it is possible that the removed base relation \(b \in C(v,v^\prime )\) does not belong to \(C^\prime (v,v^\prime )\), viz., \(b \not \in C^\prime (v,v^\prime )\) (in this case, \(\mathcal {N}\) would not be affected by the perturbation).

  2. A sequence of perturbations describes a series of perturbations applied to \(\mathcal {N}\) one after the other.

References

  • Allen, J.F.: Maintaining knowledge about temporal intervals. Commun. ACM 26, 832–843 (1983)

    Article  MATH  Google Scholar 

  • Barber, F., Salido, M.A.: Robustness, stability, recoverability, and reliability in constraint satisfaction problems. Knowl. Inf. Syst. 44, 719–734 (2015)

    Article  Google Scholar 

  • Bofill, M., Busquets, D., Villaret, M.: A declarative approach to robust weighted Max-SAT. In: PPDP (2010)

  • Chmeiss, A., Condotta, J.-F.: Consistency of triangulated temporal qualitative constraint networks. In: ICTAI (2011)

  • Climent, L., Salido, M.A., Barber, F.: Robust solutions in changing constraint satisfaction problems. In: IEA/AIE (2010)

  • Climent, L.: Robustness and stability in dynamic constraint satisfaction problems. Constraints 20, 502–503 (2015)

    Article  Google Scholar 

  • Climent, L., Wallace, R.J., Salido, M.A., Barber, F.: Robustness and stability in constraint programming under dynamism and uncertainty. J. Artif. Intell. Res. 49, 49–78 (2014)

    Article  MathSciNet  MATH  Google Scholar 

  • Condotta, J., Mensi, A., Nouaouri, I., Sioutis, M., Said, L.B.: A practical approach for maximizing satisfiability in qualitative spatial and temporal constraint networks. In: ICTAI (2015)

  • Condotta, J., Nouaouri, I., Sioutis, M.: A SAT approach for maximizing satisfiability in qualitative spatial and temporal constraint networks. In: KR (2016)

  • de Leng, D., Heintz, F.: Qualitative spatio-temporal stream reasoning with unobservable intertemporal spatial relations using landmarks. In: AAAI (2016)

  • Dylla, F., Mossakowski, T., Schneider, T., Wolter, D.: Algebraic properties of qualitative spatio-temporal calculi. In: COSIT (2013)

  • Dylla, F., Wallgrün, J.O.: Qualitative spatial reasoning with conceptual neighborhoods for agent control. J. Intell. Robot. Syst. 48, 55–78 (2007)

    Article  Google Scholar 

  • Ginsberg, M.L., Parkes, A.J., Roy, A.: Supermodels and robustness. In: AAAI/IAAI (1998)

  • Hebrard, E.: Robust solutions for constraint satisfaction and optimisation under uncertainty. Ph.D. thesis, University of New South Wales, Sydney (2007)

  • Homem, T.P.D., Santos, P.E., Costa, A.H.R., da Costa Bianchi, R.A., de Mántaras, R.L.: Qualitative case-based reasoning and learning. Artif. Intell. 283, 103258 (2020)

    Article  MathSciNet  MATH  Google Scholar 

  • Huang, J.: Compactness and its implications for qualitative spatial and temporal reasoning. In: KR (2012)

  • Ligozat, G.: Qualitative Spatial and Temporal Reasoning. Wiley, ISTE (2013)

  • Nebel, B.: Solving hard qualitative temporal reasoning problems: evaluating the efficiency of using the ORD-horn class. Constraints 1, 175–190 (1997)

    Article  MathSciNet  MATH  Google Scholar 

  • Pesant, G., Quimper, C., Zanarini, A.: Counting-based search: branching heuristics for constraint satisfaction problems. J. Artif. Intell. Res. 43, 173–210 (2012)

    Article  MathSciNet  MATH  Google Scholar 

  • Randell, D.A., Cui, Z., Cohn, A.G.: A spatial logic based on regions and connection. KR 92, 165–176 (1992)

    Google Scholar 

  • Renz, J., Nebel, B.: Qualitative spatial reasoning using constraint calculi. In: Handbook of Spatial Logics, pp. 161–215 (2007)

  • Renz, J.: Qualitative spatial and temporal reasoning: efficient algorithms for everyone. In: IJCAI (2007)

  • Roy, A.: Fault tolerant Boolean satisfiability. J. Artif. Intell. Res. 25, 503–527 (2006)

    Article  MathSciNet  MATH  Google Scholar 

  • Sioutis, M., Long, Z., Janhunen, T.: On robustness in qualitative constraint networks. In: IJCAI (2020)

  • Sioutis, M., Wolter, D.: Dynamic branching in qualitative constraint networks via counting local models. In: TIME (2020)

  • Sioutis, M., Wolter, D.: Qualitative spatial and temporal reasoning: current status and future challenges. In: IJCAI (2021)

  • Tarjan, R.E., Yannakakis, M.: Simple linear-time algorithms to test chordality of graphs, test acyclicity of hypergraphs, and selectively reduce acyclic hypergraphs. SIAM J. Comput. 13, 566–579 (1984)

    Article  MathSciNet  MATH  Google Scholar 

  • van Beek, P., Manchak, D.W.: The design and experimental analysis of algorithms for temporal reasoning. J. Artif. Intell. Res. 4, 1–18 (1996)

    Article  MATH  Google Scholar 

  • Verfaillie, G., Jussien, N.: Constraint solving in uncertain and dynamic environments: a survey. Constraints 10, 253–281 (2005)

    Article  MathSciNet  MATH  Google Scholar 

  • Wehner, J., Sioutis, M., Wolter, D.: On robust vs fast solving of qualitative constraints. In: ICTAI, Short Paper (2021)

  • Wieland, A., Wallenburg, C.: Dealing with supply chain risks: linking risk management practices and strategies to performance. Int. J. Phys. Distrib. Log. Manag. 42, 887–905 (2012)

    Article  Google Scholar 

Download references

Author information

Authors and Affiliations

Authors

Corresponding author

Correspondence to Jan Wehner.

Additional information

Publisher's Note

Springer Nature remains neutral with regard to jurisdictional claims in published maps and institutional affiliations.

Rights and permissions

Springer Nature or its licensor (e.g. a society or other partner) holds exclusive rights to this article under a publishing agreement with the author(s) or other rightsholder(s); author self-archiving of the accepted manuscript version of this article is solely governed by the terms of such publishing agreement and applicable law.

Reprints and permissions

About this article

Check for updates. Verify currency and authenticity via CrossMark

Cite this article

Wehner, J., Sioutis, M. & Wolter, D. On robust vs fast solving of qualitative constraints. J Heuristics 29, 461–485 (2023). https://doi.org/10.1007/s10732-023-09517-8

Download citation

  • Received:

  • Revised:

  • Accepted:

  • Published:

  • Issue Date:

  • DOI: https://doi.org/10.1007/s10732-023-09517-8

Keywords

Navigation