Practical Algorithms for Managing Uncertain Demand in Complex Systems