Conjure: Automatic Generation of Constraint Models from Problem Specifications
Conjure: Automatic Generation of Constraint Models from Problem Specifications
复制标题
DOI:
10.1016/j.artint.2022.103751
复制
发表时间:
2022-06
期刊:
影响因子:
--
通讯作者:
Özgür Akgün;Alan M. Frisch;Ian P. Gent;Christopher Jefferson;Ian Miguel;Peter William Nightingale
中科院分区:
文献类型:
--
作者:
Özgür Akgün;Alan M. Frisch;Ian P. Gent;Christopher Jefferson;Ian Miguel;Peter William Nightingale
When solving a combinatorial problem, the formulation ormodelof the problem is critical to the efficiency of the solver. Automating the modelling process has long been of interest because of the expertise and time required to produce an effective model of a given problem. We describe a method to automatically produce constraint models from a problem specification written in the abstract constraint specification languageEssence. Our approach is to incrementallyrefinethe specification into a concrete model by applying a chosenrefinement ruleat each step. Any non-trivial specification may be refined in multiple ways, creating a space of models to choose from.The handling of symmetries is a particularly important aspect of automated modelling. Many combinatorial optimisation problems contain symmetry, which can lead to redundant search. If a partial assignment is shown to be invalid, we are wasting time if we ever consider a symmetric equivalent of it. A particularly important class of symmetries are those introduced by the constraint modelling process: modelling symmetries. We show how modelling symmetries may be broken automatically as they enter a model during refinement, obviating the need for an expensive symmetry detection step following model formulation.Our approach is implemented in a system calledConjure. We compare the models produced byConjureto constraint models from the literature that are known to be effective. Our empirical results confirm thatConjurecan reproduce successfully the kernels of the constraint models of 42 benchmark problems found in the literature.