A constraint on a system is a parameter that the system must obey in classical mechanics. A box falling down a slope, for example, must stay on the slope. There are two kinds of constraints: holonomic constraints and non-holonomic constraints.