Abstract
Variable ordering heuristics play a central role in solving constraint satisfaction problems. Combining two variable ordering heuristics may generate a more efficient heuristic, such as dom/deg. In this paper, we propose a novel method for combining two variable ordering heuristics, namely Pearson-Correlation-Coefficient-based Combination (PCCC). While the existing combination strategies always combine participant heuristics, PCCC checks whether the participant heuristics are suitable for combination before combining them in the context of search. If they should be combined, it combines the heuristic scores to select a variable to branch on, otherwise, it randomly selects one of the participant heuristics to make the decision. The experiments on various benchmark problems show that PCCC can be used to combine different pairs of heuristics, and it is more robust than the participant heuristics and some classical combining strategies.
Similar content being viewed by others
References
Amadini, R., Gabbrielli, M., Mauro, J.: A multicore tool for constraint solving. In: Proceedings of IJCAI’15, pp. 232–238 (2015)
Arbelaez, A., Hamadi, Y., Sebag, M.: Online heuristic selection in constraint programming (2009)
Bessiere, C., Régin, J.C.: Mac and combined heuristics: two reasons to forsake fc (and cbj?) on hard problems. In: Proceedings of CP’96, pp. 61–75. Springer (1996)
Boussemart, F., Hemery, F., Lecoutre, C., Sais, L.: Boosting systematic search by weighting constraints. In: Proceedings of ECAI’04, vol. 16, pp. 146–150 (2004)
Brélaz, D.: New methods to color the vertices of a graph. Commun. ACM 22(4), 251–256 (1979)
Burke, E.K., Gendreau, M., Hyde, M., Kendall, G., Ochoa, G., Özcan, E., Qu, R.: Hyper-heuristics: a survey of the state of the art. J. Oper. Res. Soc. 64(12), 1695–1724 (2013)
Collavizza, H., Delobel, F., Rueher, M.: A note on partial consistencies over continuous domains. In: Proceedings of CP’98, pp. 147–161. Springer (1998)
Dechter, R., Meiri, I.: Experimental evaluation of preprocessing algorithms for constraint satisfaction problems. Artif. Intell. 68(2), 211–241 (1994)
Gomes, C.P., Selman, B.: Algorithm portfolios. Artif. Intell. 126(1), 43–62 (2001)
Gomes, C.P., Selman, B., Kautz, H., et al.: Boosting combinatorial search through randomization. In: Proceedings of AAAI’98, pp. 431–437 (1998)
Haralick, R.M., Elliott, G.L.: Increasing tree search efficiency for constraint satisfaction problems. Artif. Intell. 14(3), 263–313 (1980)
Hebrard, E., Siala, M.: Explanation-based weighted degree. In: Proceedings of CPAIOR’17, pp. 167–175. Springer (2017)
Hwang, J., Mitchell, D.G.: 2-way vs. d-way branching for csp. In: Proceedings of CP’05, pp. 343–357. Springer (2005)
Lecoutre, C.: Str2: optimized simple tabular reduction for table constraints. Constraints 16(4), 341–371 (2011)
Lecoutre, C., Hemery, F.: A study of residual supports in arc consistency. In: Proceedings of IJCAI’07, pp. 125–130 (2007)
Li, H.: Narrowing support searching range in maintaining arc consistency for solving constraint satisfaction problems. IEEE Access 5(99), 5798–5803 (2017)
Li, H., Li, R., Yin, M.: Saving constraint checks in maintaining coarse-grained generalized arc consistency. Neural Comput. Appl. 31(S–1), 499–508 (2019)
Li, H., Liang, Y., Guo, J., Li, Z.: Making simple tabular reduction works on negative table constraints. In: Proceedings of AAAI’13, pp. 1629–1630. AAAI (2013)
Li, H., Liang, Y., Zhang, N., Guo, J., Xu, D., Li, Z.: Improving degree-based variable ordering heuristics for solving constraint satisfaction problems. J. Heuristics 22(2), 125–145 (2016)
Liberatore, P.: On the complexity of choosing the branching literal in dpll. Artif. Intell. 116, 315–326 (2000)
Loth, M., Sebag, M., Hamadi, Y., Schoenauer, M.: Bandit-based search for constraint programming. In: International Conference on Principles and Practice of Constraint Programming, pp. 464–480. Springer (2013)
Mackworth, A.K.: Consistency in networks of relations. Artif. Intell. 8(3), 99–118 (1977)
Michel, L., Van Hentenryck, P.: Activity-based search for black-box constraint programming solvers. In: Proceedings of CPAIOR’12, pp. 228–243. Springer (2012)
Ortiz-Bayliss, J.C., Terashima-Marín, H., Conant-Pablos, S.E.: A supervised learning approach to construct hyper-heuristics for constraint satisfaction. In: Proceedings of Mexican Conference on Pattern Recognition, pp. 284–293. Springer (2013)
Ortiz-Bayliss, J.C., Terashima-Marín, H., Conant-Pablos, S.E.: Combine and conquer: an evolutionary hyper-heuristic approach for solving constraint satisfaction problems. Artif. Intell. Rev. 46, 1–23 (2016)
Pesant, G., Quimper, C.G., Zanarini, A.: Counting-based search: branching heuristics for constraint satisfaction problems. J. Artif. Intell. Res. 43, 173–210 (2012)
Prud’homme, C., Fages, J.G., Lorca, X.: Choco Documentation. TASC, INRIA Rennes, LINA CNRS UMR 6241, COSLING S.A.S. (2016). http://www.choco-solver.org
Refalo, P.: Impact-based search strategies for constraint programming. In: Proceedings of CP’04, pp. 557–571. Springer (2004)
Sabar, N.R., Ayob, M., Qu, R., Kendall, G.: A graph coloring constructive hyper-heuristic for examination timetabling problems. Appl. Intell. 37(1), 1–11 (2012)
Sadeh, N.M., Fox, M.S.: Variable and value ordering heuristics for the job shop scheduling constraint satisfaction problem. Artif. Intell. 86(1), 1–41 (1995)
Schulte, C., Tack, G., Z., L.M.: Modeling and Programming with Gecode (2018). http://www.gecode.org/documentation.html
Streeter, M., Golovin, D., Smith, S.F.: Combining multiple heuristics online. In: Proceedings of AAAI’07, pp. 1197–1203 (2007)
Terashima-Marín, H., Ortiz-Bayliss, J.C., Ross, P., Valenzuela-Rendón, M.: Hyper-heuristics for the dynamic variable ordering in constraint satisfaction problems. In: Proceedings of the 10th annual conference on Genetic and evolutionary computation, pp. 571–578. ACM (2008)
Walsh, T.: Search in a small world. In: Proceedings of IJCAI’99, pp. 1172–1177 (1999)
Wang, R., Xia, W., Yap, R.H.C.: Correlation heuristics for constraint programming. In: Proceedings of ICTAI’17, pp. 1037–1041. IEEE (2017)
Xia, W., Yap, R.H.C.: Learning robust search strategies using a bandit-based approach. In: Proceedings of AAAI’18, pp. 431–437 (2018)
Funding
The funding was provided by National Natural Science Foundation of China (Grant Nos. 61802056, 61972063), Fundamental Research Funds for the Central Universities (CN) (Grant No. 2412018ZD017), Support of High-Quality Papers of Northeast Normal University.
Author information
Authors and Affiliations
Corresponding author
Additional information
Publisher's Note
Springer Nature remains neutral with regard to jurisdictional claims in published maps and institutional affiliations.
Rights and permissions
About this article
Cite this article
Li, H., Feng, G. & Yin, M. On combining variable ordering heuristics for constraint satisfaction problems. J Heuristics 26, 453–474 (2020). https://doi.org/10.1007/s10732-019-09434-9
Received:
Revised:
Accepted:
Published:
Issue Date:
DOI: https://doi.org/10.1007/s10732-019-09434-9