Automatic Caching via Constraint Projection
Session date: 29 January 2024
Session host: Imko Marijnissen
Summary:
In this session I will present the work done by Geoffrey Chu related to identifying identical subproblems. For example, consider the constraint alldiff(x1, x2, x3, x4)
, the partial assignment P1 = {x1 = 1, x2 = 2}
and, the partial assignment P2 = {x1 = 2, x1 = 1}
; both of these partial assignments will lead to the same sub-problem alldiff(1, 2, x3, x4)
. The works discussed during the session aim to automatically detect these types of symmetries and efficiently prune the search space.
Relevant papers
-
Automatically Exploiting Subproblem Equivalence in Constraint Programming
Geoffrey Chu, Maria Garcia Banda, and Peter J. Stuckey
In Integration of AI and OR Techniques in Constraint Programming for Combinatorial Optimization Problems, Feb 2010
Many search problems contain large amounts of redundancy in the search. In this paper we examine how to automatically exploit remaining subproblem equivalence, which arises when two different search paths lead to identical remaining subproblems, that is the problem left on the remaining unfixed variables. Subproblem equivalence is exploited by caching descriptions, or keys, that define the subproblems visited, and failing the search when the key for the current subproblem already exists in the cache. In this paper we show how to automatically and efficiently define keys for arbitrary constraint problems. We show how a constraint programming solver with this capability can solve search problems where subproblem equivalence arises orders of magnitude faster. The system is fully automatic, i.e., the subproblem equivalences are detected and exploited without any effort from the problem modeller.
-
Exploiting subproblem dominance in constraint programming
Geoffrey Chu, Maria Garcia Banda, and Peter J. Stuckey
Constraints, Nov 2011
-
Improving combinatorial optimization
Geoffrey Chu
Department of Computer Science and Software Engineering, The University of Melbourne, Nov 2011