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

This version
History Node


Download files

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

Filename, size & hash SHA256 hash help File type Python version Upload date
constrainingorder-0.1-py2.py3-none-any.whl (16.0 kB) Copy SHA256 hash SHA256 Wheel py2.py3
constrainingorder-0.1.tar.gz (11.1 kB) Copy SHA256 hash SHA256 Source None

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN SignalFx SignalFx Supporter DigiCert DigiCert EV certificate StatusPage StatusPage Status page