Five different mathematical programming models and two constraint programming models are developed for the no-wait flow shop problem with due date constraints. Unique characteristics of the problem are discussed and a number of propositions are proved; an exact algorithm that takes advantage of such characteristics is designed. Solving and implementation complications are discussed in detail. Thorough computational experiments are performed to compare the performance of the developed models and algorithms.