Expressions (cpmpy.expressions)

All forms of expression objects that allow you to specify constraints and objectives over variables

List of submodules

variables

Integer and Boolean decision variables (as n-dimensional numpy objects)

core

The Expression superclass and common subclasses Expression and Operator.

globalconstraints

Global constraints conveniently express non-primitive constraints.

python_builtins

Overwrites a number of python built-ins, so that they work over variables as expected.

utils

Internal utilities for expression handling.