CONJURE: automatic generation of constraint models from problem specifications

Ozgur Akgun*, Alan M. Frisch, Ian P. Gent, Christopher Jefferson, Ian J. Miguel, Peter Nightingale

*Corresponding author for this work

Research output: Contribution to journalArticlepeer-review

1 Downloads (Pure)

Abstract

When solving a combinatorial problem, the formulation or model of 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 language Essence. Our approach is to incrementally refine the specification into a concrete model by applying a chosen refinement rule at 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 called Conjure. We compare the models produced by Conjure to constraint models from the literature that are known to be effective. Our empirical results confirm that Conjure can reproduce successfully the kernels of the constraint models of 42 benchmark problems found in the literature.
Original languageEnglish
Article number103751
Number of pages27
JournalArtificial Intelligence
Volume310
Early online date14 Jun 2022
DOIs
Publication statusPublished - 1 Sept 2022

Keywords

  • Constraint satisfaction problem
  • Constraint modelling
  • Constraint programming
  • Combinatorial optimization

Fingerprint

Dive into the research topics of 'CONJURE: automatic generation of constraint models from problem specifications'. Together they form a unique fingerprint.

Cite this