Newsvendor Model for Multi-Inputs and -Outputs with Random Yield:
Applications to Agricultural Processing Industries
Kannapha Amaruchkul
Graduate School of Applied Statitistics, National Institute of Development Administration (NIDA), Bangkok, Thailand
Keywords:
Agriculture Supply Chain, Applied Operations Research, Stochastic Model Applications, Newsvendor
Models.
Abstract:
Consider a newsvendor model, which we extend to include both multiple inputs and outputs. Different input
types possess different levels of quality, and are purchased at different prices by a processing firm. Each type
of input is processed into multiple outputs, which are sold at different prices. The yield for each output type
is random and depends on the input type. We need to determine the purchase quantities of different types
of input, before demands of different types of output are known. In our analytical results, we show that the
expected total profit is jointly concave in the purchasing quantities and derive the optimality condition. Our
multi-input and -output newsvendor model is suitable for processing industries in agriculture supply chain. In
our numerical example, we apply our model to the rice milling industry, whose primary output is head rice
and byproducts are broken rice, bran and husk. Our model can help the rice mill to decide which paddy types
to procure and how much, in order to maximize the total expected profit from all outputs. We also show that
the expected profit can be significantly better than using the standard newsvendor model.
1 INTRODUCTION
In a newsvendor (single-period inventory) model,
there is a single opportunity to place an order be-
fore a random demand is known. Leftovers cannot
be kept from one selling season to the next, due to
obsolescence or perishability. The applications of the
newsvendor model include a newspaper, a style good,
a Christmas tree, bakery, and fresh produce. In a clas-
sical newsvendor model, there is only one product and
no resource constraint. In a multi-item newsvendor
model, the decision maker needs to decide the order
quantities of multiple items before their random de-
mands materialize, subject to several resource con-
straints. For instance, a news vendor, who manages
a “newsstand, offering many different newspaper ti-
tles, needs to determine how many of each title to
buy, in order to maximize the total expected profit
from all titles, subject to a budget constraint and a
limited newsstand size. We modify this multi-item
model to include both multiple outputs and inputs:
Each type of input has a different quality level and
is processed into several types of outputs at different
rates. The purchase price for the high-quality input
is typically greater than the low-quality output, and
the high-quality inputs gives a better yield. After pro-
cessing, multiple outputs (e.g., a primary product and
byproducts) are obtained and sold at different prices.
Our model is suitable for agricultural processing
industries. The processing company needs to deter-
mine the purchase quantity for each type of input, be-
fore the random demands for all outputs are known,
in order to maximize the total expected profit. In an
agriculture supply chain, yield and crop quality are in-
fluenced by many factors including seeding time, har-
vest time, weather conditions, presence of nutrients
within the soil at the farm location, and use of fertil-
izers and pesticides. An input type can be specified
by yield and quality. For instance, in a rice process-
ing industry, outputs from milling a paddy include
head rice, broken rice, rice bran and husk (Wilasi-
nee et al., 2010). A high-quality paddy gives a high
yield of head rice. An input type can also specify
other factors such as the percent impurity, the per-
cent moisture content, the farm location, and the rice
species. In a sugarcane milling process, the yield of
raw sugar depends on the cane quality and the juice
extraction efficiency. The supplier of sugarcane with
the greater commercial cane sugar (CCS) receives the
higher purchasing price (Higgins et al., 1998). In a
vineyard harvesting problem, grape qualities depend
on, e.g., the time of harvest, a wine block (a group
of adjacent vineyard’s fields growing the same vari-
72
Amaruchkul, K.
Newsvendor Model for Multi-Inputs and -Outputs with Random Yield: Applications to Agricultural Processing Industries.
DOI: 10.5220/0007346900720081
In Proceedings of the 8th International Conference on Operations Research and Enterprise Systems (ICORES 2019), pages 72-81
ISBN: 978-989-758-352-0
Copyright
c
2019 by SCITEPRESS Science and Technology Publications, Lda. All rights reserved
ety of grapes), sugar and acidity levels determined by
a winery’s oenologist. The end-products can be clas-
sified into four different types, e.g., Vins de Prestiges
and Vins de Charme (Arnaout and Maatouk, 2010).
In many fresh fruit supply chains (e.g., apple, pear,
banana, coconut), fruits are categorized into different
grades, which usually depend on their sizes, among
other factors. The low-quality farm with many ag-
ing trees and poor soil quality produces smaller sizes,
which are bought at lower prices. Most agricultural
raw materials need to be harvested at certain times of
year. They are prone to deterioration after harvesting
and processing. They are processed into different out-
puts before the demands for the outputs are known.
The yield of the primary (most valuable) output de-
pends on the crop quality. Thus, our multi-input and
-output newsvendor model is applicable.
A literature review of the newsvendor (single-
period inventory) model includes (Qin et al., 2011)
and (Choi, 2012b). Multi-period inventory models are
covered extensively in textbooks in inventory man-
agement, e.g., (Nahmias, 2009), (Silver et al., 1998),
(Zipkin, 2000) and (Porteus, 2002). The multi-item
newsvendor model was first formulated in (Hadley
and Whitin, 1963): The order quantity of each item
needs to be made in order to maximize the total ex-
pected profit subject to a single resource constraint.
The budget constraint is a special case of the resource
constraint. When the number of products is small, the
exact solution can be obtained using a dynamic pro-
gramming approach. When the number of products
is large, several heuristics are proposed in, e.g., (Nah-
mias and Schmidt, 1984). (Moon and Silver, 2000)
extends the multi-item newsvendor problem with a
single resource constraint to include fixed ordering
costs. (Lau and Lau, 1995) extends the multi-item
newsvendor problem with a single resource constraint
to multiple resource constraints. To contrast with the
newsvendor problem, they refer to their multi-item
multi-constraint model as the “newsstand problem.
In the newsstand problem, there is no random yields;
for instance, if we place an order of 50 units of the
New York Times and 50 units of the Chicago Tri-
bune, then all 50 units of the New York Times and
50 units of the Chicago Tribune are received, and
they are put on the newsstand as long as the space
constraint is satisfied. In our model, if the rice mill
purchases 50 tons of paddy from a high-quality sup-
plier and 50 tons of paddy from a low-quality sup-
plier, then after the milling process, the total volume
of head rice would be less than 100 tons, and a large
fraction of the total head rice comes from the high-
quality paddy. The multi-product multi-constraint
newsvendor model is a convex optimization problem.
Heuristic solutions based on a quadratic programming
approach are presented in, e.g., (Abdel-Malek and
Areeratchakul, 2007) and (Chernonog and Goldberg,
2018). Various extensions of the multi-production
multi-constraint newsvendor model include an out-
sourcing strategy of shortages (Zhang and Du, 2010),
an allocation decision on the raw material (Xie et al.,
2018), a reservation policy to meet marketing needs
(Chen and Chen, 2010), and carbon cap and trade
mechanism (Zhang and Xu, 2013). The multi-product
newsvendor problem is reviewed in (Turken et al.,
2012) and (Choi, 2012a). In Section 1.5.2 in (Turken
et al., 2012), “nearly all the models in this chap-
ter assume single supplier.... It would be interesting
to incorporate multiple suppliers into MPNP [multi-
product newsvendor problem]. Different input types
can be interpreted as different suppliers, who pro-
vide crops with different quality levels. To the best
of our knowledge, our article is the first study of the
newsvendor model with multiple inputs and outputs
whose yields are random.
Operations research (OR) models applied to the
agriculture supply chain are reviewed in (Kusumastuti
et al., 2016), (Soto-Silva et al., 2016) and (Ahumada
and Villalobos, 2009). The quality issue of the agri-
cultural product is one of the most distinctive char-
acteristics of the agriculture supply chain. This fea-
ture is explicitly incorporated in our multi-input and
-output newsvendor model. The demand uncertainty
and the random yield are other important character-
istics of the agriculture OR models, and they are pre-
sented in (Tan and Comden, 2012) and (Kazaz, 2004).
(Tan and Comden, 2012) studies a planning problem,
in which the production quantity at each farm is ran-
dom, depending on the planted area and the crop yield
in that farm. In our model, different input types can
be interpreted as different suppliers or farmers who
provide different crop qualities. (Kazaz, 2004) for-
mulates a two-stage stochastic programming problem
for the production planning in the olive oil industry;
the oil producer can buy olives from farmers at a unit
cost varying with the yield. In our model, the unit cost
also depends on the input type. The high-quality input
type has a high purchasing cost, and the low-quality
input type incurs a high pre-processing cost. This fea-
ture is also presented in these two papers. Neverthe-
less, they consider multiple farms (inputs) but a single
product (output), whereas in ours there are both mul-
tiple inputs and outputs.
In this article, we assume that there are multiple
types of perishable inputs and outputs. In contrast
to the standard multi-item newsvendor, the number
of inputs need not be equal to the number of outputs
in our model. In the standard multi-item newsvendor
Newsvendor Model for Multi-Inputs and -Outputs with Random Yield: Applications to Agricultural Processing Industries
73
model, there is a one-to-one correspondence between
each input type and each output type. In the agricul-
tural supply chain, the type of input usually represents
the quality of the crop. The better type of input results
in the larger yields of the high-value outputs. Further-
more, we allows the yield to be random. In most agri-
cultural products, the yield tends to fluctuate. We de-
velop the newsvendor for multiple inputs and outputs
with random yields, and derive an optimal purchase
quantity of each type of input in order to maximize
the expected total profit from all outputs.
The rest of the paper is organized as follows: Sec-
tion 2 presents the newsvendor model for multiple in-
puts and outputs with random yields, and the problem
is analyzed in Section 3. We illustrate the application
of our model to the rice processing industry and pro-
vide some managerial insights in Section 4. Finally,
the conclusion is provided in Section 5.
2 FORMULATION
Consider a newsvendor model that produces n differ-
ent outputs from m inputs. Let D
j
be the random de-
mand of output j. Let x
i
be the purchase quantity of a
type-i input. We need to decide x = (x
1
,x
2
,...,x
m
)
before knowing the demands (D
1
,D
2
,. ..,D
n
). For
each i = 1,2, .. ., n and j = 1, 2,. .. ,m, let U
i j
(x
i
) be
the random volume of a type- j output after process-
ing x
i
units of a type-i input. The volume of the type- j
output depends not only the volume of the input but
also the input type. For a concrete example, in the
rice processing industry, the different moisture con-
tent paddies are categorized into different input types.
The moist paddies with the high percentage of mois-
ture content (%MC) would take longer to dry and re-
sult in a higher weight loss. For instance, a ton of
paddy with 21% MC would incur a weight loss of
100 kilograms, whereas a ton of paddy with 30%MC
would incur a weight loss of 200 kilograms (Thailand
Deparment of Internal Trade, 2018).
Note that the decision x is taken before knowing
output volume U
i j
(x
i
) and consequently demand D
i
.
The probability distributions of volume outputs and
demands are described as follows. After processing,
the realization of output volume U
i j
(x
i
,ω) becomes
known. Let be the set of all scenarios associated
with output volume. The triplet (, A ,P) is a prob-
ability space, where A is an event and P is a proba-
bility. The expected volume of the type- j output after
processing x
i
units of a type-i input is given as
E[U
i j
(x
i
)] =
Z
U
i j
(x
i
,ω)P(dω)
where the above integral is a Lebesque integral. We
assume that is a finite set. Then, the random vari-
able U
i j
(x
i
) is discrete, and its expectation can be
written as
E[U
i j
(x
i
)] =
ω
`
U
i j
(x
i
,ω
`
)P(U
i j
(x
i
) = U
i j
(x
i
,ω
`
)).
Finally, the demand D
j
becomes known. Assume
that the demand D
j
is a real-valued random variable
and independent of the output vector (U
1 j
,. ..,U
m j
)
for each j. Let F
j
denote the distribution of de-
mand D
j
and F
1
j
be the corresponding quantile func-
tion. Note that the quantile function is strictly increas-
ing on [0,1]. These assumptions are made to avoid
technical difficulties, and they are not restrictive in
practice. In strategic models like ours, the different
scenarios of the volume output might be obtained
through experts’ judgments, and in many situations
there are only finitely possible outcomes (Birge and
Louveaux, 1997).
Let (y)
+
= max{y, 0} denote the positive part of
a real number y. Assume that the volume of a type- j
output given the input x is defined as
Y
j
(x) =
m
i=1
U
i j
(x
i
). (1)
The type- j sales are S
j
(x) = min(Y
j
(x),D
j
), the left-
overs are W
j
(x) = (Y
j
(x) D
j
)
+
, and the shortages
are T
j
(x) = (D
j
Y
j
(x))
+
. The cost parameters are
denoted by:
c
i
= per-unit cost of a type-i input
p
j
= per-unit selling price of a type- j output
h
j
= per-unit salvage value of a type- j output
g
j
= per-unit penalty cost for a type- j shortage.
The unit cost c
i
includes both the purchasing cost and
the pre-processing cost associated with the type-i in-
put. The high-quality input typically has a large pur-
chasing cost but a small pre-processing cost. Among
all types of outputs, the primary output usually has the
largest selling price. The penalty cost includes both a
direct cost of the shortages and a loss of goodwill.
The expected total profit is defined as follows:
π(x) =
n
j=1
E
h
p
j
S
j
(x) + h
j
W
j
(x) g
j
T
j
(x)
i
m
i=1
c
i
x
i
(2)
=
n
j=1
E[(p
j
h
j
+ g
j
)min(D
j
,
m
i=1
U
i j
(x
i
))]
+
n
j=1
h
j
m
i=1
E[U
i j
(x
i
)]
n
j=1
g
j
E[D
j
]
m
i=1
c
i
x
i
. (3)
ICORES 2019 - 8th International Conference on Operations Research and Enterprise Systems
74
In the first summation in (2), the first term is the ex-
pected revenue, and the second term is the expected
salvage value from the leftovers from n output types.
The last term is the total cost of all m input types.
Equation (3) follows from the identity
min(a,b) = a (a b)
+
(4)
for any real numbers a and b. The first expectation
in (3) is with respect to distributions of D
j
and U
i j
.
Assume that we are risk neutral, and our objective is
to maximize the expected total profit:
max{π(x) : x 0}. (5)
Note that we allow the demand vector (D
1
,. ..,D
n
) to
be dependent. Specifically, the expression (3) for the
total expected profit remains valid, since the expec-
tation of the sum of random variations is the sum of
their expected values.
Our formulation subsumes the standard multi-
product newsvendor model (Turken et al., 2012).
Suppose that the number of inputs is equal to the num-
ber of outputs (i.e., m = n). There is a one-to-one cor-
respondence between each input type and output type,
and the yield rate is 100% for i = j (i.e., U
ii
(x
i
) = x
i
and U
i j
(x
i
) = 0 for i 6= j). In other words, the type-i
input is processed into only the type-i output. Then,
the expected total profit becomes
m
i=1
E[(p
i
h
i
+ g
i
)min(D
i
,x
i
) (c
i
h
i
)x
i
g
i
D
i
].
(6)
Let c
o
i
= c
i
h
i
be the overage cost, i.e., the expected
per-unit cost of positive inventory remaining at the
end of the period. Let c
u
i
= p
i
c
i
+ g
i
be the under-
age cost, i.e., the per-unit cost of unsatisfied demand.
Define the expected total cost as the sum of the ex-
pected overage and underage costs:
m
i=1
E[c
o
i
(x
i
D
i
)
+
+ c
u
i
(D
i
x
i
)
+
]. (7)
Using the identity (4) again, (7) becomes
m
i=1
E[c
o
i
x
i
(c
o
i
+ c
u
i
)min(D
i
,x
i
) + c
u
i
D
i
]. (8)
Comparing (6) and (8), we see that minimizing the to-
tal expected cost is equivalent to maximizing the to-
tal expected profit. Our model reduces to the multi-
product newsvendor model. The (unconstrained) op-
timal purchase quantity is given as
x
i
= F
1
i
(c
u
i
/(c
u
i
+ c
o
i
)) (9)
= F
1
i
p
i
c
i
+ g
i
p
i
h
i
+ g
i
.
The term c
u
i
/(c
u
i
+ c
o
i
) is often referred to as the criti-
cal ratio. The optimal purchase quantity is the quan-
tile, evaluated at the critical ratio.
3 ANALYSIS
Assume that p
j
h
j
+ g
j
0 for each j = 1,2,...,n.
This assumption is not restrictive; in most practical
cases, the per-unit selling price p
j
exceeds the per-
unit salvage value h
j
, and the assumption holds. Fur-
ther assume that
U
i j
(x
i
) = A
i j
x
i
(10)
where a one-unit type-i input yields a random A
i j
-unit
type- j output. The assumption (10) states that the
volume of a type- j output is linear in the volume of
an input. The multiplicative form is extensively used
in many applied operations research model (e.g., the
linear programming model). For each input type i,
each realization (A
i1
(ω),A
i2
(ω),...,A
in
(ω)) satisfies
n
j=1
A
i j
(ω) = 1 and A
i j
(ω) 0. An example of such
distribution is a Dirichlet distribution, which is a mul-
tivariate generalization of the beta distribution. Note
that a one-unit type-i input on average yields E[A
i j
]
units of a type- j output:
E[A
i j
] =
Z
A
i j
(ω)P(dω), (11)
where the integral in (11) is a Lebesque integral. For
a discrete distribution on a sample space , the ex-
pected yield (11) becomes
E[A
i j
] =
ω
`
A
i j
(ω
`
)P
A
i j
= A
i j
(ω
`
)
.
In Theorem 1, we show that the multi-input and
-output newsvendor problem {π(x) : x
i
0} is a con-
vex programming problem.
Theorem 1. The expected total profit π(x) is jointly
concave in x.
Proof. We will use the following result on convex-
ity (page 529 in (Heyman and Sobel, 1984)). Let
g : R
n
R be a concave function, and let f : R
R be a nondecreasing concave function. Then, the
composite function h : R
n
R defined as h(x) =
f (g(x)) is a concave function. For each realiza-
tion ω, f (y;ω) = min(D(ω),y) is concave and non-
decreasing, and g(x;ω) =
n
i=1
A
i j
(ω)x
i
is linear (i.e.,
both concave and convex). From the assumption that
p
j
h
j
+ g
j
0, we have that
(p
j
h
j
+ g
j
)min(D
j
(ω),
m
i=1
A
i j
(ω)x
i
)
is concave in x for each realization ω. The first term
in (3) is concave, since the expectation of the concave
function is also concave. The second term is linear
under the multiplicative form (10). Thus, the expected
total profit π(x) is concave.
Newsvendor Model for Multi-Inputs and -Outputs with Random Yield: Applications to Agricultural Processing Industries
75
Theorem 1 shows that the objective function, the
expected total profit, is concave. The constraint
functions are linear. Thus, the multi-input and -
output newsvendor problem (5) is convex program-
ming. Algorithms to solve a convex programming
problem are active research, and they can be classi-
fied into three groups, namely gradient algorithms,
sequential unconstrained algorithms, and sequential-
approximation algorithms (Hillier and Lieberman,
2005).
Concavity of the expected profit function is desir-
able, since we can guarantee that the first-order con-
ditions provide the globally optimal solution. The op-
timality conditions are derived in Theorem 2.
Define the expected per-unit salvage of the type-i
input as:
h
0
i
=
Z
h
n
j=1
h
j
A
i j
(ω)
i
P(dω)
=
n
j=1
h
j
E[A
i j
].
The expected per-unit price p
0
i
and penalty cost g
0
i
are
defined similarly. Define the expected overage cost
as c
o
i
= c
i
h
0
i
. Define the expected underage cost as
c
u
i
= p
0
i
c
i
+ g
0
i
. The expected critical ratio associ-
ated with the type-i input is
ξ
i
=
c
u
i
c
u
i
+ c
o
i
.
Let i
= argmax{ξ
i
} be the input type with the largest
critical ratio.
For short-hand, denote c
s
j
= p
j
h
j
+ g
j
.
Theorem 2. An optimal purchase quantity that max-
imizes π(x) is x
k
= 0 for k 6= i
and x
i
> 0 which
satisfies
Z
h
n
j=1
c
s
j
A
i
j
(ω)
¯
F
j
(A
i
j
(ω)x
i
)
i
P(dω) = c
o
i
. (12)
Proof. We want to maximize {π(x) : x 0}. Re-
call the Kuhn-Tucker optimality conditions, there ex-
ist µ
k
0 and
∂π(x)
x
k
+ µ
k
= 0 for each k = 1, 2,. .. ,n.
Then,
∂π
x
i
= 0 for x
i
> 0
∂π
x
i
0 for x
i
= 0.
The condition is also sufficient since π(x) is concave
(see Theorem 1).
Let A
j
= (A
1 j
,A
2 j
,. ..,A
m j
). Note that
E[S
j
(x)|A
j
= A
j
(ω)] = E[min(D
j
,
m
i=1
A
i j
(ω)x
i
)]
=
Z
m
i=1
A
i j
(ω)x
i
0
¯
F
j
(t)dt
where the last equation follows from the tail-sum for-
mula for expectation. Recall that
E[S
j
(x)] = E[E[S
j
(x)|A
j
]].
Then,
E[S
j
(x)] =
Z
E[min(D
j
,
m
i=1
A
i j
(ω)x
i
)]P(dω).
Taking the partial derivative with respect to x
i
and us-
ing the Leibniz’s rule, we have
E[S
j
(x)]
x
i
=
x
i
Z
E[min(D
j
,
m
k=1
A
k j
(ω)x
k
)]P(dω)
=
Z
x
i
E[min(D
j
,
m
k=1
A
k j
(ω)x
k
)]P(dω)
=
Z
x
i
Z
m
k=1
A
k j
(ω)x
k
0
¯
F
j
(t)dtP(dω)
=
Z
A
i j
(ω)
¯
F
j
(
m
k=1
A
k j
(ω)x
k
)P(dω)
where the last equation follows from the fundamental
theorem of calculus. From (3), the partial derivative
of the expected profit ∂π(x)/x
k
becomes
∂π(x)
x
k
=
n
j=1
c
s
j
Z
A
k j
(ω)
¯
F
j
(
m
`=1
A
` j
(ω)x
`
)P(dω) c
o
k
=
n
j=1
c
s
j
Z
A
k j
(ω)
¯
F
j
(A
i
j
(ω)x
i
)P(dω) c
o
k
by construction of x
. Substituting the expression for
∂π(x)/x
k
, the optimality equations become
n
j=1
c
s
j
Z
A
k j
(ω)
¯
F
j
(A
i
j
(ω)x
i
)P(dω) c
o
k
+ µ
k
= 0
(13)
For k = i
, we have x
k
> 0, µ
k
= 0, and (13) be-
comes (12). For k 6= i
, (13) becomes
µ
k
= c
o
k
n
j=1
c
s
j
Z
A
k j
(ω)
¯
F
j
(A
i
j
(ω)x
i
)P(dω).
It follows from the definition of i
= argmax{ξ
i
} that
µ
k
0 for k 6= i
. The Kuhn-Tucker conditions hold.
ICORES 2019 - 8th International Conference on Operations Research and Enterprise Systems
76
Theorem 2 allows us to reduce the problem size from
m decision variables to a single decision variable, x
i
.
Several efficient one-dimensional search algorithms
are available. We should purchase the “best” input
type i
, and the purchase quantity is given by (12).
Suppose that the number of inputs is identical to
the number of outputs and the yield is 100%. Then,
the optimality condition (12) reduces to
(p
i
h
i
+ g
i
)
¯
F
i
(x
i
) = c
i
h
i
,
which is equivalent to the optimality condition in the
multi-product newsvendor (9). Again, we see that our
multi-input and -ouput newsvendor model becomes
the standard multi-product newsvendor model.
Theorem 3 provides a sensitivity analysis: How
would the optimal order quantity change, when some
of the parameters change?
Theorem 3. Assume that the “best” input type re-
mains the same. The optimal order quantity x
i
is
larger if one of the following conditions holds (ceteris
paribus):
1. The per-unit selling price p
j
increases.
2. The per-unit salvage value h
j
decreases.
3. The per-unit penalty g
j
increases.
4. The demand D
j
is stochastically larger (in the
usual stochastic order sense).
5. The per-unit cost c
i
decreases.
Proof. Note that the right-hand side (RHS) of the op-
timality equation (12)
Z
h
n
j=1
(p
j
h
j
+ g
j
)A
i
j
(ω)
¯
F
j
(A
i
j
(ω)x
i
)
i
P(dω)
is decreasing in x
i
. Furthermore, for a fixed x
i
, the
RHS increases, when the per-unit selling price p
j
in-
creases. Thus, the optimal order quantity becomes
larger. The proof for the other cases is similar.
The directional change in Theorem 3 makes economic
sense. To determine which factors significantly affect
the optimal order quantity and the optimal expected
profit, we can create various sensitivity graphs, e.g.,
a tornado diagram and a spider graph (Hillier et al.,
2000). The method to calculate the expected profit is
illustrated in the next section.
4 NUMERICAL ILLUSTRATION
We apply our model to the rice processing industry
in Thailand. Consider a rice mill which purchases
paddy from middleman and farmers. The purchase
price for paddy depends on the percent moisture con-
tent (%MC) and the head yield (HY). The paddy is
classified into four groups of moisture content:
1. Group 15.0: %MC 15.0%
2. Group 19.9: %MC between 15.1–19.9%
3. Group 24.9: %MC between 20.0–24.9%
4. Group 29.9: %MC greater than 25.0%
Paddy with the %MC greater than 15% needs to
be dried. The head yield can be divided into three
groups, namely 40%, 45% and 50%. Table 1 shows
the drying cost and the purchase price in Thai Baht
(THB) per ton. For the same head yield, the purchase
cost is higher for the paddy with the lower %MC. For
the same %MC, the purchase cost is higher for the
paddy with the larger head yield. In addition to the
%MC and the head yield, the purchasing price de-
pends on the rice varieties. The purchase prices in
Table 1 are similar to the purchase prices of Thai aro-
matic rice paddy (KDML105); see (Thailand Depar-
ment of Internal Trade, 2018).
Table 1: Purchase prices for paddy.
HY Drying %
%MC 40 45 50 Cost Loss
15.0 19600 20600 21600 0.00 0.0
19.9 18277 19210 20142 59.00 6.9
24.9 16807 17665 18522 62.10 14.4
29.9 15337 16120 16902 65.21 21.9
A type-i input is specified by the %MC and the
HY. Table 2 shows m = (4)(3) = 12 input types. The
per-unit cost of the type-i input, c
i
, includes both the
purchasing and drying costs. For instance, the type-
2 input with %MC=19.9 and HY=40, and the drying
cost is 59 THB/ton, so the per-unit cost c
2
= 18277 +
59 = 18336 THB/ton. In our example, we assume that
a farmer brings paddies to the rice mill. In some other
cases, the rice mill may travel to buy from the farmers
whose produce paddies with high quality. Then, the
input type would specify the %MC and the head yield
as well as the location of the paddy field; the cost c
i
may include the (round-trip) transportation from the
rice mill to the field.
After the paddy is dried, a weight loss occurs,
and the percent weight loss depends on the percent
moisture content (see Table 1). The dried paddy is
stored in a silo and waits for milling. The milling pro-
cess consists of husk removing from paddy, whitening
and polishing for bran removal, and finally separat-
ing head rice (the primary product) and broken rice
into different grades. The milled rice is distributed to
domestic and export markets. The rice bran can be
sold to the rice bran oil industry. The husk is used
Newsvendor Model for Multi-Inputs and -Outputs with Random Yield: Applications to Agricultural Processing Industries
77
Table 2: Description of 12 input types.
i %MC HY c
i
1 15.0 40 19600
2 19.9 40 18336
3 24.9 40 16869
4 29.9 40 15402
5 15.0 45 20600
6 19.9 45 19268
7 24.9 45 17727
8 29.9 45 16185
9 15.0 50 21600
10 19.9 50 20201
11 24.9 50 18584
12 29.9 50 16967
in paper production and biomass power generation.
The average selling prices p
j
, salvage values h
j
and
the penalty costs g
j
(in THB/ton) for these n = 4 out-
puts (head rice ( j = 1), broken rice ( j = 2), rice bran
( j = 3) and husk ( j = 4)) are shown in Table 3. In
Thailand, the selling price of head rice and broken
rice are published online by the government (Thailand
Deparment of Internal Trade, 2018). If the shortages
of the head rice occur, then the rice mill tries to pur-
chase the rice from other rice mills. The penalty cost
g
1
includes the average purchasing cost, the trans-
portation cost, and the loss of goodwill if the customer
does not receive the entire rice volume in time. In our
example, we assume that there are no penalty costs
for the other byproducts, i.e., g
j
= 0 for j > 1.
Assume that the demand for the type- j output, D
j
,
is independent and normally distributed with mean µ
j
and standard deviation σ
j
(in ton), as shown in Ta-
ble 3. The coefficient of variation of demand is suf-
ficiently small so that the probability of negative de-
mand is negligible. (Our formulation in Section 2 and
the analytical results in Section 3 hold without nor-
mality assumption.) Let φ denote the density function
of the standard normal distribution and Φ denote the
corresponding cumulative distribution function. The
expected sales can be calculated easily:
E[min(D
j
,y
j
)] = µ
j
σ
j
L
y
j
µ
j
σ
j
where the standard loss function is
L(z) = φ(z) z(1 Φ(z)).
Table 3: Selling prices, salvage values and penalty costs.
Output type Head Broken Bran Husk
( j) 1 2 3 4
p
j
36800 12340 8999 1500
h
j
29872 5000 1000 500
g
j
1000 0 0 0
µ
j
94.00 64.00 53.00 24.00
σ
j
14.10 9.60 7.95 3.60
If the demand does not follow the normal distribution
but other well-known distribution, then the expected
sales can be calculated using the closed-form formula
for the limited expected value (see, e.g., Table 12.2
in (Cunningham et al., 2008)). The demands for these
four outputs are likely to be independent, since they
are different products used in different industries, and
they cannot be substituted for one another. In practice,
we may have more output types. For instance, after
being milled, the broken rice can be further graded
into five levels, and their demands may be dependent.
Our model can still be applied to the dependent out-
puts. The rice mill needs to determine the purchase
quantities of different types of paddies, before the de-
mands of all outputs are known.
Example 1. In our model, two sources of uncertainty
are the demand and the random yield. For an illustra-
tive purpose, we assume that there are 3 scenarios for
the random yield, = {ω
1
,ω
2
,ω
3
}. The actual yields
depend on the rice variety, the operations designed for
rice kernel cracking and breakage, and the mechani-
cal and physical properties (Correa et al., 2007). In
stochastic programming approximations, we can find
some relatively low cardinality discrete set of real-
izations that represents a good approximation of the
true underlying distribution of the yield; details can be
found in Chapter 9, (Birge and Louveaux, 1997). In
scenario ω
`
, one unit (ton) of the type-i paddy results
in A
i1
(ω
`
) units of head rice, A
i2
(ω
`
) units of broken
rice, A
i3
(ω
`
) units of rice bran and A
i4
(ω
`
) units of
rice husk (see Table 4). Assume that each scenario is
equally likely to occur; i.e.,
P(A
i j
= A
i j
(ω
`
)) = 1/3
for each ` = 1,2,3. For each input type and for the
type-1 output (head rice), the yield in scenario ω
2
(resp., ω
3
) is approximately 10–20% higher (resp.,
lower) than the yield in scenario ω
1
. The higher the
head yield, the higher yield for head rice. The paddy
with the higher moisture content incurs the larger per-
cent weight loss.
Note that for the paddy with the %MC less than
15% (i.e., i {1,5, 9}), there is no weight loss, and
4
j=1
A
i j
(ω
`
) = 1. For the other types,
4
j=1
A
i j
(ω
`
) <
1. Suppose that we define the type-5 output to be the
processing loss. Let A
i5
= 1
4
j=1
A
i j
. Then, the out-
put vector U
i j
(x
i
) = A
i j
x
i
now has a valid probability
distribution, i.e.,
5
j=1
A
i j
= 1 and A
i j
0.
To use the optimality condition (12), we first find
the “best” type of input by ranking the expected crit-
ical ratio. From Table 5, we find that the most prof-
itable input type is i
= 10 (%MC=19.9 and HY=50).
The ranking in Table 5 also helps the rice mill select
a paddy supplier. Note that the paddy types with the
ICORES 2019 - 8th International Conference on Operations Research and Enterprise Systems
78
low head yield (i.e., i {1, 2,3, 4}) are ranked among
the lowest. It is more important to focus on the head
yield, compared to the moisture content, since it is rel-
atively cheap to dry the paddy. This finding is consis-
tent with the result found in the agricultural academic
journal (Wilasinee et al., 2010).
Upon solving the optimality equation (12), we
find that the optimal purchase quantity is x
10
= 187
ton. The total purchasing and drying costs is 3781345
THB. The expected revenue is 3820335 THB, and the
expected profit is 125331 THB. The expected rev-
enues and profits for all scenarios are shown in Ta-
ble 6.
We see that the profit is very sensitive to the out-
put yield of the milling process. In scenario 2, the
head rice yield is 10–20% higher than the yield in sce-
nario 1, but the expected profit in scenario 2 is double.
Our model can also be used to quantify the benefit
from milling process improvement.
Example 2. We want to highlight the benefit of our
Table 4: Yields of the four outputs A
i j
(ω
`
).
` i A
i1
(ω
`
) A
i2
(ω
`
) A
i3
(ω
`
) A
i4
(ω
`
)
1 1 0.4000 0.1976 0.2541 0.1483
1 2 0.3724 0.1840 0.2366 0.1380
1 3 0.3424 0.1692 0.2175 0.1269
1 4 0.3124 0.1544 0.1985 0.1158
1 5 0.4500 0.1812 0.2329 0.1359
1 6 0.4190 0.1687 0.2169 0.1265
1 7 0.3852 0.1551 0.1994 0.1163
1 8 0.3515 0.1415 0.1819 0.1061
1 9 0.5000 0.1647 0.2118 0.1235
1 10 0.4655 0.1533 0.1972 0.1150
1 11 0.4280 0.1410 0.1813 0.1057
1 12 0.3905 0.1286 0.1654 0.0965
2 2 0.4096 0.1468 0.2366 0.1380
2 3 0.3664 0.1452 0.2175 0.1269
2 4 0.3218 0.1450 0.1985 0.1158
2 5 0.4590 0.1722 0.2329 0.1359
2 6 0.4358 0.1519 0.2169 0.1265
2 7 0.3929 0.1474 0.1994 0.1163
2 8 0.3796 0.1134 0.1819 0.1061
2 9 0.5100 0.1547 0.2118 0.1235
2 10 0.4934 0.1254 0.1972 0.1150
2 11 0.4323 0.1367 0.1813 0.1057
2 12 0.4022 0.1169 0.1654 0.0965
3 1 0.3920 0.2056 0.2541 0.1483
3 2 0.3650 0.1914 0.2366 0.1380
3 3 0.3424 0.1692 0.2175 0.1269
3 4 0.2968 0.1700 0.1985 0.1158
3 5 0.4230 0.2082 0.2329 0.1359
3 6 0.3813 0.2064 0.2169 0.1265
3 7 0.3852 0.1551 0.1994 0.1163
3 8 0.3515 0.1415 0.1819 0.1061
3 9 0.4600 0.2047 0.2118 0.1235
3 10 0.4469 0.1719 0.1972 0.1150
3 11 0.4237 0.1453 0.1813 0.1057
3 12 0.3749 0.1442 0.1654 0.0965
Table 5: Expected overage and underage costs and the rank-
ing based on the expected critical raio.
i %MC HY c
o
i
c
u
i
ξ
i
Rank
1 15.0 40 6269 535 0.079 11
2 19.9 40 5739 600 0.095 9
3 24.9 40 5315 513 0.088 10
4 29.9 40 5093 219 0.041 12
5 15.0 45 6100 793 0.115 7
6 19.9 45 5802 616 0.096 8
7 24.9 45 5123 782 0.132 6
8 29.9 45 4509 883 0.164 5
9 15.0 50 5816 1169 0.167 4
10 19.9 50 5197 1313 0.202 1
11 24.9 50 4860 1124 0.188 2
12 29.9 50 4478 981 0.180 3
Table 6: Expected profit.
Scenario 1 2 3
Head rice sales 84.29 87.52 81.75
Revenue 3819035 3873344 3768627
Profit 113336 230482 32176
model which includes multiple outputs (i.e., the head
rice as the primary product and all byproducts). In
particular, we will identify the set of parameters such
that our model significantly outperforms the standard
newsvendor model. For simplicity, assume that =
{ω
1
} and that there are no penalty costs g
j
= 0 for
all j.
Suppose that the decision maker does not consider
multiple outputs and focuses only on the single pri-
mary output, which is the head rice (i.e., n = 1 and
j = 1). Then,
p
0
i
= p
i
E[A
i1
] = p
i
A
i1
(ω
1
)
h
0
i
= p
i
E[A
i1
] = h
i
A
i1
(ω
1
).
When the decision maker considers only one input
(n = 1), let i
(n = 1) be the best input type and ξ
i
(n=1)
the corresponding critical ratio. The optimality con-
dition (9) reduces to
x
i
(n=1)
= A
i1
(ω
1
)F
1
1
(ξ
i
(n=1)
) (14)
= A
i1
(ω
1
)[µ
1
+ σ
1
Φ
1
(ξ
i
(n=1)
)]
if the critical ratio ξ
i
(n=1)
> 0; otherwise the purchase
quantity is zero.
We will vary the selling price of the primary input
from 400000 to 70000 THB. Suppose that the sell-
ing price of the head rice is large, say p
1
= 65000.
Then, the type-9 input has the largest critical ratio.
Based on (14), the decision maker purchases 197 tons
of the type-9 paddy and obtains the expected profit of
2667857. When we consider all output types (i.e., n =
4), an optimal purchase quantity is 215 tons, and the
optimal expected profit is 2702104; the percent profit
loss is (2702104 2667857)/2702104 = 1.27%. On
Newsvendor Model for Multi-Inputs and -Outputs with Random Yield: Applications to Agricultural Processing Industries
79
Table 7: Profit loss from ignoring byproducts.
Purchase quantity
p
1
n = 1 n = 4 Opt. profit % profit
40000 0 186 415232 100.00
45000 155 198 862410 11.35
50000 176 205 1317887 4.32
55000 186 209 1777279 2.52
60000 192 213 2238948 1.71
65000 197 215 2702104 1.27
70000 200 218 3166306 0.99
the other hand, suppose that the selling price of head
rice is small as in the previous example, p
1
= 36800.
Then,
p
0
9
= p
1
A
9,1
(ω
1
) = 18400 < 21600 = c
9
,
and consequently ξ
9
< 0, the decision maker that ig-
nores all byproducts would not buy any paddies. Ta-
ble 7 shows the purchase quantity when the decision
maker focuses only on the head rice (n = 1), the op-
timal purchase quantity when all output types (n = 4)
are considered, the corresponding optimal expected
profits, and the percent profit loss, as the selling price
of the head rice varies. The purchase quantity when
the decision maker ignores all byproducts is less than
the optimal quantity. The difference between the two
quantities becomes smaller when the selling price of
the head rice becomes larger. In other words, our
model outperforms the standard newsvendor model
when the processing firm has a significant revenue
potential from the other products (other than the pri-
mary product). We can perform an ABC classification
on all outputs to determine their importance. If the
volumes of some byproducts are significant or their
selling prices are not negligible, the processing firm
could benefit from using our model with multiple out-
puts.
5 CONCLUSION
In summary, we formulate the multi-input and -output
newsvendor model with the random yield. The opti-
mization problem of determining the purchase quan-
tity of each input type is shown to be a convex pro-
gramming problem. In the numerical example, we use
the optimality condition to find the optimal purchase
quantities of different types of paddy for the rice mill,
who wants to maximize the total expected profit from
the head rice and its byproducts, namely the broken
rice, bran and husk.
Some future research directions are identified
below. In the standard multi-product newsvendor
model, the resource constraints are considered. We
could extend our model to include the resource con-
straints. Obtaining some structural results and de-
riving the optimality condition for the multi-input
and -output newsvendor model with resource con-
straints are interesting from a theoretical viewpoint.
From a practical viewpoint, we could consider price-
dependent demands. In many agricultural products,
the selling price itself is random, depending on var-
ious factors such as the world economic output, the
global production and consumption. In our current
model, the selling price is deterministic, and the de-
mand distribution is given exogenously. A stochas-
tic programming framework can be used to capture
the price-dependent demand. Another extension is to
consider contract farming, one of the most common
arrangements between a farmer and a private agricul-
tural processing company, wherein the farmer agrees
to produce at a pre-agreed market price for procure-
ment by the other party. A mechanism design frame-
work can be applied in order to improve efficiency of
the agriculture supply chain through an optimal con-
tract. Finally, when the variability of yield is signifi-
cant, and the decision maker is no longer risk neutral,
the objective of maximizing the expected profit would
not be suitable. Instead, one could maximize the ex-
pected utility, in which risk is explicitly taken into ac-
count. We hope to pursue these or related issues in
the future.
ACKNOWLEDGEMENTS
The problem was materialized after some discussions
with Mr. Chatbodin Sritrakul, our part-time master
student who owns a rice mill in the Northeast of Thai-
land. His independent project, a part of requirement
for a master degree in logistics management at the
school, was related to our model.
REFERENCES
Abdel-Malek, L. and Areeratchakul, N. (2007). A quadratic
programming approach to the multi-product newsven-
dor problem with side constraints. European Journal
of Operational Research, 176:1607–1619.
Ahumada, O. and Villalobos, J. (2009). Applciation of plan-
ning models in the supply chain of agricultural prod-
ucts: a review. European Journal of Operational Re-
search, 196(1):1–20.
Arnaout, J. and Maatouk, M. (2010). Optimization of qual-
ity and operational costs through improved scheduling
of harvest operations. International Transactions in
Operational Research, 17:595–605.
ICORES 2019 - 8th International Conference on Operations Research and Enterprise Systems
80
Birge, J. R. and Louveaux, F. (1997). Introduction to
Stochastic Programming. Springer-Verlag, New York.
Chen, L. and Chen, Y. (2010). A multiple-item budget-
constraint newsboy problem with a reservation policy.
Omega, 38:431–439.
Chernonog, T. and Goldberg, N. (2018). On the multi-
product newsvendor with bounded demand distribu-
tions. International Journal of Production Economics,
203:38–47.
Choi, S. (2012a). The multi-item risk-averse newsvendor
with law invariant coherent mueasures of risk. In
Choi, T., editor, Handbook of Newsvendor Problems.
Springer, New York.
Choi, T., editor (2012b). Handbook of Newsvendor Prob-
lems. Springer, New York.
Correa, P., Silva, F., Jaren, C., Afonso, P., and Arana, I.
(2007). Physical and mechanical properties in rice
processing. Journal of Food Engineering, 79:137–
142.
Cunningham, R., Herzog, T., and London, R. (2008). Mod-
els for Quantifying Risk. ACTEX Publications, Inc.,
Winsted, CT.
Hadley, G. and Whitin, T. (1963). Analysis of inventory
systems. Prentice-Hall, New Jersey.
Heyman, D. and Sobel, M. (1984). Stochastic Models in
Operations Research: Volume II. McGraw-Hill Book
Company, New York.
Higgins, A., Muchow, R., Rudd, A., and Ford, A. (1998).
Optimising harvest date in sugar production: A case
study for the Mossman mill region in Australia. Field
Crops Research, 57:153–162.
Hillier, F., Hillier, M., and Lieberman, G. (2000). Introduc-
tion to Management Science. McGraw-Hill, Inc., New
York, NY.
Hillier, F. and Lieberman, G. (2005). Introduction to Oper-
ations Research. McGraw-Hill, Inc., New York, NY.
Kazaz, B. (2004). Production planning under yield and de-
mand uncertainty with yield-dependent cost and price.
Manufacturing & Service Operations Management,
6(3):209–224.
Kusumastuti, R., van Donk, D., and Teunter, R. (2016).
Crop-related haresting and processing planning: a re-
view. International Journal of Production Economics,
174:76–92.
Lau, H. and Lau, A. (1995). The multi-product multi-
constraint newsboy problem: Applications, formula-
tion and solution. Journal of Operations Management,
13:153–162.
Moon, I. and Silver, E. (2000). The multi-item newsvendor
problem with a budget consteraint and fixed ordering
costs. Journal of the Operational Research Society,
51(5):602–608.
Nahmias, S. (2009). Production and Operations Research.
McGraw-Hill, Inc., New York.
Nahmias, S. and Schmidt, C. (1984). An efficient heuris-
tic for the multi-item newsboy problem with a sin-
gle constraint. Naval Research Logistics Quarterly,
31(3):463–474.
Porteus, E. (2002). Foundations of Stochastic Inventory
Theory. Stanford University Press, Stanford, CA.
Qin, Y., Wang, R., Vakharia, A., Chen, Y., and Seref, M.
(2011). The newsvendor problem: Review and direc-
tions for future research. European Journal of Opera-
tional Research, 213(2):361–374.
Silver, E., Pyke, D., and Peterson, R. (1998). Inventory
Management and Production Planning and Schedul-
ing. John Wiley & Sons, Inc., New York.
Soto-Silva, W., Nadal-Roig, E., Gonzalez-Araya, M., and
Pla-Aragones, L. (2016). Operational research mod-
els applied to the fresh fruit supply chain. European
Journal of Operational Research, 251:345–355.
Tan, B. and Comden, N. (2012). Agricultural planning of
annual plants under demand, maturation, harvest, and
yield risk. European Journal of Operational Research,
220:539–549.
Thailand Deparment of Internal Trade (2018). Price of
agricultural commodity. Retrieved September 2, 2018
from http://www.dit.go.th/en/AgriCom.aspx.
Turken, N., Tan, Y., Vakharia, A., Wang, L., Wang, R., and
Yenipazarli, A. (2012). The multi-product newsven-
dor problem: Review, extensions, and directions for
future research. In Choi, T., editor, Handbook of
Newsvendor Problems. Springer, New York.
Wilasinee, S., Imran, A., and Athapol, N. (2010). Op-
timization of rice supply chain in thailand: A case
study of two rice mills. In Sumi, A., Fukushi, K.,
Honda, R., and Hassan, K., editors, Sustainability in
Food and Water: An Asian perspective, pages 263–
280. Springer Nature, Heidelberg, Germany.
Xie, W., Liao, H., and Niu, B. (2018). Optimal mate-
rial ordering policy and allocation rule for a manufac-
turer making multiple products. Applied Mathemati-
cal Modelling, 55:637–651.
Zhang, B. and Du, S. (2010). Multi-product newsboy prob-
lem with limited capaity and outsourcing. European
Journal of Operational Research, 202:107–113.
Zhang, B. and Xu, L. (2013). Multi-item production plan-
ning with carbon cap and trade mechanism. Inter-
national Journal of Production Economics, 144:118–
127.
Zipkin, P. (2000). Foundations of Inventory Management.
McGraw-Hill, New York.
Newsvendor Model for Multi-Inputs and -Outputs with Random Yield: Applications to Agricultural Processing Industries
81