Constraint Programming
From
PRACTICAL CONSTRAINTS: A TUTORIAL ON MODELLING WITH CONSTRAINTS (ROMAN BART�K)

Adam, Boris, and Cecil want to sit in a seesaw in such a way that the seesaw balances. There are five seats placed uniformly on both arms of the seesaw and one seat is placed in the middle (see Figure 6). Moreover, the boys want to have some space around them. In particular, they require that they are at least three seats apart. The weights of Adam, Boris, and Cecil are respectively 36, 32, and 16 kg.
Hosted by www.Geocities.ws

1