A stochastic periodic review inventory model for vendor–buyer system with setup cost reduction and service–level constraint

Abstract This paper presents a joint economic lot-sizing problem under stochastic demand for a vendor–buyer system by synchronizing ordering and production cycles. The buyer manages its inventory periodically using a periodic review policy. The average demand and the buyer’s ordering cost are assumed to be fuzzy. The vendor’s production process is imperfect and the buyer’s inspection process is also imperfect. The vendor has opportunity to make an investment to reduce the setup cost. Since it is often difficult to calculate the shortage cost in inventory model, a service-level constraint corresponding to the buyer is considered in the mathematical model. The objective of the model is to simultaneously optimize the review period, production rate, setup cost, and the number of deliveries, such that minimize the joint total cost. We suggest an iterative procedure to find the optimal values of decision variables. A numerical example and a sensitivity analysis are given to show the application of the model and to investigate the effect of the changes in key parameters on the behavior of the proposed model.


Introduction
During the last decades, the research concerning with joint inventory problem has received a great deal of attention. The essence of the research was to coordinate and collaborate the parties in supply chain system by synchronizing production and inventory decisions in order to reduce the total cost. Many published works on joint inventory problem showed that making production and inventory decisions jointly will result a significant cost saving compared to an independent decision. In literature, the determination of production and ordering quantities to consider the benefits of all parties in the supply chain is called joint economic lot-sizing problem (JELP).
Recently, many researchers have developed a JELP under stochastic demand. Most of them have considered a continuous review policy to manage the buyer's inventory level. However, only few researchers have addressed a stochastic demand environment under periodic review policy. Lin (2010) was the first who considered a stochastic periodic review vendor-buyer model under imperfect production process and backorder price discount. Lin and Lin (2016) studied imperfect items and recovery process in a single-supplier-single-retailer-integrated inventory model. Later, Tahami, Mirzazadeh, Arshadi-Khamseh, and Gholakami-Qadikolaei (2016) studied the effect of inflationary condition and ordering cost reduction in a vendor-buyer system. Jauhari, Sejati, and Rosyidi (2016a) extended the Lin (2010)'s model by investigating the impact of adjustable production rate and variable lead time on model's behavior. Furthermore, Jauhari, Mayangsari, Kurdhi, and Wong (2017) gave an extension to their previous model by allowing the inclusion of adjustable production rate and inspection errors.
In most of aforesaid papers, the researchers have used a full cost model to develop the inventory model. In the full cost model, the objective of the inventory model is to find optimal policy which minimizes the joint total cost, including the shortage cost. In many practical situations, the shortage cost is very difficult to identify by an exact value for there will always be some intangible loss such as, the reputation and credibility losses and the delay of other parts, which consequently affects the customer loyalty and customer satisfaction (Li, Xu, & Ye, 2011). Therefore, a few researchers, including Shanker (2009, 2013) have used a service-level constraint to replace the shortage cost which implies that the shortage level per cycle is bounded. However, these models assumed that the production process is always perfect. In real situations, the defective items maybe produced due to unreliable process and/or damage in transit.
In most of the existing vendor-buyer models, usually the demand and the cost parameters are treated as crisp values. But in practical situations, it is difficult to set the parameters as crisp values due to e.g. new product introduction, single period setting and errors in data collections. Thus, here, the annual demand and the ordering cost are assumed to be fuzzy. In addition, the investment of setup cost reduction was often neglected in the previous inventory models. In reality, we often obtain a condition where a setup cost charged by the manufacturer is quite expensive due to high labor cost, long setup time, etc. Facing this condition, the manufacturer may invest an amount of money to reduce the setup cost. In real problem, an investment to reduce setup cost can be done by giving a comprehensive training to the operator, improving setup procedures and upgrading the tools. In this paper, we consider an investment in setup cost reduction which follows a logarithmic function and analyzed its impact in the proposed model.
In this paper, we develop a single-vendor-single-buyer model with stochastic demand, imperfect production process and periodic review policy. This paper contributes to the inventory literature in the following ways. First, we extend the model of Jauhari et al. (2017) by assuming that the annual demand and the ordering cost to be fuzzy in nature. Second, we give an opportunity to the vendor to reduce the setup cost by doing an investment. We intend to study how the investment made by the vendor can affect the inventory decisions, especially when the production rate can be adjusted flexibly. Third, we propose a mathematical model for vendor-buyer problem under the service-level constraint. We study the impact of the changes in service-level constraint on model's behavior, especially when there are imperfect items and inspection errors. Furthermore, an iterative procedure is developed to find the optimal values of decision variables. A numerical example and a sensitivity analysis are presented to show the application of the model and to study the changes in key parameters on model's behavior.

Literature survey
There have been plenty of published papers on vendor-buyer inventory model. The published models dealt with determining the optimal ordering and the production lots which can be achieved by integrating inventory decisions across the supply chain. Goyal (1976) was the first author who developed an integrated inventory model for a vendor and a buyer. He proposed an infinite production rate and used a lot for lot policy to deliver the product from the vendor to the buyer. Goyal's model was then extended by Banerjee (1986) by proposing a finite production rate for a vendor system. He suggested a benefit sharing scheme to induce the buyer to joint with an integrated policy. Glock (2012a) developed a supply chain system consisting of a single buyer and multiple vendors. The author used an equal-sized batch shipment to deliver the single product from vendor to buyer. He investigated two different shipment policies, which are immediate deliveries and delayed deliveries, to coordinate the vendor's production system and buyer's ordering system. Later, Beck, Glock, and Kim (2017) extended the model of Glock (2012a) by considering a geometrically increasing batch shipment policy. Taleizadeh, Niaki, and Wee (2013) considered fuzzy-lead times and suggested two hybrid procedures to solve the integrated inventory problems. Fauza, Amer, Lee, and Prasetyo (2016) proposed a single-vendor-multiple buyers-integrated inventory model for food product involving different quality characteristics. Jia, Liu, Wang, and Lin (2016) studied postponed simultaneous delivery strategy in a single-vendor-multi buyer system under capacity utilization. Furthermore, the basic vendor-buyer model has been extended into various problems, such as imperfect production (Dey & Giri, 2014;Sana, 2011), unequal shipment policy (Giri & Roy, 2013), transportation cost (Wangsa, 2017;Wangsa & Wee, In press), environmental impacts (Li, Su, & Ma, 2017;Wahab, Mamun, & Ongkunaruk, 2011) and discount policy (Muniappan, Uthayakumar, & Ganesh, 2016;Zhang, Luo, & Duan, 2016).
Previous research on joint vendor-buyer problem focused on developing the model by considering stochastic demand. Ben- Daya and Hariga (2004) was the first author who introduced stochastic demand. He proposed an inventory model in which the demand follows normal distribution and the lead time is variable. Glock (2009) proposed an unequal shipment policy for delivering the product in a vendor-buyer system under stochastic demand. He showed that the proposed policy can achieve a significant saving compared to an equal shipment policy. Glock (2012b) extended Ben-Daya and Hariga (2004)'s model by allowing that the lead time can be reduced using a crashing cost. Kurdhi, Lestari, and Susanti (2015) developed a fuzzy continuous review vendor-buyer model by considering fuzzy demand and imperfect items. Braglia, Castellano, and Frosolini (2016) studied a safety stock management in an integrated inventory model consisting of a vendor and a buyer with continuous review policy and controllable lead time. They used a present value criterion to consider time value of money and inflation in the model. Jauhari, Fitriyani, and Aisyati (2016b) considered an inclusion of freight rate discount in a two-stage supply chain consisting of a vendor and a buyer. Two inventory models are developed under two types of discounts (all-weight discount and incremental discount) and two procedures are suggested to determine the decision variables. However, most of these models adopted a continuous review policy rather than periodic review policy to manage the buyer's inventory level. In reality, we often see that the periodic review is adopted by practitioners for managing the inventories in some stores such as drugs store, grocery stores and retail stores. Silver et al. (1998) showed some benefits of using periodic review policy, which are reducing reviewing cost and reducing reviewing errors.
In most of the above-mentioned papers, the production process and inspection process are assumed to be perfect. In reality, the production process is imperfect and produces a certain number of defective items. In addition, the inspection process carried out by the buyer is also imperfect due to human errors. Huang (2004) was the first who developed vendor-buyer model with defective items. He considered an uniform distribution for presenting the percentage of defective items. Ouyang, Wu, and Ho (2006) proposed two inventory models where the defective rate is taken to be constant and fuzzy. Khan and Jaber (2011) analyzed the effect of defective items obtained from suppliers in the inventory model consisting of a vendor and a buyer. Furthermore, Hsu and Hsu (2012) analyzed the inspection errors in a deterministic vendor-buyer model. Khan, Jaber, and Ahmad (2014) proposed a model with the inspection errors and learning. Jauhari (2016) investigated the effect of inspection errors and transportation cost in stochastic model. Castellano et al. (2017) studied a stochastic periodic review inventory model with imperfect production process and stochastic demand. The vendor has an opportunity to invest amount of money to improve the quality and to reduce the setup cost. Priyan and Uthayakumar (2017) proposed a vendor-buyer integrated system with defective items, setup cost reduction, and inspection errors. The defective rate is formulated using probabilistic function and the setup cost is reduced by means of investment. Pal and Mahapatra (2017) developed a three-layer supply chain involving of a supplier, a manufacturer and a retailer with imperfect production process, inspection errors and rework. Furthermore, Kim and Sarkar (2017) analyzed the impact of a quality improvement in a complex multi-stage production process under situation where the quality investment is made under a budget constraint.
The above literature review shows that a stochastic vendor-buyer inventory model has been extensively discussed in the past, but none has analyzed the impact of incorporating fuzzy annual demand, fuzzy ordering cost, imperfect production process, inspection errors, and adjustable production rate simultaneously. Therefore, here, an integrated inventory model for single-vendor and single-buyer system with imperfect items, inspection errors, periodic review, fuzzy annual demand, fuzzy ordering cost, adjustable production rate, setup cost reduction, and service-level constraint is developed. A comparison of the proposed model with some of the related papers in the inventory literature is shown in Table 1.

Notations
The following notations will be used to develop the model:

Decision variables:
T review period (year) P production rate (units/year) S setup cost ($/setup) n number of deliveries from vendor to buyer Parameters: A ordering cost ($/order) S 0 original setup cost ($/setup) I(S) the capital investment required to reduce the setup cost ($) γ probability of defect c p unit purchasing cost c dB buyer's cost of a post-sale defective item ($/unit) c i inspection cost ($/unit) c dV vendor's cost of a post-sale defective item ($/unit) c r cost of false rejection of non-defective item ($/unit) c w vendor's warranty cost for producing defective item ($/unit) e 1 probability of type-I inspection error (classifying a non-defective item as defective) e 2 probability of type-II inspection error (classifying a defective item as non-defective) a 1 fixed production cost ($) a 2 variable production cost ($/unit) h B holding cost for buyer ($/unit/year) h V holding cost for vendor ($/unit/year) X the protection interval demand (unit) R buyer's target level ξ proportion of demands which are not met from stock, i.e. 1-ξ is the service level

Problem description
The following notations are used in our model: (1) The model considers single-vendor-single-buyer with single product.
(2) The demand follows normal distribution with mean D and standard deviation σ.
(3) The buyer adopts periodic review policy to control the inventory level.
(4) Inventory level at buyer will be reviewed for every T units of time. A sufficient quantity is ordered up to the target level R and the ordering quantity will arrive at the buyer after lead time. (5) The length of lead time must not exceed the review period T. Thus, there is never more than a single order outstanding in any cycle. (6) The buyer orders quantity DT units and the vendor will manufacture nDT items per production setup with a finite production rate. It is assumed that P(1 − γ) > D. Each lot will be delivered to the buyer in n equally sized shipments. The buyer will incur transportation cost V for each delivery of lot. The vendor will incur setup cost S for each production run. (7) The lot received by the buyer contains some defective items with probability γ. Therefore, the buyer will conduct an inspection process to screen out the defective items. (8) The inspection process is imperfect due to human errors. The inspector may incorrectly classify the non-defective items as defective, which is called by type-I error, or incorrectly classify the defective items as non-defective, which is called by type-II error. (9) The production rate is adjustable. The vendor has an opportunity to control the production rate between P min and P max . In practical situations, the production rate of a manufacturing facility can be influenced by setting the speed of machine and inserting idle time over production run (Buzacott & Ozkarahan, 1983;Schweitzer & Seidmann, 1991). Therefore, adjusting the production rate can reduce the vendor's inventory level which leads to a significant saving on total cost. (10) There is an opportunity for the vendor to reduce the setup cost. The vendor can invest an amount of money to reduce the setup cost from original level S 0 to a target level S. The setup cost investment done by the vendor is denoted by I(S), where I(S) is a convex and strictly decreasing function.

Vendor's cost model
The vendor manufactures nDT units in each production cycle when the buyer orders a quantity of DT units. The length of production cycle and buyer's ordering cycle are nT and T, respectively. The setup cost charged to the vendor for each production cycle is S/nT.
When the vendor produces the first lot, which is DT units, he will deliver it quickly to the buyer. After that, the vendor will make the delivery on the average every T unit of time until his inventory drops to zero. The average inventory level for the vendor can be calculated as follows: Thus, the holding cost for the vendor is given by the following equation: As we assumed in the previous section, the vendor has an opportunity to adjust production rate between P min and P max . Therefore, the production cost function will consequently be affected by the level of production rate. By adopting the formulation proposed by Khouja and Mehrez (1994), the production cost function is derived by: A capital investment will be made by the vendor to reduce the setup cost. The investment on setup cost reduction follows a logarithmic function. The formulation of investment is given by: where 0 < S ≤ S 0 , d = 1 , , δ is the percentage decrease in S per dollar increase in I(S). Therefore, the annual investment per year is I(S), where τ is a fractional opportunity cost per unit time.
As misclassifications occurs during inspection process, the vendor will endure type-I error cost, post-sales failure cost, and warranty cost. The type-I error cost, post-sales failure cost, and warranty cost are given by the Equations (5), (6) and (7), respectively.
Hence, the annual total cost for the vendor, which is composed of production cost, setup cost, investment cost, holding cost, post-sales failure cost, type-I error cost, and warranty cost, is expressed by:

Buyer's cost model
Since A is the ordering cost per order and V is the transportation cost, the ordering cost and the transportation cost per year are given by A T and V T , respectively. The purchasing cost can be calculated by multiplying the unit purchasing cost (c p ) and the demand (D). As we described in the previous section that the lot delivered from vendor to the buyer may contain a number of defective items with probability γ. The buyer then inspects the incoming lot and classifies the items into two categories, non-defective items and defective items. However, the inspection process is imperfect and produces two kinds of errors, which are type-I error and type-II error. The type-I error is occurred by categorizing non-defective products as defective products, while the type-II error is occurred by categorizing defective products as non-defective products. The defective items that pass the inspection process would be sold to end customers. End customers who detect the quality problems will return the products to the buyer. All the items classified by the inspector as defective items and all the items returned from end customers are sent back to the vendor in a single batch.
The formulation of holding cost is adopted from Lin (2010) and is presented in Equation (9). The inspection cost and the post-sales failure cost for the buyer are given by Equation (10) and Equation (11), respectively.
The annual total cost for the buyer is determined by the following equation: We assume that the protection interval demand X follows a normal distribution with mean D (T + L) and standard deviation √ T + L. By considering that the lead time consists of production time and transportation time, DT P + g, so the target level is given by R = D (T + DT P + g) + k √ T + DT P + g. Therefore, the expected shortage quantity E = (X − R + ) at the end of the cycle can be calculated by: , (k) and Φ(k) denote the standard normal p.d.f and c.d.f, respectively.
Hence, by allowing the service-level constraint, the above buyer's annual cost can be transformed to subject to

Joint total cost model
The annual joint total cost for a supply chain system consisting of a vendor and a buyer can be derived by adding the annual buyer's total cost and annual vendor's total cost, which is: In reality, it is quite difficult to determine the annual demand and ordering cost because of various uncertainties. Therefore, in this paper, we develop a mathematical model for a supply chain system by allowing the inclusion of fuzzy annual demand and fuzzy ordering cost. Let us consider that the annual demand is located in an interval D − q 1 ,D + q 2 and the ordering cost is located in interval Ā − p 1 ,Ā + p 2 , where q 1 , q 2 , p 1 , and p 2 are determined by the decision-makers. Based on the intervals, we defuzzify D and Ā to be triangular fuzzy numbers, which are: where 0 < q 1 ≤ D , 0 < p 1 ≤ Ā , 0 < q 2 and 0 < p 2 . If D and Ā are fuzzified to be D and Ã , respectively, the annual joint total cost is fuzzy value also. Then, it can be rewritten as follows: (k)

Solution methodology
To find the solution of the above problem, we investigate the first partial derivatives of AJTS(T, P, S, n) with respect to T, P, and S, which are presented in Equation (19), (20) and (21), respectively.
AJTS(T, P, S, n) AJTS(T, P, S, n) S = 1 nT − S By setting Equations (19-21) equal to zero, rearranging and simplifying we will obtain From Equation (23), it is clear that if the value of ϑ < 0, the above equation may result in the infeasible solution. If we set P = P min if ϑ < 0, then Equation (23) can be rewritten as follows: Theoretically, the optimal review period, production rate, and setup cost can be determined by Equations (22), (23) and (25), respectively. However, it is difficult to verify analytically that the annual joint total cost is a convex function. Although it can be easily shown (by taking the second derivative) that the annual joint total cost is convex in T* and S*, the annual joint total cost may not be convex in P*. Hence, we note here, that the solutions obtained by the proposed procedure cannot be claimed as a global optimal solution and the proposed procedure is only guaranteed to converge to local optimal solutions. Nevertheless, many scholars, including Ben-Daya and Hariga (2004), Glock (2012b), Jauhari et al. (2016bJauhari et al. ( , 2017, have used similar procedures to find the solutions in stochastic JELPs. It is obvious that the parameters T, P, and S are dependent of each other. For example, to calculate T we need to obtain P, which in turn is a prerequisite for determining T. Thus, to find the solution of the above problem, we propose an iterative procedure which is developed based on Ben- Daya and Hariga (2004). A proposed algorithm is provided below step 1 fuzzify D and A to be a triangular fuzzy numbers.D = D − q 1 ,D,D + q 2 and Ã = Ā − p 1 ,Ā,Ā + p 2 where q i and p i for i = 1,2,…. are decided by the decision-makers.
step 2 defuzzify the fuzzy numbers D and Ã using the signed distance method.
step 8 for a given previous value of T i , compute P i + 1 from equation (25).
step 9 for a given previous value of P i + 1 and S i , compute T i + 1 from equation (22).
step 10 for a given previous value of T i + 1 , compute S i + 1 from equation (24).
step 11 if P i = P i + 1 , T i = T i + 1 and S i = S i + 1 go to step 12, otherwise go to step 4 with i = i + 2.
step 12 compare S i with S 0 a.if S i < S 0 , then the solution obtained in step 11 is optimal for given n. We denote the solution by (T * i , P * i , S * i ).
b.if S i ≥ S 0 , then for given n set S * i = S 0 and compute the corresponding values of T * i and P * i from equation (22) and equation (25), respectively.
. year, ξ = .025. The optimization results for the above numerical example are shown in Table 2. The iteration will stop at n* = 3 with service level 1-ξ = 98.35%. Thus, the optimal values of decision variables, are T* = .2898 years, P* = 1777.9 units/year, S* = $871.22 and the buyer cost, vendor cost, and joint total cost are $ 66,867, $57,331, and $124,198, respectively. We further analyze the impact of the changes in key parameters, including q 1 , q 2 , p 1 , p 2 ,δ, e 2 , e 2 , and ξ, on the model's behavior. The sensitivity analysis is performed by observing the optimal values of T*, P*, S*, n* and their impacts on the buyer cost, vendor cost, and the joint total cost. As we described in the previous section that the demand and the ordering cost are considered to be fuzzy rather than constant. Fuzzy numbers denotes numbers that influence the crisp values to determine the fuzzy annual demand and fuzzy ordering cost. In this section, we first investigate how the fuzzy annual demand influence the model's behavior. Tables 3 and 4 presents the impacts of the changes in q 1 and q 2 on the model, respectively. We observe that the increased of q 1 and q 2 lead to the constant value of n. The impact of the increase in q 1 and q 2 on the buyer cost, vendor cost, and the joint total cost is quite different. When q 1 is increased gradually, the buyer cost, vendor cost, and the joint total cost are decreased significantly. But when q 2 is increased continually, the buyer cost, vendor cost and the joint total cost are increased as well. In addition, when the value of annual demand is considered to be a constant (q 1 = q 2 = 50) the model will result in $67,705, $58,036, and $125,741 for the buyer cost, vendor cost, and joint total cost, respectively. It is clear that when q 2 -q 1 is getting higher, the annual demand will also increases, which Table 4. the impact of the changes in q 2 on the proposed model (for q 1 = 100).
.  Table 5. the impact of the changes in p 2 on the proposed model (for p 1 = 20).
. consequently leads to the increase in all costs. On the contrary, when q 2 − q 1 is getting lower, the annual demand reduces and leads to the decrease in all costs. It is also interesting to investigate how the changes in q 1 and q 2 will affect S, P, and T. We observe from Tables 3 and 4 that S is significantly affected by the changes of q 2 and q 1 . When q 2 − q 1 is getting higher, we observe that S is getting lower. But when q 2 − q 1 is getting lower, S is getting higher. Facing a greater annual demand the vendor will have a higher setup frequency resulting in an expensive setup cost. Thus, the vendor tends to decrease the setup cost to avoid from the increasing of annual setup cost. However, the vendor still have an opportunity to reduce the setup cost using an investment. Moreover, the value of P is slightly changing, when there is an increases in q 1 and q 2 . Facing the changes in annual demand, the vendor tends to balance the inventory level by adjusting the production rate. Thus, the vendor will receive benefits from applying adjustable production rate policy. Table 6. the impact of the changes in p 1 on the proposed model (for p 2 = 50).
.   Furthermore, as q 1 and q 2 increases from 10 to 100, which is 10 times greater, the review period does not vary substantially. Tables 5 and 6 show the sensitivity analysis to investigate the behavior of the model when there is only one change in parameters p 2 and p 1 , while the other parameters remain unchanged. The higher p 2 , the higher the setup cost and the lower production rate, which lead to an increase in the vendor cost and a decrease in the buyer cost. We observe that as p 2 − p 1 increases, the ordering cost and the buyer cost will eventually be higher, which causes the total cost to be higher as well. It can also be seen that the setup cost continually increases as p 2 adopts higher value. The production rate is reduced as there is an increase in p 2 . The vendor tends to have a greater inventory level and a higher setup cost which ends up in an increasing of the vendor cost. Moreover, p 1 has different impacts as p 2 does on model's behavior. Facing the increase in p 1 , the setup cost decreases, while the production rate increases which leads to the decrease in all parties costs. We note here, that the review period is mostly affected by the changes in p 1 and p 2 rather than the changes in q 1 and q 2 . It is obvious that when p 1 and p 2 are changed up to ten times higher, the review period varies substantially.
The impact of the variation of δ on the proposed model is shown in Table 7. The value of δ reflects how efficient the investment made by the vendor can reduce the setup cost. We observe interesting results which indicate that the value of δ has a significant impact on the decision variables and costs. When the value of δ gradually increases, the optimal setup cost decreases. For example, when δ is increased from .0002 to .0003, the setup cost is decreased from $328.37 to $198.61. It implies that if an investment becomes more efficient, the vendor will obtain more benefits from a lower setup cost. The number of deliveries also changes as there is an increase in δ. For a fixed n, the review period decreases due to the increase in δ. The supply chain system seems to shorten the review period which ends up in reducing inventory level. For a case when δ is increased from .0001 to .0004 (n = 3), the production rate is decreased but for a case when δ is increased from .000 to .001 (n = 1), the production rate is relatively constant. Furthermore, the cost associated with parties in the supply chain system is reduced, as there is an increase in δ. It can be seen that the savings earned by the vendor is much higher than the buyer. Table 8 shows the impact of the variations of type-I error (e 1 ) on the model. It shows that as e 1 increases from .01 to .1, the cost of rejecting non-defective items and the cost of warranty increase which ends up in an increasing of all parties costs and supply chain cost. The higher value of e 1 indicates that the probability of the inspector make a mistake is getting higher which leads to the greater of amount of defective items returned from the buyer to Table 9. the impact of the changes in e 2 on the proposed model (for e 1 = .04). the vendor. Consequently, the warranty cost paid by the vendor will raise significantly. We may also see that the values of T, P, and S also vary when the value of e 1 is set to be higher value. However, the optimal number of deliveries remains unchanged. When e 1 is changed from .01 to .1, the setup cost and the review period are decreased from $890.57 to $835.51 and from .2963 years to .2779 years, respectively, while the production rate is increased from 1766.5 units to 1781.8 units. Table 9 summarizes the effects of the changes in type-II errors (e 2 ) on the proposed model. In the previous section, we defined that the type-II errors is any error made by the inspector in classifying the defective items as non-defective items. This condition will leads to a higher amount of defective items returned from the customers to the buyer. Consequently, the post-sales failure paid by the buyer to the customers increases as well.
From Table 9, we may observe that the buyer cost, vendor cost and the joint total cost increase due to the increase in e 2 . The increases are majorly caused by the post-sales failure costs incurred by the vendor and the buyer, which substantially cause joint total cost to be higher. It obvious that the percentage increase in the joint total cost in Table 9 is lower than those in Table 8. It implies that the type-I error has much more impact on the joint total cost than that of the type-II error. Therefore, the managers and practitioners need to pay more attention to controlling the type-I errors to reduce the joint total cost Finally, we also investigate how the service-level constraint gives impact on the decision variables and costs. Table 10 shows the impact of the changes in ξ on the proposed model. The higher the service level will lead to positive influences on customer satisfaction and loyalty which are important to strengthening competitive advantage in the market. As the value of service level (1-ξ) becomes higher, the review period is increased, while the number of deliveries is decreased. However, the values of P and S are insensitive to the changes in ξ. By adopting a higher service level, the inventories held in the system seems to increase to prevent from stockout. However, the all parties costs are increased as there is an increase in service level.

Conclusions and future research directions
This paper developed an integrated inventory model for vendor-buyer system by addressing some considerations, including fuzzy annual demand, fuzzy ordering cost, imperfect production, inspection errors, setup cost reduction, and service-level constraint. Previous research on this problem mostly neglected the investment in reducing setup cost and used a shortage cost to formulate a mathematical model for vendor-buyer system. Whereas in real system, the vendor may have an option to invest amount of money to reduce the setup cost. In this paper, the annual demand and the ordering cost are taken to be fuzzy rather than constant. We also considered imperfect production and imperfect inspection. Misclassifications occur during inspection, where some errors may influence the inspector's fault in categorizing items to be defective or non-defective. We proposed a mathematical model which minimizes the joint total cost and suggested an iterative procedure to obtain the optimal review period, production rate, setup cost and the number of deliveries. A numerical example and a sensitivity analysis are given to show the application of the model and to study the behavior of the model in dealing with uncertainty of the values of some parameters.
The results from a sensitivity analysis show that the parameters of fuzzy annual demand and fuzzy ordering cost affect the key parameters and costs. Thus, the determination of fuzzy parameters by the decision parameters must be accordance with the actual annual demand and ordering cost trends in the real system. In addition the managers or practitioners need to control type-I error carefully since this kind of error gives more impact to the costs than that of type-II error. We also found that the optimal number of deliveries is only influenced by the changes of service-level constraint. Furthermore, the result shows that the higher service level, the higher joint total cost and the longer review period.
The model can be extended by allowing the inspection to be taken in vendor side. Thus, the defective items found by the inspector can be reworked. Further study may investigate the effect of both imperfect items and inspection errors on carbon emissions in the supply chain system. Finally, interesting managerial insights may be resulted by studying how the changes in fuel price affect the costs in an integrated vendor-buyer system.

Disclosure statement
No potential conflict of interest was reported by the authors.