Stav dette: Implementing the theory of constraints