https://optimization.cbe.cornell.edu/api.php?action=feedcontributions&user=Da523&feedformat=atomCornell University Computational Optimization Open Textbook - Optimization Wiki - User contributions [en]2021-10-19T20:29:19ZUser contributionsMediaWiki 1.35.0https://optimization.cbe.cornell.edu/index.php?title=Newsvendor_problem&diff=2537Newsvendor problem2020-12-13T22:18:24Z<p>Da523: /* Description */</p>
<hr />
<div>Authors: Morgan McCormick (mm3237), Brittany Yesner (by286), Daniel Aronson (da523), John Bednarek (jwb389)<br />
<br />
== Introduction ==<br />
The mathematical application for the Newsvendor Problem dates back to 1888, when Francis Ysidro Edgeworth used the central limit theorem to find the optimal cash reserves needed to satisfy various withdrawals from depositors.<ref>F. Y. Edgeworth (1888). "The Mathematical Theory of Banking". Journal of the Royal Statistical Society.</ref> The namesake for the problem comes from Morse and Kimball's book from 1951, where they used the term “newsboy” to describe this specific problem.<ref>R. R. Chen; T.C.E. Cheng; T.M. Choi; Y. Wang (2016). "Novel Advances in Applications of the Newsvendor Model". Decision Sciences.</ref> Also referred to as “newsboy problem”, it is named 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. <br />
<br />
T.M Whitin in 1955 was the first to consider not only the cost minimization portion of the problem, but also the profit maximization.<ref>Whitin, T. M. “Inventory Control and Price Theory.” Management Science, vol. 2, no. 1, 1955, pp. 61–68.</ref> To do so he formulated a newsvendor model with price effects, where the selling price and stocking quantity are set simultaneously. He then adapted his model to include a probability distribution for demand as a function of the selling price, therefore making the price of the product a decision variable rather than an assigned variable. <br />
<br />
In general, this model can be used in any application with a perishable good and unknown, randomized demand. <br />
<br />
== Description ==<br />
The newsvendor model is a model used to determine the optimal inventory levels in operations management and applied economic applications. The assumptions for this problem usually include fixed prices and uncertain demands for perishable products with limited availability. In this model, any unit of demand, ''R'', over the current inventory level, x, is identified as a lost sale.<br />
<br />
== Formulation ==<br />
<br />
=== Overview ===<br />
To formulate a standard newsvendor problem to determine profit, the function is <math display="inline">E[profit] = E[s * min(x, R)] - wx </math> . In the formulation, ''s'' represents the price a unit is sold for, x represents the number of units in inventory that the vendor ordered, ''R'' is a random variable representing a probability distribution for the demand a given day, and ''w'' is the wholesale cost for the vendor to purchase materials. The goal is to optimize the profit to be a maximum. This is achieved by maximizing the amount of inventory on hand to be able to sell while also minimizing the amount of unsold inventory that is void or considered perishable at the end of the day. The salvage cost for any unsold inventory at the end of the sales period is represented by ''v.''<br />
<br />
The balance of being understocked and losing potential sales with the potential loss from being overstocked can be represented by the critical fractal. This is illustrated by the formula <math>n=F^{-1} ({s-w \over s})</math> where ''F<sup>-1</sup>'' is the inverse of the cumulative distribution function of R.<ref name=":0">"Newsvendor Model.” Wikipedia, Wikimedia Foundation, 12 Nov. 2020, en.wikipedia.org/wiki/Newsvendor_model.<br />
</ref><sup>,</sup><ref>Yan Qin, Ruoxuan Wang, Asoo J. Vakharia, Yuwen Chen, Michelle M.H. Seref, “The newsvendor problem: Review and directions for future research.” European Journal of Operational Research. Volume 213, Issue 2. 2011. Pages 361-374, ISSN 0377-2217. <nowiki>https://doi.org/10.1016/j.ejor.2010.11.024</nowiki>.</ref><br />
<br />
=== Detailed Solution Steps ===<br />
In formulation, a newsboy could purchase a given number of newspapers x one morning for a given wholesale bulk cost, ''b''. The selling price and salvage values are known constants ''s'' and ''v,'' respectively, and the demand is given by ''D''. The overage cost is c<sup>o</sup> for the cost of ordering one unit too many. The cost of ordering one unit too few is the cost of underage, c<sup>u</sup>. <br />
<br />
The activity variables are ''D(ω)'', the realization of random demand which is assumed to be continuous; ''p(ω)'', the probability of outcome ω; ''S<sup>0</sup>(ω)'', the overage which is equal to <math>[x - D(\omega)]^+</math>; and the underage ''S<sup>u</sup>(ω)'' which is equal to <math>[D(\omega)-x]^+</math>. <br />
<br />
To calculate the '''wholesale cost per newspaper''', ''w,'' the formula <math display="inline">w = b/x</math> is used. <br />
<br />
The '''marginal profit''', or net profit for the newsvendor per unit, ''m'' is found by the formula <math>m = s - w</math>. <br />
<br />
The '''marginal loss''', or loss for each unsold unit, ''l'' is found using the formula <math>l = w - v</math>. <br />
<br />
The '''profit''', ''P'', is calculated by <math>P = m * x</math> if every item in inventory was sold. <br />
<br />
The '''expected profit''', ''E'', taking into account a given demand probability is calculated by <math>E = x * D * m</math> if every item in inventory is sold. <br />
<br />
The objective function can be represented as <math>F(x,\omega)=c^o S^o (x,\omega) + c^u S^u (x,\omega)<br />
= c^o [x-d(\omega)]^+ + c^u [D(\omega)-x]^+ </math><math>F(x) = E[F(x,\omega)]<br />
= \int (c^o [x-D(\omega)]^+ + c^u [D(\omega) - x]^+ ) p(\omega)d\omega</math><br />
<br />
where the goal is to solve for <math>min_x F(x) = E [F(x,\omega)]</math>.<br />
<br />
== Numerical Example ==<br />
A historically relevant example of the newsvendor problem would be the working conditions that led to the newsboy strike of 1899 and subsequent labor movements. <br />
<br />
In the late nineteenth century and before the Spanish-American War, newsboys in New York City could purchase 100 newspapers for 50 cents and sell the newspapers for 8 cents each. If a paper didn’t sell, assume the publisher would buy the newspaper back at 60% cost.<ref name=":1">“Labor History Lesson: The ‘Newsies’ Strike.” Labor History Lesson: The "Newsies" Strike | AFT Connecticut, 25 May 2016, aftct.org/story/labor-history-lesson-newsies-strike</ref> <br />
<br />
Assume the newspaper sales in New York City followed the following demand schedule: <br />
{| class="wikitable"<br />
|+Table 1: Demand in New York City<br />
!Quantity<br />
!Probability of Demand<br />
|-<br />
|700<br />
|0.450<br />
|-<br />
|800<br />
|0.300<br />
|-<br />
|900<br />
|0.220<br />
|-<br />
|1000<br />
|0.015<br />
|-<br />
|1100<br />
|0.010<br />
|}<br />
The '''wholesale cost price''' of the newspapers is $0.05/100 = $0.005 per newspaper.<br />
<br />
The '''selling price''' of the newspapers is $0.08 per newspaper. <br />
<br />
The '''salvage value''' of the newspapers is $0.003 per newspaper.<br />
<br />
The '''marginal profit''' is equal to $0.08 - $0.005 = $0.075 per additional newspaper sold.<br />
<br />
The '''marginal loss''' is equal to $0.005 - $0.003 = $0.002 per unsold newspaper. <br />
<br />
<math>c^o = $0.005 - $0.005(0.6) = $0.002</math> per unit<br />
<br />
<math>c^u = $0.08</math> per unit<br />
<br />
x = purchase quantity, where <math>x \in (700, 800, 900, 1000, 1100)</math><br />
<br />
<math>S^o (\omega) = x - \omega, x > \omega</math><br />
<br />
<math>S^u (\omega) = \omega - x, x< \omega</math><br />
<br />
<math>S^o (\omega) = S^u (\omega), x = \omega</math><br />
<br />
<math>F(x,\omega) = loss function</math><br />
<br />
<math>F(x,\omega) = c^o S^o (x, \omega) + c^u s^u (x, \omega)</math><br />
<br />
<math>F(x,\omega) = c^o (x-\omega) + c^u (\omega -x)</math><br />
<br />
<math>F(x,\omega) = (0.002)(x- \omega)+(0.008)(\omega-x)</math><br />
<br />
<math>R(x,\omega) = 0.08\omega - F(x,\omega)</math><br />
{| class="wikitable"<br />
|+Table 2: Tabulated Values<br />
!Purchase Quantity (x)<br />
!Units Sold (ω)<br />
!Loss (F(x, ω))<br />
!Probability of Demand (p(ω))<br />
!Profit (ω*0.08)<br />
!Revenue (Profit - Loss)<br />
!Probability of Revenue<br />
!Expected Revenue for Purchasing x<br />
|-<br />
| rowspan="5" |700<br />
|700<br />
|0<br />
|0.45<br />
|56<br />
|56<br />
|25.2<br />
| rowspan="5" |55.75<br />
|-<br />
|800<br />
|8<br />
|0.3<br />
|64<br />
|56<br />
|16.8<br />
|-<br />
|900<br />
|16<br />
|0.22<br />
|72<br />
|56<br />
|12.32<br />
|-<br />
|1000<br />
|24<br />
|0.015<br />
|80<br />
|56<br />
|0.84<br />
|-<br />
|1100<br />
|32<br />
|0.01<br />
|88<br />
|56<br />
|0.56<br />
|-<br />
| rowspan="5" |800<br />
|700<br />
|0.2<br />
|0.45<br />
|56<br />
|55.8<br />
|25.11<br />
| rowspan="5" |59.99<br />
|-<br />
|800<br />
|0<br />
|0.3<br />
|64<br />
|64<br />
|19.2<br />
|-<br />
|900<br />
|8<br />
|0.22<br />
|72<br />
|64<br />
|14.08<br />
|-<br />
|1000<br />
|16<br />
|0.015<br />
|80<br />
|64<br />
|0.96<br />
|-<br />
|1100<br />
|24<br />
|0.01<br />
|88<br />
|64<br />
|0.64<br />
|-<br />
| rowspan="5" |900<br />
|700<br />
|0.4<br />
|0.45<br />
|56<br />
|55.6<br />
|25.02<br />
| rowspan="5" |61.08<br />
|-<br />
|800<br />
|0.2<br />
|0.3<br />
|64<br />
|63.8<br />
|19.14<br />
|-<br />
|900<br />
|0<br />
|0.22<br />
|72<br />
|72<br />
|15.84<br />
|-<br />
|1000<br />
|8<br />
|0.015<br />
|80<br />
|72<br />
|1.08<br />
|-<br />
|1100<br />
|88<br />
|0.01<br />
|88<br />
|0<br />
|0<br />
|-<br />
| rowspan="5" |1000<br />
|700<br />
|0.6<br />
|0.45<br />
|56<br />
|55.4<br />
|24.93<br />
| rowspan="5" |61.806<br />
|-<br />
|800<br />
|0.4<br />
|0.3<br />
|64<br />
|63.6<br />
|19.08<br />
|-<br />
|900<br />
|0.2<br />
|0.22<br />
|72<br />
|71.8<br />
|15.796<br />
|-<br />
|1000<br />
|0<br />
|0.015<br />
|80<br />
|80<br />
|1.2<br />
|-<br />
|1100<br />
|8<br />
|0.01<br />
|88<br />
|80<br />
|0.8<br />
|-<br />
| rowspan="5" |1100<br />
|700<br />
|0.8<br />
|0.45<br />
|56<br />
|55.2<br />
|24.84<br />
| rowspan="5" |61.689<br />
|-<br />
|800<br />
|0.6<br />
|0.3<br />
|64<br />
|63.4<br />
|19.02<br />
|-<br />
|900<br />
|0.4<br />
|0.22<br />
|72<br />
|71.6<br />
|15.752<br />
|-<br />
|1000<br />
|0.2<br />
|0.015<br />
|80<br />
|79.8<br />
|1.197<br />
|-<br />
|1100<br />
|0<br />
|0.01<br />
|88<br />
|88<br />
|0.88<br />
|}<br />
<br />
<br />
The optimal quantity to purchase is 1000 in order to minimize expected loss and maximize expected revenue.<br />
<br />
== Demand Distributions ==<br />
The newsvendor problem can be solved in a multitude of ways, the one uncertainty that always exists is the number of papers needed to fully maximize the profits. This can be estimated by a variety of ways, but most commonly there are uniform, normal, or lognormal distributions.<br />
<br />
The uniform distribution estimates the probability to not change. In the case of the newspaper problem this would mean that the demand for a newspaper does not vary from day to day. This method can pose issues as the demand for papers can vary from days like Monday or Tuesday, to days like Sunday which historically have been a day recognized as always having a paper.<br />
<br />
The next method that can be used to estimate the demand of a paper can be done using a normal distribution. A normal distribution’s standard deviation positions the curve of demand into being one that can be used to calculate the different demands that a salesman may face amongst the sales of a paper. The normal distribution allocates variations that enable the salesman to take calculated risks based on historical norms. These norms provide contextual evidence to accurately account for the demand that the seller may see.<br />
<br />
While a normal distribution can provide estimates into how many papers may need to be printed for the public, it does not take into account the potential profit or loss that the vendor may undertake. The logarithmic method will show at what point the salesman optimal peak profit will be. The logarithmic curve is exponential and will ultimately determine the peak profit and printing point at which the business will succeed. This solution is meant to determine the optimal solution from a profit standpoint.<ref name=":0" /><sup>,</sup><ref name=":1" /><br />
<br />
== Applications ==<br />
Beyond the namesake example of the newsvendor problem, the newsvendor problem model can be applied to a variety of other discrete optimization problems. <br />
<br />
=== Personal Investments ===<br />
The tradeoff between tying funds up in a stock against holding cash reserves follows the model of the newsvendor problem because putting too much much of your money in stocks could lead to having to sell stocks undervalue to free up cash while holding too much money in cash reserves could lead to money that is under performing. The newsvendor problem can help investors find an optimal way to allow to minimize risk while allowing enough opportunity to create a large gain. With recent trends of market volatility, evaluating cash positions and market exposure has become ever more important.<ref name=":2">Birge, J. and Louveaux, F. Introduction to Stochastic Programming, Springer, 2011.</ref><br />
<br />
=== Emergency Resources ===<br />
The amount of emergency resources to hold on hand follows the model of the newsvendor problem because holding too many emergency resources could mean throwing out expensive inventory if there is no emergency while not having enough emergency resources could be disastrous in times of peril. Emergencies have the same tendencies of an unknown market. The first responders need to have an optimal amount of supplies to maximize their effectiveness. If items that are perishable are sent in mass quantities, it can bog down the supply lines and lead to important resources becoming expired.<ref name=":2" /> <br />
<br />
=== Manufacturing ===<br />
The amount of units of a good to manufacture follows the model of the newsvendor problem because while overproduction would always meet demand, production costs increase and storage costs are introduced for the excess inventory. Manufacturers and wholesalers often rely on razor thin margins. By understanding how to limit excess storage and money that it puts out into the materials themselves the business can find an accurate way of maximizing the cash flow. Inventory is often one of the crippling factors of a business. Businesses often can save money on individual units by producing larger quantities, but this ultimately eats away at having a strong cash position to address the concerns of a changing market.<ref name=":2" /> <br />
<br />
=== Real Estate ===<br />
House pricing in the real estate market follows the model of the newsvendor problem because if a house is priced too high it will take too long to sell and if the house is priced too low it will sell quickly but at lower price. The housing market is another investment that is exposed to a great deal of volatility and increased market risk. Markets can change rapidly from economic situations to also the crime, schools, and locations around a property. By understanding the market norms, one can find the adequate pricing method for a home using the newsvendor problem algorithm. Appraisers and realtors must focus on understanding these metrics to ensure the estimates are accurate.<ref name=":2" /><br />
<br />
== Conclusion ==<br />
The newsboy formulation is used to optimize the amount of profit while minimizing the excess materials that hold no value after a given period of time. This formulation can be adapted for different probabilities and distributions of expected sales. Additionally, nuances such as accounting for a salvage price for unsold perishable goods can also be added to the problem for added complexity to mimic a given situation. From that, the salesperson can determine how many of a perishable product should be purchased for resale at a given time in order to optimize their profits.<br />
<br />
== References ==</div>Da523https://optimization.cbe.cornell.edu/index.php?title=Newsvendor_problem&diff=2468Newsvendor problem2020-12-13T13:16:54Z<p>Da523: /* Introduction */</p>
<hr />
<div>Authors: Morgan McCormick (mm3237), Brittany Yesner (by286), Daniel Aronson (da523), John Bednarek (jwb389)<br />
<br />
== Introduction ==<br />
The mathematical application for the Newsvendor Problem dates back to 1888, when Francis Ysidro Edgeworth used the central limit theorem to find the optimal cash reserves needed to satisfy various withdrawals from depositors.<sup>1</sup> The namesake for the problem comes from Morse and Kimball's book from 1951, where they used the term “newsboy” to describe this specific problem.<sup>2</sup> Also referred to as “newsboy problem”, it is named 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. <br />
<br />
T.M Whitin in 1955 was the first to consider not only the cost minimization portion of the problem, but also the profit maximization.<sup>3</sup> To do so he formulated a newsvendor model with price effects, where the selling price and stocking quantity are set simultaneously. He then adapted his model to include a probability distribution for demand as a function of the selling price, therefore making the price of the product a decision variable rather than an assigned variable. <br />
<br />
In general, this model can be used in any application with a perishable good and unknown, randomized demand. <br />
<br />
== Description ==<br />
The newsvendor model is a model used to determine the optimal inventory levels in operations management and applied economic applications. The assumptions for this problem usually include fixed prices and uncertain demands for perishable products with limited availability. In this model, any unit of demand, ''R'', over the current inventory level, ''n'', is identified as a lost sale.<br />
<br />
== Formulation ==<br />
<br />
=== Overview ===<br />
To formulate a standard newsvendor problem to determine profit, the function is <math display="inline">E[profit] = E[s * min(x, R)] - wx </math> . In the formulation, ''s'' represents the price a unit is sold for, x represents the number of units in inventory that the vendor ordered, ''R'' is a random variable representing a probability distribution for the demand a given day, and ''w'' is the wholesale cost for the vendor to purchase materials. The goal is to optimize the profit to be a maximum. This is achieved by maximizing the amount of inventory on hand to be able to sell while also minimizing the amount of unsold inventory that is void or considered perishable at the end of the day. The salvage cost for any unsold inventory at the end of the sales period is represented by ''v.''<br />
<br />
The balance of being understocked and losing potential sales with the potential loss from being overstocked can be represented by the critical fractile. This is illustrated by the formula <math>n=F^{-1} ({s-w \over s})</math> where ''F<sup>-1</sup>'' is the inverse of the cumulative distribution function of R.<sup>4,5</sup><br />
<br />
=== Detailed Solution Steps ===<br />
In formulation, a newsboy could purchase a given number of newspapers x one morning for a given wholesale bulk cost, ''b''. The selling price and salvage values are known constants ''s'' and ''v,'' respectively, and the demand is given by ''D''. The overage cost is c<sup>o</sup> for the cost of ordering one unit too many. The cost of ordering one unit too few is the cost of underage, c<sup>u</sup>. <br />
<br />
The activity variables are ''D(ω)'', the realization of random demand which is assumed to be continuous; ''p(ω)'', the probability of outcome ω; ''S<sup>0</sup>(ω)'', the overage which is equal to <math>[x - D(\omega)]^+</math>; and the underage ''S<sup>u</sup>(ω)'' which is equal to <math>[D(\omega)-x]^+</math>. <br />
<br />
To calculate the '''wholesale cost per newspaper''', ''w,'' the formula <math display="inline">w = b/x</math> is used. <br />
<br />
To calculate the '''marginal profit''', or net profit for the newsvendor per unit, ''m'' is found by the formula <math>m = s - w</math>. <br />
<br />
The '''marginal loss''', or loss for each unsold unit, ''l'' is found using the formula <math>l = w - v</math>. <br />
<br />
The '''profit''', ''P'', is calculated by <math>P = m * x</math> if every item in inventory was sold. <br />
<br />
The '''expected profit''', ''E'', taking into account a given demand probability is calculated by <math>E = x * D * m</math> if every item in inventory is sold. <br />
<br />
The objective function can be represented as <math>F(x,\omega)=c^o S^o (x,\omega) + c^u S^u (x,\omega)<br />
= c^o [x-d(\omega)]^+ + c^u [D(\omega)-x]^+ </math><math>F(x) = E[F(x,\omega)]<br />
= \int (c^o [x-D(\omega)]^+ + c^u [D(\omega) - x]^+ ) p(\omega)d\omega</math><br />
<br />
where the goal is to solve for <math>min_x F(x) = E [F(x,\omega)]</math>.<br />
<br />
== Numerical Example ==<br />
A historically relevant example of the newsvendor problem would be the working conditions that led to the newsboy strike of 1899 and subsequent labor movements. <br />
<br />
In the late nineteenth century and before the Spanish-American War, newsboys in New York City could purchase 100 newspapers for 50 cents and sell the newspapers for 8 cents each. If a paper didn’t sell, assume the publisher would buy the newspaper back at 60% cost.<sup>7</sup> <br />
<br />
Assume the newspaper sales in New York City followed the following demand schedule: <br />
{| class="wikitable"<br />
|+Table 1: Demand in New York City<br />
!Quantity<br />
!Probability of Demand<br />
|-<br />
|700<br />
|0.450<br />
|-<br />
|800<br />
|0.300<br />
|-<br />
|900<br />
|0.220<br />
|-<br />
|1000<br />
|0.015<br />
|-<br />
|1100<br />
|0.010<br />
|}<br />
The '''cost price''' of the newspapers is $0.05/100 = $0.005 per newspaper<br />
<br />
The '''selling price''' of the newspapers is $0.08 per newspaper <br />
<br />
The '''salvage value''' of the newspapers is $0.003 per newspaper<br />
<br />
The '''marginal profit''' is equal to $0.08 - $0.005 = $0.075 per additional newspaper sold<br />
<br />
The '''marginal loss''' is equal to $0.005 - $0.003 = $0.002 per unsold newspaper <br />
<br />
[[File:Table for newsvendor wiki.png|thumb|Tabulated Values]]<br />
<br />
<math>c^o = $0.005 - $0.005(0.6) = $0.002</math>per unit<br />
<br />
<math>c^u = $0.08</math>per unit<br />
<br />
x = purchase quantity, where <math>x \in (700, 800, 900, 1000, 11000)</math><br />
<br />
<math>S^o (\omega) = x - \omega, x > \omega</math><br />
<br />
<math>S^u (\omega) = \omega - x, x< \omega</math><br />
<br />
<math>S^o (\omega) = S^u (\omega), x = \omega</math><br />
<br />
<math>F(x,\omega) = loss function</math><br />
<br />
<math>F(x,\omega) = c^o S^o (x, \omega) + c^u s^u (x, \omega)</math><br />
<br />
<math>F(x,\omega) = c^o (x-\omega) + c^u (\omega -x)</math><br />
<br />
<math>F(x,\omega) = (0.002)(x- \omega)+(0.008)(\omega-x)</math><br />
<br />
<math>R(x,\omega) = 0.08\omega - F(x,\omega)</math><br />
<br />
<br />
The optimal quantity to purchase is 1000 in order to minimize expected loss and maximize expected revenue.<br />
<br />
== Demand Distributions ==<br />
The newsvendor problem can be solved in a multitude of ways, the one uncertainty that always exists is the number of papers needed to fully maximize the profits. This can be estimated by a variety of ways, but most commonly there are uniform, normal, or lognormal distributions.<br />
<br />
The uniform distribution estimates the probability to not change. In the case of the newspaper problem this would mean that the demand for a newspaper does not vary from day to day. This method can pose issues as the demand for papers can vary from days like Monday or Tuesday, to days like Sunday which historically have been a day recognized as always having a paper.<br />
<br />
The next method that can be used to estimate the demand of a paper can be done using a normal distribution. A normal distribution’s standard deviation positions the curve of demand into being one that can be used to calculate the different demands that a salesman may face amongst the sales of a paper. The normal distribution allocates variations that enable the salesman to take calculated risks based on historical norms. These norms provide contextual evidence to accurately account for the demand that the seller may see.<br />
<br />
While a normal distribution can provide estimates into how many papers may need to be printed for the public, it does not take into account the potential profit or loss that the vendor may undertake. The logarithmic method will show at what point the salesman optimal peak profit will be. The logarithmic curve is exponential and will ultimately determine the peak profit and printing point at which the business will succeed. This solution is meant to determine the optimal solution from a profit standpoint.<sup>4,6</sup><br />
<br />
== Applications ==<br />
Beyond the namesake example of the newsvendor problem, the newsvendor problem model can be applied to a variety of other discrete optimization problems. <br />
<br />
=== Personal Investments ===<br />
The tradeoff between typing funds up in a stock and holding cash reserves follows the model of the newsvendor problem because putting too much much of your money in stocks could lead to having to sell stocks undervalue to free up cash whole holding too much money in cash reserves could lead to money that is under performing. The newsvendor problem can help investors find an optimal way to allow to minimize risk while allowing enough opportunity to create a large gain. With recent trends of market volatility evaluating cash positions and market exposure has become ever more important.<sup>6</sup><br />
<br />
=== Emergency Resources ===<br />
The amount of emergency resources to hold on hand follows the model of the newsvendor problem because holding too many emergency resources could mean throwing out expensive inventory if there is no emergency and not having enough emergency resources could be disastrous in times of peril. Emergencies have the same tendencies of an unknown market. The first responders need to have an optial amount of supplies to maximize their effectiveness. If items that are perishable are sent in mass quantities it can bog down the supply lines and lead to important resources becoming expired.<sup>6</sup> <br />
<br />
=== Manufacturing ===<br />
The amount of units of a good to manufacture follows the model of the newsvendor problem because while overproduction would always meet demand, production costs increase and storage costs are introduced for the excess inventory. Manufacturers and wholesalers often rely on razor thin margins. By understanding how to limit excess storage and money that it put out into the materials themselves the business can find an accurate way of maximizing the cash flow. Inventory is often one of the crippling factors of a business. Businesses often can save money on individual units by producing larger quantities but this ultimately eats away at having a strong cash position to address the concerns of a changing market.<sup>6</sup> <br />
<br />
=== Real Estate ===<br />
House pricing in the real estate market follows the model of the newsvendor problem because if a house is priced too high it will take too long to sell and if the house is priced too low it will sell quickly but at lower price. The housing market is another investment that is exposed to a great deal of volatility and increased market risk. Markets can change rapidly from economic situations to also the crime, schools and locations around a property. By understanding the market norms one can find the adequate pricing method for a home using the newsvendor problem. Appraisers and realtors must focus on understanding these metrics to ensure the estimates are accurate.<sup>6</sup><br />
<br />
== Conclusion ==<br />
The newsboy formulation is used to optimize the amount of profit while minimizing the excess materials that hold no value after a given period of time. This formulation can be adapted for different probabilities and distributions of expected sales. Additionally, nuances such as accounting for a salvage price for unsold perishable goods can also be added to the problem for added complexity to mimic a given situation. From that, the salesperson can determine how many of a perishable product should be purchased for resale at a given time.<br />
<br />
== References ==<br />
<br />
# F. Y. Edgeworth (1888). "The Mathematical Theory of Banking". Journal of the Royal Statistical Society.<br />
# R. R. Chen; T.C.E. Cheng; T.M. Choi; Y. Wang (2016). "Novel Advances in Applications of the Newsvendor Model". Decision Sciences.<br />
# Whitin, T. M. “Inventory Control and Price Theory.” Management Science, vol. 2, no. 1, 1955, pp. 61–68.<br />
# “Newsvendor Model.” Wikipedia, Wikimedia Foundation, 12 Nov. 2020, en.wikipedia.org/wiki/Newsvendor_model.<br />
# Yan Qin, Ruoxuan Wang, Asoo J. Vakharia, Yuwen Chen, Michelle M.H. Seref, “The newsvendor problem: Review and directions for future research.” European Journal of Operational Research. Volume 213, Issue 2. 2011. Pages 361-374, ISSN 0377-2217. <nowiki>https://doi.org/10.1016/j.ejor.2010.11.024</nowiki>.<br />
# Powell, W. B. “Newsvendor Problem.” Castle Lab Princeton, 2013, castlelab.princeton.edu/html/Presentations/ORF411_2013/ORF%20411%2015%20Newsvendor%20problem.pdf.<br />
# “Labor History Lesson: The ‘Newsies’ Strike.” Labor History Lesson: The "Newsies" Strike | AFT Connecticut, 25 May 2016, aftct.org/story/labor-history-lesson-newsies-strike<br />
# Birge, J. and Louveaux, F. Introduction to Stochastic Programming, Springer, 2011.</div>Da523https://optimization.cbe.cornell.edu/index.php?title=Newsvendor_problem&diff=2467Newsvendor problem2020-12-13T13:14:01Z<p>Da523: /* References */</p>
<hr />
<div>Authors: Morgan McCormick (mm3237), Brittany Yesner (by286), Daniel Aronson (da523), John Bednarek (jwb389)<br />
<br />
== Introduction ==<br />
The mathematical application for the Newsvendor Problem dates back to 1888, when Francis Ysidro Edgeworth used the central limit theorem to find the optimal cash reserves needed to satisfy various withdrawals from depositors.<sup>1</sup> The namesake for the problem comes from Morse and Kimball's book from 1951, where they used the term “newsboy” to describe this specific problem.<sup>2</sup> Also referred to as “newsboy problem”, it is named 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. <br />
<br />
T.M Whitin in 1955 was the first to consider not only the cost minimization portion of the problem, but also the profit maximization.<sup>3</sup> To do so he formulated a newsvendor model with price effects, where the selling price and stocking quantity and set simultaneously. He then adapted his model to include a probability distribution for demand as a function of the selling price, therefore making the price of the product a decision variable rather than an assigned variable. <br />
<br />
In general, this model can be used in any application with a perishable good and unknown, randomized demand. <br />
<br />
== Description ==<br />
The newsvendor model is a model used to determine the optimal inventory levels in operations management and applied economic applications. The assumptions for this problem usually include fixed prices and uncertain demands for perishable products with limited availability. In this model, any unit of demand, ''R'', over the current inventory level, ''n'', is identified as a lost sale.<br />
<br />
== Formulation ==<br />
<br />
=== Overview ===<br />
To formulate a standard newsvendor problem to determine profit, the function is <math display="inline">E[profit] = E[s * min(x, R)] - wx </math> . In the formulation, ''s'' represents the price a unit is sold for, x represents the number of units in inventory that the vendor ordered, ''R'' is a random variable representing a probability distribution for the demand a given day, and ''w'' is the wholesale cost for the vendor to purchase materials. The goal is to optimize the profit to be a maximum. This is achieved by maximizing the amount of inventory on hand to be able to sell while also minimizing the amount of unsold inventory that is void or considered perishable at the end of the day. The salvage cost for any unsold inventory at the end of the sales period is represented by ''v.''<br />
<br />
The balance of being understocked and losing potential sales with the potential loss from being overstocked can be represented by the critical fractile. This is illustrated by the formula <math>n=F^{-1} ({s-w \over s})</math> where ''F<sup>-1</sup>'' is the inverse of the cumulative distribution function of R.<sup>4,5</sup><br />
<br />
=== Detailed Solution Steps ===<br />
In formulation, a newsboy could purchase a given number of newspapers x one morning for a given wholesale bulk cost, ''b''. The selling price and salvage values are known constants ''s'' and ''v,'' respectively, and the demand is given by ''D''. The overage cost is c<sup>o</sup> for the cost of ordering one unit too many. The cost of ordering one unit too few is the cost of underage, c<sup>u</sup>. <br />
<br />
The activity variables are ''D(ω)'', the realization of random demand which is assumed to be continuous; ''p(ω)'', the probability of outcome ω; ''S<sup>0</sup>(ω)'', the overage which is equal to <math>[x - D(\omega)]^+</math>; and the underage ''S<sup>u</sup>(ω)'' which is equal to <math>[D(\omega)-x]^+</math>. <br />
<br />
To calculate the '''wholesale cost per newspaper''', ''w,'' the formula <math display="inline">w = b/x</math> is used. <br />
<br />
To calculate the '''marginal profit''', or net profit for the newsvendor per unit, ''m'' is found by the formula <math>m = s - w</math>. <br />
<br />
The '''marginal loss''', or loss for each unsold unit, ''l'' is found using the formula <math>l = w - v</math>. <br />
<br />
The '''profit''', ''P'', is calculated by <math>P = m * x</math> if every item in inventory was sold. <br />
<br />
The '''expected profit''', ''E'', taking into account a given demand probability is calculated by <math>E = x * D * m</math> if every item in inventory is sold. <br />
<br />
The objective function can be represented as <math>F(x,\omega)=c^o S^o (x,\omega) + c^u S^u (x,\omega)<br />
= c^o [x-d(\omega)]^+ + c^u [D(\omega)-x]^+ </math><math>F(x) = E[F(x,\omega)]<br />
= \int (c^o [x-D(\omega)]^+ + c^u [D(\omega) - x]^+ ) p(\omega)d\omega</math><br />
<br />
where the goal is to solve for <math>min_x F(x) = E [F(x,\omega)]</math>.<br />
<br />
== Numerical Example ==<br />
A historically relevant example of the newsvendor problem would be the working conditions that led to the newsboy strike of 1899 and subsequent labor movements. <br />
<br />
In the late nineteenth century and before the Spanish-American War, newsboys in New York City could purchase 100 newspapers for 50 cents and sell the newspapers for 8 cents each. If a paper didn’t sell, assume the publisher would buy the newspaper back at 60% cost.<sup>7</sup> <br />
<br />
Assume the newspaper sales in New York City followed the following demand schedule: <br />
{| class="wikitable"<br />
|+Table 1: Demand in New York City<br />
!Quantity<br />
!Probability of Demand<br />
|-<br />
|700<br />
|0.450<br />
|-<br />
|800<br />
|0.300<br />
|-<br />
|900<br />
|0.220<br />
|-<br />
|1000<br />
|0.015<br />
|-<br />
|1100<br />
|0.010<br />
|}<br />
The '''cost price''' of the newspapers is $0.05/100 = $0.005 per newspaper<br />
<br />
The '''selling price''' of the newspapers is $0.08 per newspaper <br />
<br />
The '''salvage value''' of the newspapers is $0.003 per newspaper<br />
<br />
The '''marginal profit''' is equal to $0.08 - $0.005 = $0.075 per additional newspaper sold<br />
<br />
The '''marginal loss''' is equal to $0.005 - $0.003 = $0.002 per unsold newspaper <br />
<br />
[[File:Table for newsvendor wiki.png|thumb|Tabulated Values]]<br />
<br />
<math>c^o = $0.005 - $0.005(0.6) = $0.002</math>per unit<br />
<br />
<math>c^u = $0.08</math>per unit<br />
<br />
x = purchase quantity, where <math>x \in (700, 800, 900, 1000, 11000)</math><br />
<br />
<math>S^o (\omega) = x - \omega, x > \omega</math><br />
<br />
<math>S^u (\omega) = \omega - x, x< \omega</math><br />
<br />
<math>S^o (\omega) = S^u (\omega), x = \omega</math><br />
<br />
<math>F(x,\omega) = loss function</math><br />
<br />
<math>F(x,\omega) = c^o S^o (x, \omega) + c^u s^u (x, \omega)</math><br />
<br />
<math>F(x,\omega) = c^o (x-\omega) + c^u (\omega -x)</math><br />
<br />
<math>F(x,\omega) = (0.002)(x- \omega)+(0.008)(\omega-x)</math><br />
<br />
<math>R(x,\omega) = 0.08\omega - F(x,\omega)</math><br />
<br />
<br />
The optimal quantity to purchase is 1000 in order to minimize expected loss and maximize expected revenue.<br />
<br />
== Demand Distributions ==<br />
The newsvendor problem can be solved in a multitude of ways, the one uncertainty that always exists is the number of papers needed to fully maximize the profits. This can be estimated by a variety of ways, but most commonly there are uniform, normal, or lognormal distributions.<br />
<br />
The uniform distribution estimates the probability to not change. In the case of the newspaper problem this would mean that the demand for a newspaper does not vary from day to day. This method can pose issues as the demand for papers can vary from days like Monday or Tuesday, to days like Sunday which historically have been a day recognized as always having a paper.<br />
<br />
The next method that can be used to estimate the demand of a paper can be done using a normal distribution. A normal distribution’s standard deviation positions the curve of demand into being one that can be used to calculate the different demands that a salesman may face amongst the sales of a paper. The normal distribution allocates variations that enable the salesman to take calculated risks based on historical norms. These norms provide contextual evidence to accurately account for the demand that the seller may see.<br />
<br />
While a normal distribution can provide estimates into how many papers may need to be printed for the public, it does not take into account the potential profit or loss that the vendor may undertake. The logarithmic method will show at what point the salesman optimal peak profit will be. The logarithmic curve is exponential and will ultimately determine the peak profit and printing point at which the business will succeed. This solution is meant to determine the optimal solution from a profit standpoint.<sup>4,6</sup><br />
<br />
== Applications ==<br />
Beyond the namesake example of the newsvendor problem, the newsvendor problem model can be applied to a variety of other discrete optimization problems. <br />
<br />
=== Personal Investments ===<br />
The tradeoff between typing funds up in a stock and holding cash reserves follows the model of the newsvendor problem because putting too much much of your money in stocks could lead to having to sell stocks undervalue to free up cash whole holding too much money in cash reserves could lead to money that is under performing. The newsvendor problem can help investors find an optimal way to allow to minimize risk while allowing enough opportunity to create a large gain. With recent trends of market volatility evaluating cash positions and market exposure has become ever more important.<sup>6</sup><br />
<br />
=== Emergency Resources ===<br />
The amount of emergency resources to hold on hand follows the model of the newsvendor problem because holding too many emergency resources could mean throwing out expensive inventory if there is no emergency and not having enough emergency resources could be disastrous in times of peril. Emergencies have the same tendencies of an unknown market. The first responders need to have an optial amount of supplies to maximize their effectiveness. If items that are perishable are sent in mass quantities it can bog down the supply lines and lead to important resources becoming expired.<sup>6</sup> <br />
<br />
=== Manufacturing ===<br />
The amount of units of a good to manufacture follows the model of the newsvendor problem because while overproduction would always meet demand, production costs increase and storage costs are introduced for the excess inventory. Manufacturers and wholesalers often rely on razor thin margins. By understanding how to limit excess storage and money that it put out into the materials themselves the business can find an accurate way of maximizing the cash flow. Inventory is often one of the crippling factors of a business. Businesses often can save money on individual units by producing larger quantities but this ultimately eats away at having a strong cash position to address the concerns of a changing market.<sup>6</sup> <br />
<br />
=== Real Estate ===<br />
House pricing in the real estate market follows the model of the newsvendor problem because if a house is priced too high it will take too long to sell and if the house is priced too low it will sell quickly but at lower price. The housing market is another investment that is exposed to a great deal of volatility and increased market risk. Markets can change rapidly from economic situations to also the crime, schools and locations around a property. By understanding the market norms one can find the adequate pricing method for a home using the newsvendor problem. Appraisers and realtors must focus on understanding these metrics to ensure the estimates are accurate.<sup>6</sup><br />
<br />
== Conclusion ==<br />
The newsboy formulation is used to optimize the amount of profit while minimizing the excess materials that hold no value after a given period of time. This formulation can be adapted for different probabilities and distributions of expected sales. Additionally, nuances such as accounting for a salvage price for unsold perishable goods can also be added to the problem for added complexity to mimic a given situation. From that, the salesperson can determine how many of a perishable product should be purchased for resale at a given time.<br />
<br />
== References ==<br />
<br />
# F. Y. Edgeworth (1888). "The Mathematical Theory of Banking". Journal of the Royal Statistical Society.<br />
# R. R. Chen; T.C.E. Cheng; T.M. Choi; Y. Wang (2016). "Novel Advances in Applications of the Newsvendor Model". Decision Sciences.<br />
# Whitin, T. M. “Inventory Control and Price Theory.” Management Science, vol. 2, no. 1, 1955, pp. 61–68.<br />
# “Newsvendor Model.” Wikipedia, Wikimedia Foundation, 12 Nov. 2020, en.wikipedia.org/wiki/Newsvendor_model.<br />
# Yan Qin, Ruoxuan Wang, Asoo J. Vakharia, Yuwen Chen, Michelle M.H. Seref, “The newsvendor problem: Review and directions for future research.” European Journal of Operational Research. Volume 213, Issue 2. 2011. Pages 361-374, ISSN 0377-2217. <nowiki>https://doi.org/10.1016/j.ejor.2010.11.024</nowiki>.<br />
# Powell, W. B. “Newsvendor Problem.” Castle Lab Princeton, 2013, castlelab.princeton.edu/html/Presentations/ORF411_2013/ORF%20411%2015%20Newsvendor%20problem.pdf.<br />
# “Labor History Lesson: The ‘Newsies’ Strike.” Labor History Lesson: The "Newsies" Strike | AFT Connecticut, 25 May 2016, aftct.org/story/labor-history-lesson-newsies-strike<br />
# Birge, J. and Louveaux, F. Introduction to Stochastic Programming, Springer, 2011.</div>Da523