Skip to main content

Pure python constraint satisfaction solver

Project description

Constraining Order

Constraining Order is a pure python library for solving certain classes of
constraint satisfaction problems. In particular it contains an implementation
of IntervalSets to represent fairly general sets of real numbers.

Constraining Order is neither very powerful, nor very performant, and for
serious problems there are more powerful solutions available:

* `gecode <>`_ (which looks amazing and superbly documented)
* `or-tools <>`_
* `choco <>`_

The creation of Constraining Order was sparked by the realisation that several
of my projects require the solution of relatively simple constraint
satisfaction problems, while it was unacceptable to pull in a heavy dependency
for that.

The code is hosted on `GitHub <>`_:

Documentation is hosted on `readthedocs <>`_:

The API of Constraining Order is slightly inspired by gecode (as I had looked
at its documentation before writing it) and the nomenclature I use roughly

Tsang, E. Foundations of Constraint Satisfaction Academic Press, 1996

which I used to read up a bit on the topic.

The name `constraining order` is a pun on restraining order, as it was not yet
taken for a software project and even makes a bit of sense as long as you don't
think about it.

Project details

Release history Release notifications | RSS feed

This version


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

constrainingorder-0.1.tar.gz (11.1 kB view hashes)

Uploaded source

Built Distribution

constrainingorder-0.1-py2.py3-none-any.whl (16.0 kB view hashes)

Uploaded py2 py3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page