Package SCperf. February 19, 2015



Similar documents
INVENTORY MANAGEMENT. 1. Raw Materials (including component parts) 2. Work-In-Process 3. Maintenance/Repair/Operating Supply (MRO) 4.

Equations for Inventory Management

Supply Chain Management: Inventory Management

Agenda. Managing Uncertainty in the Supply Chain. The Economic Order Quantity. Classic inventory theory

MATERIALS MANAGEMENT. Module 9 July 22, 2014

Agenda. Real System, Transactional IT, Analytic IT. What s the Supply Chain. Levels of Decision Making. Supply Chain Optimization

Supply Chain Analysis Tools

Agenda. TPPE37 Manufacturing Control. A typical production process. The Planning Hierarchy. Primary material flow

Forecasting methods applied to engineering management

On the effect of non-optimal forecasting methods on supply chain downstream demand

Statistical Inventory Management in Two-Echelon, Multiple-Retailer Supply Chain Systems

Inventory Management. Topics on inventory management

A Programme Implementation of Several Inventory Control Algorithms

Course Supply Chain Management: Inventory Management. Inventories cost money: Reasons for inventory. Types of inventory

One of the main supply chain deficiencies is the bullwhip effect: Demand fluctuations increase as one moves

Effect of Forecasting on Bullwhip Effect in Supply Chain Management

Inventory Management and Risk Pooling. Xiaohong Pang Automation Department Shanghai Jiaotong University

14 THE BULLWHIP EFFECT: MANAGERIAL INSIGHTS ON THE IMPACT OF FORECASTING AND INFORMATION ON VARIABILITY IN A SUPPLY CHAIN

Single item inventory control under periodic review and a minimum order quantity

Forecasting in supply chains

Information Sharing to Reduce Fluctuations in Supply Chains: A Dynamic Feedback Approach

In this paper we study how the time-series structure of the demand process affects the value of information

1 The EOQ and Extensions

Inventory Management: Fundamental Concepts & EOQ. Chris Caplice ESD.260/15.770/1.260 Logistics Systems Oct 2006

11. Time series and dynamic linear models

The Newsvendor Model

The life cycle of new products is becoming shorter and shorter in all markets. For electronic products, life

Case Study on Forecasting, Bull-Whip Effect in A Supply Chain

Information Sharing in Supply Chain Management: A Literature Review on Analytical Research

Materials Management and Inventory Systems

Demand

PRINCIPLES OF INVENTORY AND MATERIALS MANAGEMENT

Glossary of Inventory Management Terms

Analysis of Various Forecasting Approaches for Linear Supply Chains based on Different Demand Data Transformations

STRATEGIC CAPACITY PLANNING USING STOCK CONTROL MODEL

Operations Management

Inventory Management - A Teaching Note

Material Requirements Planning. Lecturer: Stanley B. Gershwin

A DISCRETE TIME MARKOV CHAIN MODEL IN SUPERMARKETS FOR A PERIODIC INVENTORY SYSTEM WITH ONE WAY SUBSTITUTION

Lot size/reorder level (Q,R) Models

INTEGRATED OPTIMIZATION OF SAFETY STOCK

International Journal of Advances in Science and Technology (IJAST)

Applying Actual Usage Inventory Management Best Practice in a Health Care Supply Chain

Inventory Management

INVENTORY Systems & Models

An important observation in supply chain management, known as the bullwhip effect,

INDUSTRIAL STATISTICS AND OPERATIONAL MANAGEMENT. 7. Inventory Management

Monte Carlo-based statistical methods (MASM11/FMS091)

Encyclopedia of Operations Management

THE IMPLEMENTATION OF VENDOR MANAGED INVENTORY IN THE SUPPLY CHAIN WITH SIMPLE PROBABILISTIC INVENTORY MODEL

D Lab: Supply Chains

Section A. Index. Section A. Planning, Budgeting and Forecasting Section A.2 Forecasting techniques Page 1 of 11. EduPristine CMA - Part I

SPARE PARTS INVENTORY SYSTEMS UNDER AN INCREASING FAILURE RATE DEMAND INTERVAL DISTRIBUTION

Companies often face nonstationary demand due to product life cycles and seasonality, and nonstationary

SIMULATION-BASED ANALYSIS OF THE BULLWHIP EFFECT UNDER DIFFERENT INFORMATION SHARING STRATEGIES

MGT Exam 2 Formulas. Item $ Usage % of $ usage Cumulative % of $ Cumulative % of no. of items Class

A Decision-Support System for New Product Sales Forecasting

Monte Carlo and Empirical Methods for Stochastic Inference (MASM11/FMS091)

A discrete time Markov chain model for a periodic inventory system with one-way substitution

Reorder level = demand during lead time = lead time x demand per unit time ROL = LT x D

Principles of Inventory and Materials Management

APPLICATION OF THE VARMA MODEL FOR SALES FORECAST: CASE OF URMIA GRAY CEMENT FACTORY

Chapter 1 Introduction to Inventory Replenishment Planning

Optimal replenishment for a periodic review inventory system with two supply modes

Lecture 2: ARMA(p,q) models (part 3)

The impact of lead time forecasting on the bullwhip effect

1 Material Requirements Planning (MRP)

Time Series Analysis

Inventory Theory 935

Chapter 9. Inventory management

Supply Chain Management: Risk pooling

Optimal Merchandise Testing with Limited Inventory

Comparing Neural Networks and ARMA Models in Artificial Stock Market

Coordinated Pricing and Inventory in A System with Minimum and Maximum Production Constraints

Universidad del Turabo MANA 705 DL Workshop Eight W8_8_3 Aggregate Planning, Material Requirement Planning, and Capacity Planning

Operations and Supply Chain Management Prof. G. Srinivasan Department of Management Studies Indian Institute of Technology Madras

How human behaviour amplifies the bullwhip effect a study based on the beer distribution game online

The information to share in upstream supply chains dedicated to mass production of customized products for allowing a decentralized management

GESTION DE LA PRODUCTION ET DES OPERATIONS PICASSO EXERCICE INTEGRE

Tema 4: Supply Chain Management

Time Series Analysis

Analysis of a Production/Inventory System with Multiple Retailers

Package PACVB. R topics documented: July 10, Type Package

Stochastic Inventory Control

Week TSX Index

Inventory management in distribution systems case of an Indian FMCG company

Package cpm. July 28, 2015

Transcription:

Package SCperf February 19, 2015 Type Package Title Supply Chain Perform Version 1.0 Date 2012-01-22 Author Marlene Silva Marchena Maintainer The package implements different inventory models, the bullwhip effect and other supply chain performance variables. License GPL (>= 2) Repository CRAN Date/Publication 2012-02-05 19:34:14 NeedsCompilation no R topics documented: bullwhip........................................... 2 EOQ............................................. 3 EPQ............................................. 4 Newsboy.......................................... 6 SCperf............................................ 7 SSL............................................. 9 WW............................................. 10 Index 12 1

2 bullwhip bullwhip bullwhip effect bullwhip computes the increase of the demand variability (the bullwhip effect) for a simple twostage supply chains consisting of a single retailer and a single manufacturer using three forcasting methods: Minimum Mean Square Error (MMSE), Simple Moving Average (SMA) and Exponential Smoothing (ES) when the demand follows a known stationary AR(1) stochastic process. bullwhip(method = c("mmse", "SMA", "ES"), phi, L, p, alpha) method phi L p Details character string specifing which method to use, a vector of autoregressive parameters, a positive lead-time, the order to be used in the SMA method, alpha smoothing factor to be used in the ES method (0 < alpha < 1). The bullwhip effect is commonly defined as the ratio between the unconditional variance of the order process to that of the demand process, V ar(o t )/V ar(d t ). If this ratio is equal to one there is no variance amplification, while a ratio greater than one means that the bullwhip effect is present. On the other hand, a ratio less than one means that the orders are smoothed if compared with the demand. The measure for the bullwhip effect. Chen, F.; Drezner, Z.; Ryan, J. ; Simchi-Levi, D. (2000a) Quantifying the bullwhip effect in a simple supply chain: the impact of forecasting, lead times and information. Management Science, v.46, n.3, p. 436-443. Silva Marchena, M. (2010) Measuring and implementing the bullwhip effect under a generalized demand process. http://arxiv.org/abs/1009.397 Zhang, X. (2004a) The impact of forecasting methods on the bullwhip effect, International Journal of Production Economics.l, v.88, n.1, p. 15-27.

EOQ 3 SCperf bullwhip("sma",0.9,2,4) bullwhip("es",0.9,2,0,0.6) bullwhip("mmse",0.9,2) EOQ Economic Order Quantity model Implements the classical Economic Order Quantity (EOQ) model and the EOQ model with planned shortages. EOQ(d, k, h, b = 0) d k h b demand per unit time, ordering or setup cost per unit time, holding cost per unit time, shortage penalty cost per unit time (default:0). Details The classical EOQ model assumes that the demand rate of units per time unit is constant and each new order is delivered in full when inventory reaches zero. Also a cost for each unit held in storage and a fixed cost for each order placed are considered. No shortages are allowed. The optimal (the economic order) quantity that minimize the total cost associated with the purchase, delivery and storage is defined by Q = 2Dk/h. When we relax the last assumption, that is, b 0 we have the EOQ model with backorders. EOQ() returns a list containing: Q T S TVC batch quantity, time between orders (cycle length or time), maximum backorder in units, total variable cost.

4 EPQ Hillier, F. and Lieberman, G. (2001). Introduction to operational research. New York: McGraw- Hill, 7th. EPQ, Newsboy, WW # Classical EOQ model# # Given demand d=8000 items per year; set up cost k=12000; and holding cost h=0.3 # per unit we find that the optimal solution is to order 25298 units every 3.2 # months with a total variable cost of $7589.5 EOQ(8000,12000,0.3) # EOQ model with planned shortages# # Consider now that backorders are allowed with a backorder cost b=1.1 per # unit and year. Then the optimal solution is to order 28540 units every 3.6 months. # The total variable cost is $6727.3 and the maximum shortage is 6116 units. EOQ(8000,12000,0.3,1.1) EPQ Economic Production Quantity model Implements the Economic Production Quantity (EPQ) model. EPQ(d, p, k, h) d p k h demand rate, production rate, ordering or setup cost, holding cost.

EPQ 5 Details The EPQ model is an extension of the EOQ model. It considers finite production rate, that is, the inventory is replenished gradually as the order is produced. Note that this assumption requires the production rate to be greater than the demand rate (p>d) otherwise there would be no inventory at any time. The model considers that a new order is produced incrementally when the inventory reaches zero. During the time that production run, t = Q/p, inventory is accumulated at rate p d, which implies that when the production of the batch Q is finished the inventory will reach its maximum level I. EPQ() returns a list containing: Q t T I TC batch quantity, time required to produce the batch quantity, time between orders (cycle length or time), maximum inventory level, total cost. Gallego, G. "IEOR4000: Production Management" (Lecture 2), Columbia (2004). EOQ, Newsboy, WW # Suppose k = 100, h = 5, d = 200, p = 1000. Then the production run at # t=0.1, the optimal order interval is T = 0.5, the optimal order quantity # is Q = 100, the maximum inventory level is I=80 and the total cost is # TC = $400. EPQ(d=200,p=1000,k=100,h=5)

6 Newsboy Newsboy The Newsboy model Implements the Newsboy (or Newsvendor) model with normal demand. Newsboy(m, sd, p, c, s = 0) m sd c p Details mean demand during the period, standard deviation of demand during the period, the unit cost, the selling price, where p > c s the salvage value (default:0), where s < c. When the demand is a random variable with normal distribution, the optimal stocking quantity that minimize the expected cost is: Q = m + z sd, where z = Φ 1 (p c)/(p s), the inverse of the standard normal cumulative density function of the demand, is known as the safety factor and Q m = z sd is known as the safety stock. Note that the Newsboy problem is not formulated in terms of per unit holding cost h = c s and penalty cost b = p c. Newsboy() returns a list containing: Q SS ExpC ExpP CV CR FR z optimal order-up-to quantity, safety stock, expected cost, expected profit, coefficient of variation of the demand, = (p c)/(p s) = b/(b + h), critical ratio, fill rate, the fraction of demand served from stock, safety factor.

SCperf 7 Porteus E. L. (2002) Foundations of Stochastic Inventory Theory, Stanford University Press, Stanford, CA. Gallego G. (1995) Newsvendor Problem. IEOR 4000 Production Management. Ayhan, Hayriye, Dai, Jim, Foley, R. D., Wu, Joe, (2004): Newsvendor Notes, ISyE 3232 Stochastic Manufacturing & Service Systems. EOQ, EPQ, WW # Example Porteus # # Suppose demand is normally distributed with mean 100 and standard # deviation 30. If p = 4 and c = 1, then CR = 0.75 and Q=120.23. # Note that the order is for 20.23 units (safety stock) more than the # mean. Note also that ExpC(120.23) = 38.13 and ExpP(120.23)=261.87, # with FR=0.96. Newsboy(100,30,4,1) # Example Gallego # # Suppose demand is normal with mean 100 and standard deviation 20. The # unit cost is 5, the holding and penalty cost are 1 and 3 # respectively. From the definition of the holding and penalty # cost we find that p=4, then CR = 0.75 and Q = 113.49. Notice that the # order is for 13.49 units (safety stock) more than the mean, # ExpC(113.49) = 25.42 and ExpP(113.49) = 274.58, with fill rate of # 97 percent. Newsboy(100,20,4,1) SCperf Supply Chain Perform SCperf computes the bullwhip effect for an stationary ARMA(p,q) demand process and other supply chain performance variables. SCperf(phi, theta, L = L, SL = 0.95)

8 SCperf phi theta L SL a vector of autoregressive parameters, a vector of moving-average parameters, positive lead-time, service level, (default:0.95). Details The bullwhip effect for a stationary ARMA(p,q) demand process is defined as: M = 1 + 2 L i=0 L j=i+1 ψ iψ j j=0 ψ2 j where the ψ-weights solve the equations ψ(z)θ(z) = φ(z). If M = 1 there is no variance amplification, while M > 1 means that the bullwhip effect is present. On the other hand, M < 1 means that the orders are smoothed if compared with the demand. Two safety stock measures are presented as well: SS = z L V ard and SSL = z V ardl. SSL is calculated using an estimate of the standard deviation of L periods forecast error V ardl = V ar(dt L ˆD t L ) where ˆD t L = L ˆd τ=1 t+τ is an estimate of the mean demand over L periods after period t. SCperf() returns a list containing: M VarD VarDL SS SSL z measure for the bullwhip effect, variance of the demand, variance of forecasting error for lead-time demand, safety stock calculated using the standard deviation of the demand, safety stock calculated using the standard deviation of L periods forecast error, safety factor. Zhang, X. (2004b). Evolution of ARMA demand in supply chains. Manufacturing and Services Operations Management, 6 (2), 195-198. Silva Marchena, M. (2010) Measuring and implementing the bullwhip effect under a generalized demand process. http://arxiv.org/abs/1009.3977 bullwhip

SSL 9 #ARMA(1,1) case, SCperf(phi=0.95,theta=0.1,L=2,SL=0.99) #AR(2) case, SCperf(phi=c(0.8,-0.2),theta=0,L=1) SSL Safety stock over lead-time SSL computes the safety stock level over lead-time for three forecasting methods: Minimum Mean Square Error (MMSE), Simple Moving Average (SMA) and Exponential Smoothing (ES) when the demand follows a stationary AR(1) stochastic process. SSL(method = c("mmse", "SMA", "ES"), phi, L, p, alpha, SL) method phi L p character string specifing which forecasting method to use, a vector of autoregressive parameters, a positive lead-time, the order to be used in the SMA method, alpha smoothing factor to be used in the ES method (0 < alpha < 1), SL Details service level. SSL is calculated using an estimate of the standard deviation of forecasting error for lead-time demand V ar(dt L ˆD t L ) where ˆD t L = L ˆd τ=1 t+τ is an estimate of the mean demand over L periods after period t. The safety stock level over the lead-time.

10 WW Silva Marchena, M. (2010) Measuring and implementing the bullwhip effect under a generalized demand process. http://arxiv.org/abs/1009.3977 Zhang, X. The impact of forecasting methods on the bullwhip effect, International Journal of Production Economics.l, v.88, n.1, p. 15-27, 2004a. SCperf SSL("MMSE",0.15,2,4,0.7,0.95) SSL("SMA",0.15,2,4,0.7,0.95) SSL("ES",0.15,2,4,0.7,0.95) WW The Wagner-Whitin algorithm WW implements the Wagner-Whitin algorithm. Considering time-varying demand, the algorithm builds production plans that minimizes the total setup and holding costs in a finite horizon of time, assuming zero starting inventory and no backlogging. WW(x,a,h,method=c("forward","backward")) ## Default S3 method: WW(x,a,h,method=c("forward","backward")) ## S3 method for class WW print(x,...) x a h method... not used. a numeric vector containing the demand per unit time, a numeric vector containing the set-up cost per unit time, a numeric vector containing the holding cost per unit time, character string specifing which algorithm to use, must be "forward" (default) or "backward".

WW 11 WW.default (the function that is called when using WW) returns a list containing: TVC Jt Solution total variable cost, last period of production for the forward algorithm or the (end of the) period when the inventory reaches a zero level for the backward algorithm, matrix of solutions. Axsäter, S. (2006) Inventory Control. Lund Sweden: Springer, Second Edition. Hillier, F. and Lieberman, G. (2001). Introduction to operational research. New York: McGraw- Hill, Seventh Edition. EOQ, EPQ, Newsboy # Example from Hiller, p.952, reproduced bellow: # An airplane manufacturer specializes in producing small airplanes. It has just received an # order from a major corporation for 10 customized executive jet airplanes for the use # of the corporation s upper management. The order calls for three of the airplanes to be # delivered (and paid for) during the upcoming winter months (period 1), two more to be delivered # during the spring (period 2), three more during the summer (period 3),and # the final two during the fall (period 4). Setting up the production facilities to meet # the corporation s specifications for these airplanes requires a setup cost of $2 million. # The manufacturer has the capacity to produce all 10 airplanes within a # couple of months, when the winter season will be under way. However, this would necessitate holding # seven of the airplanes in inventory, at a cost of $200,000 per airplane per period, until their # scheduled delivery times (...) # Management would like to determine theleast costly production schedule for filling this order. x <- c(3,2,3,2) a <- c(2,2,2,2) h <- c(0.2,0.2,0.2,0.2) WW(x,a,h,method="forward") # forward algorithm WW(x,a,h,method="backward") # backward algorithm # The optimal production schedules for the forward and backward case is to: # 1. Produce in period 1 for periods 1, 2, 3 and 4 (3 + 2 + 3 + 2 = 10 airplanes) # Total variable cost $4.8 million. # 2. Produce in period 1 for periods 1 and 2 (3 + 2 = 5 airplanes) and in period 3 # for periods 3 and 4 (3 + 2 = 5 airplanes) # Total variable cost $4.8 million.

Index Topic Beer Game bullwhip, 2 SCperf, 7 Topic Dynamic Lot sizing models WW, 10 Topic Inventory models Newsboy, 6 Topic Lot sizing models EOQ, 3 EPQ, 4 Topic Newsvendor model Newsboy, 6 Topic Supply Chain Management bullwhip, 2 SCperf, 7 bullwhip, 2, 8 EOQ, 3, 5, 7, 11 EPQ, 4, 4, 7, 11 Newsboy, 4, 5, 6, 11 print.ww (WW), 10 SCperf, 3, 7, 10 SSL, 9 WW, 4, 5, 7, 10 12