Research Article | Open Access

Neng-Hui Shih, Chih-Hsiung Wang, "An Extended Production and Inspection Model with Nonrigid Demand", *The Scientific World Journal*, vol. 2013, Article ID 623075, 7 pages, 2013. https://doi.org/10.1155/2013/623075

# An Extended Production and Inspection Model with Nonrigid Demand

**Academic Editor:**P.-y. Nie

#### Abstract

This paper extends a previous production and inspection (PI) model in relation to market demand that is nonrigid to consider an imperfect process that has a general hazard rate instead of a constant failure rate. Products are produced by an imperfect process that may shift randomly from the IN state to the OUT state. When the process is in the OUT state, it has a higher probability of producing a nonconforming product than when it is in the IN state. To achieve the zero defects policy, all products before delivery to the market should be inspected and the inspection order follows their production sequence. Furthermore, the inspection information from all previous products is used to decide either that the next candidate product should be inspected or that the inspection procedure for the current production lot should be terminated. When the inspection procedure is terminated, the remaining unmet demand is regarded as a shortage. An algorithm is developed to determine an optimal PI policy that minimizes the expected total cost, which includes the cost of inspection, of shortage, and of production.

#### 1. Introduction

In practice the quality status of production systems is never perfect due to corrosion, aging, and other factors; these result in a system that may randomly shift from the in-control state to the out-of-control state where the latter starts to produce more nonconforming products (e.g., see Wang [1]). Owing to the fact that nonconforming products are inevitable from an imperfect production system, the traditional economic production quantity (EPQ; e.g., refer to Stevenson [2]) needs to be amended. For example, both Porteus [3] and Rosenblatt and Lee [4] suggest using a smaller EPQ than the classical EPQ in order to diminish the number of nonconforming products in order that the cost of process setup, of inventory holding, and of defective products can be economically balanced.

Online inspection-maintenance (IM) is an effective way of reducing the number of nonconforming products in a production batch. This is because, when the process has shifted to the out-of-control state from the in-control state, the online IM helps to detect the out-of-control situation. This then allows recovery of the system into the in-control state, which shortens the duration the system remains in the out-of-control state. Nevertheless, frequent IM is always expensive and can result in huge costs. By balancing the cost of the process IM, of setup, of inventory holding, and of the nonconforming products in a production cycle, Tseng [5] (also refer to Wang [6]) explored the optimal IM schedule for a given production run length under the condition where the IM intervals are equal. Since a control chart is often used to monitor the quality status of an imperfect production system in practice, Rahim [7] studied how to jointly determine the optimal production batch size and the design of a control chart to monitor the process.

In a manner that is different from the methodology of using online IM to control process quality in order to reduce the number of nonconforming items in a production lot, it is possible to perform product quality control after the whole production batch is complete, called “off-line quality control” (e.g., see Raz et al. [8]). Using off-line quality control often happens when the system cannot be interrupted to maintain the system while the process is in operations or when such an interruption will incur a significant cost (see Rosenblatt and Lee [4]). The food industry (see Raz et al. [8]) and PCB manufacturing (see Sheu et al. [9]) are practical examples of using off-line quality control. Raz et al. [8] developed an economical off-line inspection and disposition model for such systems in order to balance the costs between inspection, the penalty for wrongly accepting a nonconforming product, and the penalty for wrongly rejecting a conforming product. Later, Raz et al.’s [8] model was reformulated by Sheu et al. [9] in order to consider two possible types of inspection errors.

A zero defects policy has been advocated for industrial production since the 1960s because nonconforming products will always result in companies losing their reputation and/or cause an upsurge in defective costs as a result of the cost of returns or warranty costs. When off-line quality control is considered, the zero defects policy can be easily achieved using Raz et al.’s [8] model by setting both cost parameter values for wrongly accepting a nonconforming product and rejecting a conforming product as infinity. However, when the process is subject to manufacturing variations, Raz et al.’s [8] model becomes invalid. To meet the zero defects policy when the process is subject to manufacturing variations (namely, a ZDMV problem), it is necessary to inspect each product before delivering it to the market. To deal with the ZDMV problem, Anily and Grosfeld [10] develop a production and inspection (PI) model for market demand that is nonrigid.

The purpose of this paper is to extend the PI model proposed by Anily and Grosfeld [10] to consider the process when there is an arbitrary discrete shift distribution instead of a constant hazard rate. The sections are arranged as follows. In Section 2, the imperfect process is described. In Section 3, an algorithm for finding an optimal PI policy is developed. Finally, concluding remarks are made in Section 4.

#### 2. The Imperfect Process

Assume that a production batch is produced from an imperfect system with the capacity . Here, we adopt the imperfect production system described in, for example, Wang and Sheu [11]. When we start to produce a batch, the system is set up and maintained thus is as good as new and in the in-control (IN) state; these actions have the cost . The varied cost for producing a product is . While producing, the imperfect system may shift at random from the IN state to the out-of-control (OUT) state. Let the random variable represent the number of produced products when the process shifts from the IN state to the OUT state since the last set up of the process. The probability that the first products are manufactured in the IN state is denoted by with . In addition, is denoted by for . The property of the manufacturing variations of the process also considered, that is the probability of producing a conforming product given that when the system is in the IN (the OUT state) is (), where .

When a production batch is completed from the imperfect production system, an inspection policy is used for economically controlling product quality where the inspection is assumed to be perfect. As in Anily and Grosfeld [10], the principle that the first produced product is first inspected (FPFI) is adopted. Performing inspections according to the FPFI strategy is able to economically produce more conforming products (also see Anily and Grosfeld [10]) since the quality status of the system producing the initial products in a batch is better than the status of producing the tailed products in a batch.

Let be the quality status of the first inspected products in a batch. The outcome of is denoted by , where or 1, which represents the th product in the batch that has been inspected to be conforming or nonconforming, respectively, for . Under the FPFI strategy, when the first products have been inspected, one can use all of their inspection information to infer the probability (denoted by ) that the process is in the IN state while the product is completely produced, where for , and . See the Appendix for a derivation of .

When the process does not have manufacturing variations, that is, and , one has In this case, the first nonconforming unit is the point at which the process shifts from the IN state into the OUT state. For example, if the 2nd unit is the first nonconforming unit, then one has , which implies that The last equation shows that the 3rd product must be produced in the OUT state.

#### 3. The PI Problem with Nonrigid Demand

Consider facing a nonrigid demand and a single production batch with a size of that is used to satisfy the demand, where . Under the FPFI strategy, if there are uninspected products left, then one can choose to inspect the next uninspected product or terminate the inspection procedure. The unit inspection cost is ($/product). When a product is inspected to be conforming, it can then be used to satisfy the demand; otherwise, the product is discarded. If one decides to terminate the inspection procedure even if there are uninspected products left, then the remaining unmet demand (RUD) will incur a unit shortage cost, ($/product), where (see Anily and Grosfeld [10]). This reveals that, through inspection, it is possible to obtain conforming products that are able to satisfy the RUD, which helps reduce the total shortage cost. The objective of this section is to find the optimal production lot size, , which minimizes the expected total cost, including the cost of inspection, of shortage, and of production under the FPFI strategy.

Suppose the first products have been inspected and their inspection information is then used to compute .

The decision as to whether to perform inspection on the th product or to stop the inspection procedure depends on their resulting “remaining expected cost" (REC), including the cost of inspection and the cost of shortage for the RUD. The optimal inspection policy is to choose the action that produces the smallest REC. The related notations for REC are defined as follows given that under the FPFI strategy where the RUD is and the batch size is , with the first products whose inspection results are recorded being and being the uninspected products left: : the REC if one chooses to inspect the th product and afterward an optimal inspection policy is followed. : the REC if one chooses to terminate the inspection procedure at the product; that is, only the first products are inspected, and the rest of the products in the batch are discarded. In this case, the REC is equal to . : the minimal REC by performing an optimal inspection policy.

Note that where A sufficient condition whereby the th product should be inspected is stated in the following lemma.

Lemma 1. *If , then the th product should be inspected.*

Lemma 1 shows that if the probability that the th product is produced in the IN state is large enough, that is, larger than the threshold , then inspecting the th product is attractive.

*Example 2. *To illustrate Lemma 1, the following parameter values are used: , , , , and with and , which is the case when the process has a discrete Weibull shift distribution with an increasing hazard rate (see Nakagawa and Osaki [12]). If the probability that the th product is conforming is greater than , then the product is classified as conforming, else the th product is regarded as nonconforming, where is randomly generated. The average value of with 1200 and 3600 simulations are drawn in Figures 1(a) and 1(b), respectively, where they indicate that has a similar trend decreasing in and the products produced before the 54th product should be inspected since the threshold is 0.0667.

**(a)**

**(b)**

Different from the case given in Lemma 1, one should always stop the inspection procedures if one of the following conditions occurs: (i) none of the uninspected products is left; then, the RUD is regarded as shortage; thus, for ; (ii) when the RUD is zero and the corresponding REC is zero; that is, for .

Using (i) and (ii) in (5) for gives which could be used as a boundary condition in computing RECs. That is,

As a summary, the following algorithm is proposed to find the optimal production batch size, , that minimizes the expected total cost, , by searching .

*Step 1. *Input the model parameter value: , , , , , , , , and . Initially, set .

*Step 2. *Set and .

*Step 3. *Set , and perform the following steps *Step* * 3.1.* Sequentially compute from , where if , then set ; else if , then compute through (6); otherwise, if , then compute through (4) and (5).

*Step*

*If and , then go to Step 3; else if and , then go to Step 2; otherwise, if and , then go to Step 4.*

*3.2*.*Step 4. *Output and STOP.

The computational complexity of performing the above proposed algorithm is significant with for and for . One can use the following property provided by Anily and Grosfeld [10] to reduce the computations: for . That is, when , Step 3.1 can be rewritten as for .

In Step 3, can be theoretically obtained by applying the law of large numbers. That is, one can simulate the discussed PI problem a large number of times in order to compute their average total quality control cost as an approximation , where the simulation approach is the same as the one we have used in Example 2 in order to determine whether the th product is conforming or not.

*Example 3. *The same model parameter value and simulation approach used in Example 2 is then adopted to compute with the extra parameter values: , , and . When we simulate the PI model 1200 times and the obtained average optimal lot size was 59, with the resulting average RUD being 7.5833, and the associated average total cost being 199.0653. Figure 2(a) shows that the average total cost is not sensitive in terms of lot size around the optimal lot size 59.

Again, when 3600 simulations were performed, we obtained the average solution as follows: , the average RUD is 7.7803, and the average total cost is 199.4059. Figure 2(b) depicts the average total cost with different lot sizes. When 7200 simulations were performed, we also have . The resulting average RUD is 7.8043 and the average total cost is 199.5970 (also see Figure 2(c)). This reveals that when the number of simulations becomes large enough, the average optimal PI solution converges. Note that in Figures 2(a)–2(c), the cost curve becomes much smoother when more simulations are performed.

**(a)**

**(b)**

**(c)**

It should be noticed that if only the last inspection information is used to infer the process quality of the next candidate product in terms of the inspection decision, the computational complexity dramatically reduces to for and for when performing our proposed algorithm for an optimal PI policy, where can be easily modified by replacing the index with in (1). Applying our proposed algorithm with the same parameter values given in Example 3, we obtained 31 as the optimal lot size and the corresponding total cost is 207.8792 (see Figure 3). Although the obtained optimal lot size 31 is an underestimate compared to the solution of Example 3, that is, when the simulation is run 7200 times, the percentage cost difference is only 4.15%, which is not that significant. This example shows that using a reduced amount of latest product quality information rather than all previous inspection information in order to determine the optimal PI policy may be a useful approach in some cases.

#### 4. Conclusions

This study extends Anily and Grosfeld’s [10] production and inspection (PI) model with one with nonrigid demand to one that considers an arbitrary discrete probability distribution instead of being limited to the case where the process possesses a constant hazard rate. The extended mathematical model and an associated algorithm for the optimal PI policy are established. Our proposed PI model should be able to be applied more widely in industry than the previous approach.

The incorporation of an inspection error into the PI model will need further research (see Grosfeld-Nir et al. [13]). When product inspection has a type I error, that is, a conforming product is inspected to be nonconforming, it does not only increase the inspection cost but also the production cost. In extremity, if the probability of the type I inspection error is one, then one will never obtain a conforming product through inspection. On the other hand, when type II inspection errors are present, that is, a nonconforming product is inspected to be conforming, it is impossible to achieve the zero defect condition, and thus, the impact of a warranty policy, such as a free repair warranty policy, on the PI problem needs to be included in order to determine its effect on the optimal PI policy.

#### Appendix

*A derivation of *. First notice that . Furthermore, it is easy to see that
The last equation can be rewritten as.
This is because when given that the th product is produced in the IN state, the status of the production system while producing the th product is independent of the products quality status of the previous products, (see Anily and Grosfeld [10]). Consequently, can be easily expressed as (1), where and
are used.

*Proof of Lemma 1. *If , then it is easy to see that . This implies that
In addition, from (4) and (5), it is easy to see that
Or, equivalently,
Therefore, when , one has

#### Acknowledgment

This research was supported by the National Science Council of Taiwan under Grant NSC 101-2410-H-251-004.

#### References

- C.-H. Wang, “Integrated production and product inspection policy for a deteriorating production system,”
*International Journal of Production Economics*, vol. 95, no. 1, pp. 123–134, 2005. View at: Publisher Site | Google Scholar - W. Stevenson,
*Operations Management*, McGraw-Hill, New York, NY, USA, 9th edition, 2009. - E. L. Porteus, “Optimal lot sizing, process quality improvement and setup cost reduction,”
*Operations Research*, vol. 34, no. 1, pp. 137–144, 1986. View at: Google Scholar - M. J. Rosenblatt and H. L. Lee, “Economic production cycles with imperfect production processes,”
*IIE Transactions*, vol. 18, no. 1, pp. 48–55, 1986. View at: Google Scholar - S.-T. Tseng, “Optimal preventive maintenance policy for deteriorating production systems,”
*IIE Transactions*, vol. 28, no. 8, pp. 687–694, 1996. View at: Google Scholar - C.-H. Wang, “Optimal production and maintenance policy for imperfect production systems,”
*Naval Research Logistics*, vol. 53, no. 2, pp. 151–156, 2006. View at: Publisher Site | Google Scholar - M. A. Rahim, “Joint determination of production quantity, inspection schedule, and control chart design,”
*IIE Transactions*, vol. 26, no. 6, pp. 2–11, 1994. View at: Google Scholar - T. Raz, Y. T. Herer, and A. Grosfeld-Nir, “Economie optimization of off-line inspection,”
*IIE Transactions*, vol. 32, no. 3, pp. 205–217, 2000. View at: Google Scholar - S. H. Sheu, Y. C. Chen, W. Y. Wang, and N. H. Shin, “Economic optimization of off-line inspection with inspection errors,”
*Journal of the Operational Research Society*, vol. 54, no. 8, pp. 888–895, 2003. View at: Publisher Site | Google Scholar - S. Anily and A. Grosfeld-Nir, “An optimal lot-sizing and offline inspection policy in the case of nonrigid demand,”
*Operations Research*, vol. 54, no. 2, pp. 311–323, 2006. View at: Publisher Site | Google Scholar - C.-H. Wang and S.-H. Sheu, “Optimal lot sizing for products sold under free-repair warranty,”
*European Journal of Operational Research*, vol. 149, no. 1, pp. 131–141, 2003. View at: Publisher Site | Google Scholar - T. Nakagawa and S. Osaki, “The discrete Weibull distribution,”
*IEEE Transactions on Reliability*, vol. 24, no. 5, pp. 300–301, 1975. View at: Publisher Site | Google Scholar - A. Grosfeld-Nir, E. Cohen, and Y. Gerchak, “Production to order and off-line inspection when the production process is partially observable,”
*Naval Research Logistics*, vol. 54, no. 8, pp. 845–858, 2007. View at: Publisher Site | Google Scholar

#### Copyright

Copyright © 2013 Neng-Hui Shih and Chih-Hsiung Wang. This is an open access article distributed under the Creative Commons Attribution License, which permits unrestricted use, distribution, and reproduction in any medium, provided the original work is properly cited.