A constraint is some form of condtion that a solution or state has to satisfy. Often it is expressed in the form of set of equalities and inequalities between variables, for example cost < 100, cost = number × price. Sometimes the constraints are the main aspect of interest, for examplem "can I pack all of the grocery in the fridge?", in which case it is called a constraint satisfaction problem. In other occasions we may have an optmisation problem such as "how can I feed four people as cheaply as possible?", but where there are additional constraints such as "Jill is vegan" and "Tom has a nut allergy".
Defined on page 189
Used on pages 56, 57, 58, 79, 80, 189, 190, 191, 192, 193, 194, 196, 263, 265, 272, 303, 365, 424, 430