Conjure

Automated constraint modeling tool using Essence language to generate solver-ready models for combinatorial problems.

What it is

Conjure is an automated constraint modeling tool that translates high-level Essence specifications into solver-ready models for constraint programming and combinatorial optimization. It provides a high level of abstraction with arbitrarily nested types, automatic symmetry breaking, and automated channelling between multiple model representations. The tool supports multiple target solvers through Savile Row and offers extensibility for custom problem classes.

The Essence input language includes declarations for decision variables, parameters, enumerated types, and a rich set of domains such as boolean, integer, set, multiset, function, sequence, relation, and partition. Expressions cover arithmetic, logical, set, sequence, and matrix operators, along with comprehensions and type conversions. This expressive language allows users to model complex problems concisely.

The site serves constraint programming researchers, operations research practitioners, and developers working on scheduling, planning, and combinatorial search problems. It also supports education through detailed tutorials on number puzzles, knapsack, nurse rostering, graph connectivity, Futoshiki, balanced incomplete block designs, and algebraic structures like semigroups and groups.

Getting started is facilitated by container-based installation using Docker, Podman, or Apptainer, with additional options for binary download and compilation from source. The documentation includes a command line interface reference, verification steps, and guidance for using commercial solvers such as CPLEX within containers. Tutorials are also available as interactive Conjure notebooks for hands-on learning.

Notable aspects include comprehensive documentation hosted on Read the Docs, versioned releases, and a focus on automated modeling that reduces manual effort in constraint formulation. The project is open source with active development, making it a valuable resource for both novices and experts in automated reasoning and constraint solving.

This description was generated by AI from the site's public content and may contain errors.

What you can do there

  • Read comprehensive documentation and language reference
  • Follow tutorials for classic constraint problems
  • Install via Docker, Podman, or Apptainer containers
  • Generate solver-ready models from Essence specifications
  • Explore interactive Conjure notebooks for hands-on practice

Who it's for

Constraint programming researchers, operations research practitioners, developers solving combinatorial optimization problems.

Frequently asked questions about conjure.readthedocs.io

›What is Conjure used for?

Conjure automates the creation of constraint models from high-level Essence specifications, targeting combinatorial optimization and constraint programming problems.

›Which solvers does Conjure support?

Conjure generates models for multiple target solvers via Savile Row, including CPLEX when used with Docker or Podman containers.

›How can I install Conjure?

Installation is recommended via containers using Docker, Podman, or Apptainer; binary downloads and compilation from source are also available.

›What is the Essence language?

Essence is Conjure's input language for declaring variables, parameters, types, constraints, and objectives with a rich set of domains and operators.

›Are there tutorials for learning Conjure?

Yes, the documentation includes step-by-step tutorials for problems like knapsack, nurse rostering, Futoshiki, and graph generation, plus interactive notebook versions.

›Is Conjure open source?

Conjure is an open source project with copyright held by Conjure developers from 2009 to 2023.

›Can I run Conjure without containers?

You can download a binary or compile from source, but containers are recommended for consistent dependencies and solver integration.