Martingale Inequalities and NP-Complete Problems

We use martingale inequalities in the probabilistic analysis of stochastic models of NP-complete problems. We give examples of applications to the Bin Packing and Traveling-Salesman Problems. In both cases, we obtain sharp bounds on Pr(|Un − EUn| > t), where Un is the objective function value of the problem with n random data.