Network traffic engineering: stochastic models and applications