Misplaced Pages

Newsvendor model

Article snapshot taken from Wikipedia with creative commons attribution-sharealike license. Give it a read and then ask your questions in the chat. We can research this topic together.
Mathematical model to assist inventory levels

The newsvendor (or newsboy or single-period or salvageable) model is a mathematical model in operations management and applied economics used to determine optimal inventory levels. It is (typically) characterized by fixed prices and uncertain demand for a perishable product. If the inventory level is q {\displaystyle q} , each unit of demand above q {\displaystyle q} is lost in potential sales. This model is also known as the newsvendor problem or newsboy problem by analogy with the situation faced by a newspaper vendor who must decide how many copies of the day's paper to stock in the face of uncertain demand and knowing that unsold copies will be worthless at the end of the day.

History

1902 sketch of a man buying from a newsboy in New York

The mathematical problem appears to date from 1888 where Edgeworth used the central limit theorem to determine the optimal cash reserves to satisfy random withdrawals from depositors. According to Chen, Cheng, Choi and Wang (2016), the term "newsboy" was first mentioned in an example of the Morse and Kimball (1951)'s book. The problem was termed the "Christmas tree problem" and "newsboy problem" in the 1960s and 1970s, and beginning in the 1980s gender neutral vocabulary like "newsperson" began to be used. According to Evan Porteus, Matt Sobel coined the term "newsvendor problem".

The modern formulation relates to a paper in Econometrica by Kenneth Arrow, T. Harris, and Jacob Marshak.

More recent research on the classic newsvendor problem in particular focused on behavioral aspects: when trying to solve the problem in messy real-world contexts, to what extent do decision makers systematically vary from the optimum? Experimental and empirical research has shown that decision makers tend to be biased towards ordering too close to the expected demand (pull-to-center effect) and too close to the realisation from the previous period (demand chasing).

Overview

This model can also be applied to period review systems.

Assumptions

  1. Products are separable
  2. Planning is done for a single period
  3. Demand is random
  4. Deliveries are made in advance of demand
  5. Costs of overage or underage are linear

Profit function and the critical fractile formula

The standard newsvendor profit function is

E [ profit ] = E [ p min ( q , D ) ] c q {\displaystyle \operatorname {E} =\operatorname {E} \left-cq}

where D {\displaystyle D} is a random variable with probability distribution F {\displaystyle F} representing demand, each unit is sold for price p {\displaystyle p} and purchased for price c {\displaystyle c} , q {\displaystyle q} is the number of units stocked, and E {\displaystyle E} is the expectation operator. The solution to the optimal stocking quantity of the newsvendor which maximizes expected profit is:

Critical fractile formula

q = F 1 ( p c p ) {\displaystyle q=F^{-1}\left({\frac {p-c}{p}}\right)}

where F 1 {\displaystyle F^{-1}} denotes the generalized inverse cumulative distribution function of D {\displaystyle D} .

Intuitively, this ratio, referred to as the critical fractile, balances the cost of being understocked (a lost sale worth ( p c ) {\displaystyle (p-c)} ) and the total costs of being either overstocked or understocked (where the cost of being overstocked is the inventory cost, or c {\displaystyle c} so total cost is simply p {\displaystyle p} ).

The critical fractile formula is known as Littlewood's rule in the yield management literature.

Numerical examples

In the following cases, assume that the retail price, p {\displaystyle p} , is $7 per unit and the purchase price is c {\displaystyle c} , is $5 per unit. This gives a critical fractile of p c p = 7 5 7 = 2 7 {\displaystyle {\frac {p-c}{p}}={\frac {7-5}{7}}={\frac {2}{7}}}

Uniform distribution

Let demand, D {\displaystyle D} , follow a uniform distribution (continuous) between D min = 50 {\displaystyle D_{\min }=50} and D max = 80 {\displaystyle D_{\max }=80} .

q opt = F 1 ( 7 5 7 ) = F 1 ( 0.285 ) = D min + ( D max D min ) 0.285 = 58.55 59. {\displaystyle q_{\text{opt}}=F^{-1}\left({\frac {7-5}{7}}\right)=F^{-1}\left(0.285\right)=D_{\min }+(D_{\max }-D_{\min })\cdot 0.285=58.55\approx 59.}

Therefore, the optimal inventory level is approximately 59 units.

Normal distribution

Let demand, D {\displaystyle D} , follow a normal distribution with a mean, μ {\displaystyle \mu } , demand of 50 and a standard deviation, σ {\displaystyle \sigma } , of 20.

q opt = F 1 ( 7 5 7 ) = μ + σ Z 1 ( 0.285 ) = 50 + 20 ( 0.56595 ) = 38.68 39. {\displaystyle q_{\text{opt}}=F^{-1}\left({\frac {7-5}{7}}\right)=\mu +\sigma Z^{-1}\left(0.285\right)=50+20(-0.56595)=38.68\approx 39.}

Therefore, optimal inventory level is approximately 39 units.

Lognormal distribution

Let demand, D {\displaystyle D} , follow a lognormal distribution with a mean demand of 50, μ {\displaystyle \mu } , and a standard deviation, σ {\displaystyle \sigma } , of 0.2.

q opt = F 1 ( 7 5 7 ) = μ e Z 1 ( 0.285 ) σ = 50 e ( 0.2 ( 0.56595 ) ) = 44.64 45. {\displaystyle q_{\text{opt}}=F^{-1}\left({\frac {7-5}{7}}\right)=\mu e^{Z^{-1}\left(0.285\right)\sigma }=50e^{\left(0.2\cdot (-0.56595)\right)}=44.64\approx 45.}

Therefore, optimal inventory level is approximately 45 units.

Extreme situation

If p < c {\displaystyle p<c} (i.e. the retail price is less than the purchase price), the numerator becomes negative. In this situation, the optimal purchase quantity is zero to avoid a marginal loss.

Derivation of optimal inventory level

Critical fractile formula

To derive the critical fractile formula, start with E [ min { q , D } ] {\displaystyle \operatorname {E} \left} and condition on the event D q {\displaystyle D\leq q} :

E [ min { q , D } ] = E [ min { q , D } D q ] P ( D q ) + E [ min { q , D } D > q ] P ( D > q ) = E [ D D q ] F ( q ) + E [ q D > q ] [ 1 F ( q ) ] = E [ D D q ] F ( q ) + q [ 1 F ( q ) ] {\displaystyle {\begin{aligned}&\operatorname {E} =\operatorname {E} \operatorname {P} (D\leq q)+\operatorname {E} \operatorname {P} (D>q)\\={}&\operatorname {E} F(q)+\operatorname {E} =\operatorname {E} F(q)+q\end{aligned}}}

Now use

E [ D D q ] = x q x f ( x ) d x x q f ( x ) d x , {\displaystyle \operatorname {E} ={\frac {\int \limits _{x\leq q}xf(x)\,dx}{\int \limits _{x\leq q}f(x)\,dx}},}

where f ( x ) = F ( x ) {\displaystyle f(x)=F'(x)} . The denominator of this expression is F ( q ) {\displaystyle F(q)} , so now we can write:

E [ min { q , D } ] = x q x f ( x ) d x + q [ 1 F ( q ) ] {\displaystyle \operatorname {E} =\int \limits _{x\leq q}xf(x)\,dx+q}

So E [ profit ] = p x q x f ( x ) d x + p q [ 1 F ( q ) ] c q {\displaystyle \operatorname {E} =p\int \limits _{x\leq q}xf(x)\,dx+pq-cq}

Take the derivative with respect to q {\displaystyle q} :

q E [ profit ] = p q f ( q ) + p q ( F ( q ) ) + p [ 1 F ( q ) ] c = p [ 1 F ( q ) ] c {\displaystyle {\frac {\partial }{\partial q}}\operatorname {E} =pqf(q)+pq(-F'(q))+p-c=p-c}

Now optimize: p [ 1 F ( q ) ] c = 0 1 F ( q ) = c p F ( q ) = p c p q = F 1 ( p c p ) {\displaystyle p\left-c=0\Rightarrow 1-F(q^{*})={\frac {c}{p}}\Rightarrow F(q^{*})={\frac {p-c}{p}}\Rightarrow q^{*}=F^{-1}\left({\frac {p-c}{p}}\right)}

Technically, we should also check for convexity: 2 q 2 E [ profit ] = p [ F ( q ) ] {\displaystyle {\frac {\partial ^{2}}{\partial q^{2}}}\operatorname {E} =p}

Since F {\displaystyle F} is monotone non-decreasing, this second derivative is always non-positive, so the critical point determined above is a global maximum.

Alternative formulation

The problem above is cast as one of maximizing profit, although it can be cast slightly differently, with the same result. If the demand D exceeds the provided quantity q, then an opportunity cost of ( D q ) ( p c ) {\displaystyle (D-q)(p-c)} represents lost revenue not realized because of a shortage of inventory. On the other hand, if D q {\displaystyle D\leq q} , then (because the items being sold are perishable), there is an overage cost of ( q D ) c {\displaystyle (q-D)c} . This problem can also be posed as one of minimizing the expectation of the sum of the opportunity cost and the overage cost, keeping in mind that only one of these is ever incurred for any particular realization of D {\displaystyle D} . The derivation of this is as follows:

E [ opportunity cost + overage cost ] = E [ overage cost D q ] P ( D q ) + E [ opportunity cost D > q ] P ( D > q ) = E [ ( q D ) c D q ] F ( q ) + E [ ( D q ) ( p c ) D > q ] [ 1 F ( q ) ] = c E [ q D D q ] F ( q ) + ( p c ) E [ D q D > q ] [ 1 F ( q ) ] = c q F ( q ) c x q x f ( x ) d x + ( p c ) [ x > q x f ( x ) d x q ( 1 F ( q ) ) ] = p x > q x f ( x ) d x p q ( 1 F ( q ) ) c x > q x f ( x ) d x + c q ( 1 F ( q ) ) + c q F ( q ) c x q x f ( x ) d x = p x > q x f ( x ) d x p q + p q F ( q ) + c q c E [ D ] {\displaystyle {\begin{aligned}&\operatorname {E} \\={}&\operatorname {E} \operatorname {P} (D\leq q)+\operatorname {E} \operatorname {P} (D>q)\\={}&\operatorname {E} F(q)+\operatorname {E} \\={}&c\operatorname {E} F(q)+(p-c)\operatorname {E} \\={}&cqF(q)-c\int \limits _{x\leq q}xf(x)\,dx+(p-c)\\={}&p\int \limits _{x>q}xf(x)\,dx-pq(1-F(q))-c\int \limits _{x>q}xf(x)\,dx+cq(1-F(q))+cqF(q)-c\int \limits _{x\leq q}xf(x)\,dx\\={}&p\int \limits _{x>q}xf(x)\,dx-pq+pqF(q)+cq-c\operatorname {E} \end{aligned}}}

The derivative of this expression, with respect to q {\displaystyle q} , is

q E [ opportunity cost + overage cost ] = p ( q f ( q ) ) p + p q F ( q ) + p F ( q ) + c = p F ( q ) + c p {\displaystyle {\frac {\partial }{\partial q}}\operatorname {E} =p(-qf(q))-p+pqF'(q)+pF(q)+c=pF(q)+c-p}

This is obviously the negative of the derivative arrived at above, and this is a minimization instead of a maximization formulation, so the critical point will be the same.

Cost based optimization of inventory level

Assume that the 'newsvendor' is in fact a small company that wants to produce goods to an uncertain market. In this more general situation the cost function of the newsvendor (company) can be formulated in the following manner:

K ( q ) = c f + c v ( q x ) + p E [ max ( D q , 0 ) ] + h E [ max ( q D , 0 ) ] {\displaystyle K(q)=c_{f}+c_{v}(q-x)+p\operatorname {E} \left+h\operatorname {E} \left}

where the individual parameters are the following:

  • c f {\displaystyle c_{f}} – fixed cost. This cost always exists when the production of a series is started.
  • c v {\displaystyle c_{v}} – variable cost. This cost type expresses the production cost of one product.
  • q {\displaystyle q} – the product quantity in the inventory. The decision of the inventory control policy concerns the product quantity in the inventory after the product decision. This parameter includes the initial inventory as well. If nothing is produced, then this quantity is equal to the initial quantity, i.e. concerning the existing inventory.
  • x {\displaystyle x} – initial inventory level. We assume that the supplier possesses x {\displaystyle x} products in the inventory at the beginning of the demand of the delivery period.
  • p {\displaystyle p} – penalty cost (or back order cost). If there is less raw material in the inventory than needed to satisfy the demands, this is the penalty cost of the unsatisfied orders.
  • D {\displaystyle D} – a random variable with cumulative distribution function F {\displaystyle F} representing uncertain customer demand.
  • E [ D ] {\displaystyle E} – expected value of random variable D {\displaystyle D} .
  • h {\displaystyle h} – inventory and stock holding cost.

In K ( q ) {\displaystyle K(q)} , the first order loss function E [ max ( D q , 0 ) ] {\displaystyle E\left} captures the expected shortage quantity; its complement, E [ max ( q D , 0 ) ] {\displaystyle E\left} , denotes the expected product quantity in stock at the end of the period.

On the basis of this cost function the determination of the optimal inventory level is a minimization problem. So in the long run the amount of cost-optimal end-product can be calculated on the basis of the following relation:

q opt = F 1 ( p c v p + h ) {\displaystyle q_{\text{opt}}=F^{-1}\left({\frac {p-c_{v}}{p+h}}\right)}

See also

References

  1. ^ William J. Stevenson, Operations Management. 10th edition, 2009; page 581
  2. F. Y. Edgeworth (1888). "The Mathematical Theory of Banking". Journal of the Royal Statistical Society. 51 (1): 113–127. JSTOR 2979084.
  3. Guillermo Gallego (18 Jan 2005). "IEOR 4000 Production Management Lecture 7" (PDF). Columbia University. Retrieved 30 May 2012.
  4. R. R. Chen; T.C.E. Cheng; T.M. Choi; Y. Wang (2016). "Novel Advances in Applications of the Newsvendor Model". Decision Sciences. 47: 8–10. doi:10.1111/deci.12215.
  5. Porteus, Evan L. (2008). "The Newsvendor Problem". In Chhajed, Dilip; Lowe, Timothy J. (eds.). Building Intuition - Insights From Basic Operations Management Models and Principals. Springer. p. 133.
  6. K. J. Arrow, T. Harris, Jacob Marshak, Optimal Inventory Policy, Econometrica 1951
  7. Schweitzer, M.E.; Cachon, G.P. (2000). "Decision bias in the newsvendor problem with a known demand distribution: Experimental evidence". Management Science. 43 (3): 404–420. doi:10.1287/mnsc.46.3.404.12070.
  8. Lau, N.; Bearden, J.N. (2013). "Newsvendor demand chasing revisited". Management Science. 59 (5): 1245–1249. doi:10.1287/mnsc.1120.1617.
  9. W.H. Hopp, M. L. Spearman, Factory Physics, Waveland Press 2008
  10. Axsäter, Sven (2015). Inventory Control (3rd ed.). Springer International Publishing. ISBN 978-3-319-15729-0.

Further reading

Category: