Techniques that deal with analysis and planning of logistics and manufacturing over the short, intermediate, and long-term time periods. APS describes any computer program that uses advanced mathmatical algorithms or logic to perform optimization or simulation on finite capacity scheduling, sourcing, capital planning, resource planning, forecasting, demand management, and others. These techniques simultaneously consider a range of constraints and business rules to provide real-time planning and scheduling, decision support, available-to-promise, and capable-to-promise capabilities. APS often generates and evaluates multiple scenarios. Management then selects one scenario to use as the official plan. The five main components of an APS system are demand planning, production planning, production scheduling, distribution planning, and transportation planning.