1 Introduction

Efficient inventory management is a significant supply chain management challenge. Therefore, collaboration strategies and cooperation contracts, such as vendor-managed inventory (VMI), are viable approaches to improving inventory levels. This approach reduces inefficiencies in the production system, damages and affectations in the inventory and high costs in the company logistics activities. Then, inventory models allow the optimization of the use of resources and improvement of the production and logistics processes in a supply chain (Salas-Navarro et al., 2017, 2022).

During the last decades, many studies have established a vendor-managed inventory as a collaborative strategy that allows the vendor (manufacturer) to manage the stocks of the buyer (retailer) and to develop the planning and programming of replenishment of products in sale points. Many authors have studied VMI models (see, for instance, Vlist et al., 2007; Darwish & Odah, 2010; Yu et al., 2012; Mateen & Chatterjee, 2015; Mateen et al., 2015; Taleizadeh et al., 2015a; Khan et al., 2016) for a two-layer supply chain. Generally, these studies have considered single-vendor (supplier) and single-buyer (retailer) and established replenishment agreements for joint inventory policies. The approach most used in VMI models is the supply chain for two levels (supplier-retailer).

An imperfect production system generates defective items that affect the inventory levels and optimal lot size because it reduces the number of good items available for sale (Salas-Navarro et al., 2020). Porteus (1986) was the first to incorporate the effect on defective items into EOQ inventory models, followed by Cheng (1989) and Cheng (1991), who included the defective items in EPQ inventory models. Salameh and Jaber (2000) formulated an EOQ inventory model with defective products, and Chiu (2003) incorporated the remanufacturing of defective items as a strategy to reduce non-quality costs. Wee et al. (2007), Eroglu and Ozdemir (2007), and Arindam Roy et al. (2009) considered defective items and that a fraction of these are remanufactured. Kreng and Tan (2011), Lin et al. (2012), Soni and Patel (2012), and Jaggi et al. (2013) assumed defective items and credit policies between supplier and retailer. These studies applied the remanufacturing process to obtain products of intermediate quality that can be sold at a lower selling price.

The deterioration of good items in a real problem is considered an inevitable characteristic of some products, and quality problems generate defective products as outputs from the production process (Lee & Kim, 2014; Tiwari et al., 2022). The deterioration of products is a significant consideration in inventory systems because bacteria, disease, insect damage, and expiration can affect the products while they are stored. Deterioration can occur in perishable products such as food, milk, fruits, vegetables, meats, and other products such as photographic rolls, electronic components, alcohol, perfumes, and gasoline (Khakzad & Gholamian, 2020; Pando et al., 2018).

Whitin (1957) and Ghare and Schrader (1963) were the first to include deteriorated items in inventory models. From these investigations, five reviews have been developed in succession about the advances in the inventory deterioration literature (Bakker et al., 2012; Goyal & Giri, 2001; Janssen et al., 2016; Nahmias, 1982; Raafat, 1991; Taleizadeh et al., 2020). Archetti et al. (2007) developed a vendor-managed inventory-routing problem for a two-layer supply chain comprised of a single supplier and multiple retailers. Coelho et al. (2020) incorporated a multi-attribute approach to extend the multi-depot inventory routing problem. Also, Coelho et al. (2014) and Shaabani (2022) studied the vehicle-routing and inventory management problem, considering single-supplier and multiple-buyer supply chain structures and evaluating perishable inventory.

Some authors have considered variable deteriorated items (Sana, 2010), exponential deteriorated items (Chan et al., 2017), and uncertainty deteriorated items (Li et al., 2017). Other research has incorporated constant deterioration (Shah et al., 2013; Wee & Widyadana, 2013); Sicilia et al., 2014; Kim et al., 2014; Chakraborty et al., 2015; Dye & Yang, 2016; Duan et al., 2016; Chen et al., 2018), and time-varying deterioration (Li et al., 2019). This situation affects the efficiency of the retailer’s operation and can incur high costs and reduce profits. Thus, supply chain members should establish strategies that control the processes of product deterioration and quality control to mitigate the negative impact on operational costs.

Many researchers have studied the inventory problem considering the market demand as an exponential function for defective items in economic order quantity (EOQ) inventory models (see, for example, Hollier & Mak, 1983; Ouyang et al., 2005; Sana, 2012; Yadav & Swami, 2013; Salas Navarro et al., 2018). Other authors have developed economic production quantity (EPQ) and EOQ inventory models assuming uncertainty demand that follows an exponential function (Pal et al., 2012; Roy et al., 2012), uniform function (Pal et al., 2013b; Vandana & Kaur, 2019), and normal function (AlDurgam et al., 2017).

Some authors studied imperfect systems with probabilistic demand and deteriorating items consideration. Lin (2013) developed an inventory model with defective products with stochastic demand and lead time. Kitaeva et al. (2017) proposed an inventory model that considers continuous deteriorating and demand-sensitive prices that follow an exponential distribution function. Additionally, Freeman et al. (2018) and Braglia et al. (2019) incorporated uncertain demand by considering randomly generated scenarios from demand distribution. Wang et al. (2021) assumed that the purchasing and the reference price of customers determine customer demand. Furthermore, Poormoaied (2022) developed an inventory model considering a Poisson process for the demand rate, and San-José et al. (2022) included a time-dependent demand function for a discrete inventory cycle system.

Deteriorating items and defective products negatively affect inventory levels in a supply chain. An imperfect production system reduces product availability and the ability to fulfill customer orders, which increases holding inventory and deterioration costs. Companies must then implement strategies to obtain income from selling deteriorating products or remanufacturing defective products as inputs for secondary markets.

The vendor-managed inventory problem for deteriorating items can be studied in supply chains incorporating two or three echelons. This problem includes suppliers, manufacturers, and retailers with imperfect production systems generating defective products.

According to the gaps analysis, the following questions are raised in this research:

  • How does an imperfect production system with defective and deteriorated products affect a supply chain?

  • How can you optimize the benefits of a 3-layer supply chain in which contracts for inventory policy planning are established through a vendor-managed inventory collaboration scheme?

  • How can the defective product remanufacturing strategy generate additional revenue in an imperfect production system?

  • How can costs associated with inefficient inventory management processes affect raw material replenishment lot sizes, production rates, sales prices, and product cycle times in a supply chain?

In this paper, a VMI model for a three-layer supply chain is developed. It is assumed a network configuration with multiple suppliers, manufacturers, and retailers that provide, produce and sell perishable items that can deteriorate during storage. This study proposes inventory policies to increase income by selling perishable products in retailers as inputs for secondary markets. Additionally, an imperfect production system is considered during production time, and a portion of defective products is separated from conforming products through quality inspections. Defective products are remanufactured to obtain secondary products sold at lower prices in supporting industries.

This research aims to develop a VMI model considering an imperfect production system that generates defective and deteriorated items in suppliers, manufacturers, and retailers. This model incorporates the remanufacturing process as a strategy to increase profits. Thus, the VMI model considers the replenishment lot size of raw material, the production rate of products, the selling price of products, and the cycle length of products as decision variables. Additionally, this VMI model includes inventory holding costs, setup costs, screening costs, purchasing costs, deterioration costs, and production costs.

The contributions of this paper that distinguish it from another related research are:

  1. 1.

    This research contributes to inventory management literature because it constitutes a new inventory model that models reality more accurately and establishes a tool for improving company productivity in various economic sectors.

  2. 2.

    The market demand follows a declining exponential function of time and is synchronized with raw material and run-time production.

  3. 3.

    Deteriorated items can occur in agricultural products, electronic components, volatile liquids, drugs, fashion goods, and other products that can suffer deterioration over time.

  4. 4.

    The VMI model optimizes the replenishment lot size of raw materials, production rate of products, selling price, and product cycle length.

  5. 5.

    The authors used the analytical calculation method and differential equations to obtain an optimal solution.

  6. 6.

    The sensitivity analysis includes the performance of inventory holding costs, the percentage of deteriorated items, a fraction of defective items, remanufacturing rates, and selling prices.

The structure of this paper is as follows. Section 2 provides a literature review of relevant research and identifies research gaps. Section 3 presents the problem definition, and Sect. 4 formulates the VMI model, considering the benefits of suppliers, manufacturers, retailers, and supply chains. Section 5 proposes the solution method, Sect. 6 solves the numerical example, and Sect. 7 shows the sensitivity analysis for the benefits functions, decision variables, and managerial implications. Section 8 provides the conclusions, the significant contributions, and future research directions.

2 Literature review

The Vendor-Managed Inventory (VMI) is an integrated approach related to supplier-retail coordination, where the supplier decides on appropriate inventory levels and replenishment within limits according to a contractual agreement between both actors (Darwish & Odah, 2010). The VMI is a policy of collaborative inventory management implemented among manufacturers and retailers, where the first is responsible for making decisions about inventory replenishment (Borade & Sweeney, 2015).

The network configuration of the VMI agreement generally includes vendors and retailers. Yao et al. (2007) developed a VMI model for single-vendor and single-buyer, considering a collaborative approach. Woo et al. (2001) considered a single-manufacturer and multiple-buyers supply chain structure, and Zhang et al. (2007) incorporated different buyer order cycles. Otherwise, Zanoni et al. (2014) proposed a VMI model with consignment stock and commercial agreements for a single-vendor and single-buyer supply chain to show the total cost as a convex function. However, Wang and Huang (2016) found a calculation error and developed an effective and efficient search algorithm to obtain an approximate solution.

On the other hand, Almehdawe and Mantin (2010) built a VMI model for a single manufacturer and multiple retailers, considering a Stackelberg approach when the manufacturer is the leader when retailers dominate the rules for the game. The VMI system for a two-layer supply chain for single-vendor and two-buyers includes the demand of buyers, transportation cost, ordering cost for vendors, and inventory holding costs (Mateen & Chatterjee, 2015; Rad et al., 2014). Sadeghi and Niaki (2015) studied a bi-objective VMI model for single-vendor and multi-retailers, considering fuzzy demand and minimizing the total cost.

Lee et al., (2016a, 2016b) introduced a VMI model with a coordination approach considering stockout-cost sharing between a supplier and a customer to minimize the total cost. Later, Verma and Chatterjee (2017) presented a VMI model for single-supplier and multi-retailers. The supplier makes decisions related to inventory replenishment for retailers to minimize the total system cost.

Many studies on the VMI approach include the deterioration of items as an unavoidable and ingrained characteristic of perishable products. Also, imperfect production systems and quality problems generate defective products as outputs from production processes (Lee & Kim, 2014). The perishable raw material is an essential consideration in the VMI model because of the slow deterioration of finished products (Fauza et al., 2016; Khan et al., 2016; Yu et al., 2012). The VMI agreements included policies to reduce defective products and disrupt imperfect production systems through a remanufacturing strategy (Bazan et al., 2014; Lee & Cho, 2014). Additionally, Setak and Daneshfar (2014) considered a VMI policy for deteriorated items with stock level-dependent demand rates, and Tat et al. (2015) incorporated a non-instantaneous deteriorating items approach.

The problem of deteriorating items in supply chains incorporates market demand varying rate consideration according to the product type. Taleizadeh et al. (2015a) studied a VMI model for single-vendor and multi-retailers considering deteriorating items, deterministic demand, and sensitive-price demand. Otherwise, Chung et al. (2008) analyzed an inventory system with a reverse material flow supply chain for returned and remanufactured products. Other authors proposed different VMI strategies to reduce ordering and transportation costs considering stochastic demand (Govindan, 2015; Kiesmüller & Broekmeulen, 2010; Mateen et al., 2015). Escuín et al. (2017) considered multi-items and stochastic demand and compared order strategy with the VMI strategy between suppliers and customers.

The joint economic lot-sizing model considers a single-vendor and single-buyer supply chain for a single product, including a consignment agreement and dependent demand (Lee et al., 2017). Therefore, Cai et al. (2017) studied a VMI model for a two-layer supply chain considering uncertainty demand with an exponential distribution function. Then, Kaasgari et al. (2017) investigated a VMI model with perishable products for a one-vendor and multi-buyers supply chain that minimized the total costs and developed a genetic algorithm (GA) and a particle Swarm Optimization (PSC) algorithm for solving the problem.

Recently, studies have addressed different approaches to the VMI problem. Han et al. (2017) examined a VMI model for a three-layer supply chain to minimize transportation and inventory costs. Also, Amirhosseini et al. (2018) incorporated multi-products and defective items. Lee and Cho (2018) considered stockout penalties and holding costs. Therefore, Son and Ghosh (2019) considered VMI agreements and cross-docking strategies at the vendor. Gharaei et al. (2019) included multiple products, multiple buyers, penalties, quality control policies, and VMI agreements. Thus, Weraikat et al. (2019) studied the VMI model to optimize the expired medication cost in hospitals, considering uncertain demand. Wei et al. (2020) analyzed two types of managed inventory models: a Retailer-Managed Inventory (RMI) and Vendor-Managed Inventory (VMI), considering a Stackelberg approach, where the vendor is the leader, and the retailers are the followers.

Table 1 presents some VMI models with several features. The VMI models include a tri-level or a two-level supply chain, one or multiple members for level, only or multi-products, deteriorated items, defective items, remanufactured products, and type of demand. These inventory models consider a two-level supply chain with only one product and constant demand. Some papers consider multiple members for each level of the supply chain or only one echelon member, stock-dependent demand or exponential demand. Deteriorated, defective, and remanufactured products are the features studied in the VMI models literature.

Table 1 Vendor-managed inventory model considerations

According to the literature review, an opportunity area is identified to research VMI models in a supply chain configured with more than two levels. Most studies considered deterministic demand, which is not adjusted to fluctuations in the market. For this reason, a new research problem has been identified with the opportunities to develop recent studies that facilitate the planning and execution of logistics activities in a supply chain that present significant challenges for researchers. Additionally, significant research on inventory models has been conducted to examine VMI inventory models, defective items, remanufacturing products, deteriorated items, and exponential demand. These areas recommended that further research include joint optimization of different variables in an EPQ inventory model, imperfect production, and probabilistic demand in a supply chain.

3 Problem definition

This paper considers a Vendor-Managed Inventory system for a three-layer supply chain. The VMI strategy includes collaboration among all supply chain members. A leader decides to replenish raw materials and products to ensure the requirements of customers and optimize the benefits of the supply chain members. Figure 1 presents the VMI model diagram. The manufacturers act as a supply chain leader, assume the retailer replenishment, supervise the inventory level to avoid backorders, and attend to the market demand.

Fig. 1
figure 1

Diagram of vendor managed inventory system

The suppliers store raw materials for sale to manufacturers in cycle time \({T}_{ijs}^{S}\) and make quality inspections to find defective items. These items are removed from the quality inventory and sold to other industries with a lower sale price. The manufacturers purchase and store raw materials and transform them into finished products during production time \({TP}_{jm}^{M}\). Currently, the manufacturers produce defective items at a rate of \({\beta }_{jm}^{M}\) detected during the quality inspection. They are removed from good-items inventory to remanufacture them and sell them in other industries with a lower sale price. Manufacturers decide on the inventory levels and replenish the retail stores according to VMI agreements. The retailers purchase and store finished products sold to the final customer. The finished products deteriorate at a rate of \({\kappa }_{jr}^{R}\) during the time \({T}_{jr}^{R}\).

The assumptions used to formulate the vendor managed inventory (VMI) model are presented below:

  1. 1.

    A three-layer supply chain with multiple suppliers, manufacturers, and retailers is considered. The VMI model considers multi-items for raw materials and products for each supply chain member.

  2. 2.

    Considering the VMI strategy, the objective function maximizes the benefit of the manufacturers who decide to supply products and raw materials.

  3. 3.

    The replenishment rate of the supplier is instantly infinite, but the lot size is finite. Therefore, the lead time is zero.

  4. 4.

    The VMI model is considered an imperfect production system. Quality inspections are considered in suppliers and manufacturers that detect defective raw material items and defective products.

  5. 5.

    Products near the expiration date are considered deteriorated items. Therefore, they are removed from good-product inventory and sold as near-expired products at a lower price. The deterioration rates of finished products are constant and known.

  6. 6.

    The defective items of finished products are remanufactured by the manufacturers and are sold to other secondary industries.

  7. 7.

    The production rate of the suppliers is synchronized with the production rate of the manufacturers so that there are no shortages of raw materials.

  8. 8.

    The retailers' demand is a time-dependent and exponential declining function of time and is given by \({DC}_{jr}^{R}\left(t\right)={Di}_{jr}^{R}{e}^{{-\lambda }_{jr}t}\), where \({Di}_{jr}^{R}\) is the products' market demand, \({Di}_{jr}^{R}>0\) and \({\lambda }_{jr}\) is constant \(0<{\lambda }_{jr}<1\).

  9. 9.

    Shortages are not allowed.

Figure 2 presents the structure of the VMI model for a three-layer supply chain comprised of multiple suppliers, manufacturers, and retailers. Initially, the supplier supplies raw materials at a rate of \({P}_{ijs}^{S}\) to satisfy the demand for manufacturers or replenishment lot size, \({R}_{ijs}^{S}\). However, this parameter is affected by the percentage of defective products identified in quality inspections carried out by suppliers, which is presented as \({{\alpha }_{ijs}^{S}R}_{ijs}^{S}\).

Fig. 2
figure 2

Structure of the VMI model that considers a three-layer supply chain

Manufacturers receive the raw material from suppliers and start the production process that transforms raw material into a finished product at a production rate of \({P}_{jm}^{M}\). During the production runtime \({TP}_{jm}^{M}\), defective articles are generated with a percentage \({\beta }_{jm}^{M}\) identified in quality inspections and sent to the remanufacturing process. After regular production, defective products are remanufactured during \({TRP}_{jm}^{M}\) at a rate \({PR}_{jm}^{M}\) and are stored together with conforming regular production to be shipped to other industries.

Retailers purchase the finished product at a demand rate \({q}_{jr}^{R}\) at the cycle time \({T}_{jr}^{R}\). The finished products suffer constant deterioration at a rate \({\kappa }_{jr}^{R}\) due to expiration and poor handling during cycle time \({T}_{jr}^{R}\). The deteriorated items are removed from inventory and sold to other industries or near-expired products at a lower price.

Some authors have considered the inventory model with exponential demand. Gross and Harris (1971) developed an inventory model considering random variables that follow an exponential density function. Ouyang et al., (2005) proposed an EPQ inventory model with deteriorating items, exponential demand, and partial backlogging. Also, Tripathi (2012) developed an inventory model with an exponential demand rate with delays in payment periods and backlogging. B. Pal et al., (2013a, 2013b) presented an EPQ inventory model considering stochastic demand that follows an exponential density function for an imperfect production system. Mateen et al. (2015) formulated an inventory model with stochastic demand and backlogging in a two-layer supply chain.

Sajadieh and Larsen (2015) analyzed the optimal inventory level and policies for a two-echelon supply chain, considering variable demand and production rates. Salas Navarro et al. (2018) evaluated the demand as an exponential density function for a three-echelon supply chain. Pal and Mahapatra (2017) incorporated failures, stochastic demand, deteriorated items, and backlogging. Thus, The VMI model considers an exponentially decreasing demand because the deterioration of products occurs during storage, which reduces the inventory of conforming products.

The following notation is established to develop the VMI model for a three-layer supply chain.

Index

\(i\) Raw materials, \(i \in \left\{\mathrm{1,2},3,\dots I\right\}\)

\(j\) Finished products, j \(\in \left\{\mathrm{1,2},3,\dots J\right\}\)

\(s\) Suppliers,\(s \in \left\{\mathrm{1,2},3,\dots S\right\}\)

\(m\) Manufacturers, \(m \in \left\{\mathrm{1,2},3,\dots M\right\}\)

\(r\) Retailers, \(r \in \left\{\mathrm{1,2},3,\dots R\right\}\)

Parameters

\({P}_{ijs}^{S}\)

Production rate of raw material \(i\) for the supplier \(s\) to manufacture the product \(j\) (units/unit of time)

\({\alpha }_{ijs}^{S}\)

Fraction of defective items of raw material \(i\) for the supplier \(s\) to manufacture the product \(j\), where \(0\le {\alpha }_{ijs}^{S}\le 1\)

\({r}_{ijs}^{S}\)

Screening rate of defective items of raw material \(i\) for the supplier \(s\) to manufacture the product \(j\) (units/unit of time)

\({C}_{ijs}^{S}\)

Screening cost of defective items of raw material \(i\) for the supplier \(s\) to manufacture the product \(j\) ($/unit)

\({A}_{ijs}^{S}\)

Setup cost of raw material \(i\) for the supplier \(s\) to manufacture the product \(j\) ($/cycle)

\({h}_{ijs}^{S}\)

Holding cost of raw material \(i\) for the supplier \(s\) to manufacture the product \(j\) ($/unit/unit of time)

\({PC}_{ijs}^{S}\)

Purchasing cost of raw material \(i\) for the supplier \(s\) to manufacture the product \(j\) ($/unit)

\({W}_{ijs}^{S}\)

The selling price of raw material \(i\) for the supplier \(s\) to manufacture the product \(j\) ($/unit)

\({WD}_{ijs}^{S}\)

The selling price of defective items of raw material \(i\) for the supplier \(s\) to manufacture the product \(j\) ($/unit)

\({PR}_{jm}^{M}\)

Re-manufacturing rate for the product \(j\) at the manufacturer \(m\) (units/unit of time)

\({\beta }_{jm}^{M}\)

Fraction of defective items for the product \(j\) at the manufacturer \(m\), where \(0\le {\beta }_{jm}^{M}\le 1\)

\({r}_{jm}^{M}\)

Defective items for the product \(j\) at the manufacturer \(m\) (units)

\({C}_{jm}^{M}\)

Screening cost of defective items for the product \(j\) at the manufacturer \(m\) ($/unit)

\({A}_{jm}^{M}\)

Setup cost for the product \(j\) at the manufacturer \(m\) ($/cycle)

\({hr}_{jm}^{M}\)

Holding cost for the raw material required for the product \(j\) at the manufacturer \(m\) ($/unit/unit of time)

\({hp}_{jm}^{M}\)

Holding cost for the product \(j\) at the manufacturer \(m\) ($/unit/unit of time)

\({PC}_{ijm}^{M}\)

The purchasing cost of raw material \(i\) for the product \(j\) at the manufacturer \(m\) ($/unit)

\({L}_{jm}^{M}\)

Labor cost for the product \(j\) at the manufacturer \(m\) ($)

\({\delta }_{jm}^{M}\)

Fixed cost for the product \(j\) at the manufacturer \(m\) ($/unit)

\({\varepsilon }_{jm}^{M}\)

Remanufacturing cost for the product \(j\) at the manufacturer \(m\) ($/unit)

\({W}_{jm}^{M}\)

The selling price for the product \(j\) at the manufacturer \(m\) ($/unit)

\({WD}_{jm}^{M}\)

The selling price of remanufactured items for the product \(j\) at the manufacturer \(m\) ($/unit)

\({Z}_{ijm}^{M}\)

Units of raw material \(i\) required to produce one unit of product \(j\) at the manufacturer \(m\) (units)

\({hp}_{jr}^{R}\)

Holding cost for the product \(j\) at the retailer \(r\) ($/unit/unit of time)

\({A}_{jr}^{R}\)

Setup cost for the product \(j\) at the retailer \(r\) ($/cycle)

\({PC}_{jr}^{R}\)

Purchasing cost for the product \(j\) at the retailer \(r\) ($/unit)

\({\kappa }_{jr}^{R}\)

Percentage of deteriorated items for the product \(j\) at the retailer \(r\)

\({CD}_{jr}^{R}\)

Deterioration cost for the product \(j\) at the retailer \(r\) ($/unit)

\({WD}_{jr}^{R}\)

Selling price of deteriorated items for the product \(j\) at the retailer \(r\) ($/unit)

\({\lambda }_{jr}\)

A constant that governs the demand for the product \(j\) at the retailer \(r\)

\({a}_{jr}^{R}\)

Initial demand rate of the market for the product \(j\) at the retailer \(r\) (units/unit of time)

\({b}_{jr}^{R}\)

Variation of demand rate for the product \(j\) at the retailer \(r\) (units/unit of time)

Dependent variables

\({\pi }_{js}^{S}\)

The benefit of the supplier \(s\) for the product \(j\) ($/unit)

\({\pi }_{jm}^{M}\)

The benefit of the manufacturer \(m\) for the product \(j\) ($/unit)

\({\pi }_{jr}^{R}\)

The Benefit of the retailer \(r\) for the product \(j\) ($/unit)

\({T}_{ijs}^{S}\)

Replenishment cycle of raw material \(i\) at the supplier \(s\) to manufacture the product \(j\) (unit of time)

\({T}_{jm}^{M}\)

Replenishment cycle of product \(j\) at the manufacturer \(m\) (unit of time)

\({TP}_{jm}^{M}\)

Production run-time of product \(j\) at the manufacturer \(m\) (unit of time)

\({TPR}_{jm}^{M}\)

Remanufacturing run-time of product \(j\) at the manufacturer \(m\) (unit of time)

\({I}_{ijm}^{M}\left(t\right)\)

Inventory level of raw material \(i\) to produce \(j\) at the manufacturer \(m\) at time \(t\) (units/unit of time)

\({I}_{jm}^{M}\left(t\right)\)

Inventory level of good items for the product \(j\) at the manufacturer \(m\) at time \(t\) (units/unit of time)

\({ID}_{jm}^{M}\left(t\right)\)

Inventory level of defective items for the product \(j\) at the manufacturer \(m\) at time \(t\) (units/unit of time)

\({TC}_{jr}^{R}\)

Replenishment cycle of product \(j\) at the retailer \(j\) (unit of time)

\({I}_{jr}^{R}\left(t\right)\)

Inventory level of product \(j\) at the retailer \(j\) at the time \(t\) (units/unit of time)

\({q}_{jr}^{R}\)

The demand of the product \(j\) at the retailer r (units)

\({Di}_{jr}^{R}\)

Demand rate of the customers for the product \(j\) at the retailer \(r\) (units/unit of time)

Decision variables

\({R}_{ijs}^{S}\)

Replenishment lot size of raw material \(i\) at the supplier \(s\) to manufacture the product \(j\) (units)

\({P}_{jm}^{M}\)

Production rate of product \(j\) at the manufacturer \(m\) (units/unit of time)

\({W}_{jr}^{R}\)

The selling price of the product \(j\) at the retailer \(r\) ($/unit)

\({T}_{jr}^{R}\)

Cycle length of the product \(j\) at the retailer \(r\) (unit of time)

4 Formulation of VMI model

A VMI model in the three-layer supply chain is proposed, considering multi-item, multiple suppliers, manufacturers, and retailers. A fraction of defective raw material items, \({\alpha }_{ijs}^{S}\) \(i \in \left\{\mathrm{1,2},\dots I\right\}\), are considered in the supplier \(s\) for each raw material \(i\). The defective items are sold to other industries with a lower selling price. The manufacturer \(m \in \left\{\mathrm{1,2},\dots ,M\right\}\) produces multiple products \(j\) from a unit of raw material at a production rate \({P}_{jm}^{M}\).

4.1 Benefit of suppliers

The manufacturer \(m\) orders a replenishment lot size \({R}_{ijs}^{S}\) of raw material to initiate the production process at a supplier \(s\). The production rate of raw material \({P}_{ijs}^{S}\) is considered a dependent variable in the production rate of product function,

$${P}_{ijs}^{S}=\left(1+{\alpha }_{ijs}^{S}\right){P}_{jm}^{M}{Z}_{ijm}^{M}.$$
(1)

The supplier \(s\) does quality inspections during production to screen defective items and remove them from the raw material lot. This situation generates a good-item and defective-item inventory at the supplier during the cycle \({T}_{ijs}^{S}\). Figure 1 presents the inventory level diagram for each layer. The behavior of good items inventory level of raw material,\({I}_{ijs}^{S}\), at the suppliers is presented in Eq. (2)

$$\frac{d{I}_{ijs}^{S}}{dt}=-\left(1-{\alpha }_{ijs}^{S}\right){P}_{ijs}^{S},$$
(2)

Using the initial conditions, \({I}_{ijs}^{S}\left(0\right)\;={R}_{ijs}^{S}, \;{I}_{ijs}^{S}\left({T}_{ijs}^{S}\right)=0\;\;\;\; \;\;0\le t\le {T}_{ijs}^{S}\;\; \forall \left(ijs\right),\) we obtain

$${T}_{ijs}^{S}=\frac{{R}_{ijs}^{S}}{\left(1-{\alpha }_{ijs}^{S}\right){P}_{ijs}^{S}}\;\; \forall \left(ijs\right).$$
(3)

Equation 3 represents the cycle time of raw materials at the suppliers.

The suppliers' revenue provides from the goods item selling of raw material to manufacturers \({W}_{ijs}^{S}\left(1-{\alpha }_{ijs}^{S}\right){P}_{ijs}^{S}\), and the defective item selling to other industries is \({WD}_{ijs}^{S}{\alpha }_{ijs}^{S}{P}_{ijs}^{S}\).

The inventory holding costs of good-items, \({H}_{ijs}^{S}\), and defective-items, \({HD}_{ijs}^{S}\), are presented in Eqs. (4) and (5), respectively.

$${H}_{ijs}^{S}={\int }_{0}^{{T}_{ijs}^{S}}{h}_{ijs}^{S}{I}_{ijs}^{S}\left(t\right)dt={h}_{ijs}^{S}{\int }_{0}^{{T}_{ijs}^{S}}\left[{R}_{ijs}^{S}-\left(\left(1-{\alpha }_{ijs}^{S}\right){P}_{ijs}^{S}\right)t\right]dt={h}_{ijs}^{S}\left[\frac{{\left({R}_{ijs}^{S}\right)}^{2}}{2\left(1-{\alpha }_{ijs}^{S}\right){P}_{ijs}^{S}}\right],$$
(4)
$${HD}_{ijs}^{S}={h}_{ijs}^{S}{\alpha }_{is}^{S}\left({P}_{ijs}^{S}\right)\left[\frac{{P}_{ijs}^{S}}{{r}_{ijs}^{S}}\right]=\frac{{h}_{ijs}^{S}{\alpha }_{is}^{S}{\left({P}_{ijs}^{S}\right)}^{2}}{{r}_{ijs}^{S}}.$$
(5)

The costs of screening, setup, and purchase are presented in Eqs. (68), respectively.

$${CQ}_{ijs}^{S}={C}_{ijs}^{S}\left({P}_{ijs}^{S}\right)$$
(6)
$${AT}_{ijs}^{S}={A}_{ijs}^{S}{T}_{ijs}^{S}=\frac{{A}_{ijs}^{S}{R}_{ijs}^{S}}{\left(1-{\alpha }_{ijs}^{S}\right){P}_{ijs}^{S}}$$
(7)
$${PCO}_{ijs}^{S}={PC}_{ijs}^{S}\left({R}_{ijs}^{S}\right).$$
(8)

The benefit function for suppliers comprises revenues, inventory holding cost of good and defective items, screening cost, setup cost, and the purchasing cost. Thus, the benefit function is given by:

$${\pi }_{js}^{S} ={W}_{ijs}^{S}\left(1-{\alpha }_{ijs}^{S}\right){P}_{ijs}^{S}+{WD}_{ijs}^{S}{\alpha }_{ijs}^{S}{P}_{ijs}^{S}-{h}_{ijs}^{S}\left[\frac{{\left({R}_{ijs}^{S}\right)}^{2}}{2\left(1-{\alpha }_{ijs}^{S}\right){P}_{ijs}^{S}}\right]-\frac{{h}_{ijs}^{S}{\alpha }_{is}^{S}{\left({P}_{ijs}^{S}\right)}^{2}}{{r}_{ijs}^{S}}-{C}_{ijs}^{S}\left({P}_{ijs}^{S}\right)$$
$$-\frac{{A}_{ijs}^{S}{R}_{ijs}^{S}}{\left(1-{\alpha }_{ijs}^{S}\right){P}_{ijs}^{S}}-{PC}_{ijs}^{S}{R}_{ijs}^{S}.$$
(9)

Therefore, the total benefit function of suppliers is given by:

$${\Phi }^{S}=\sum_{i=1}^{I}\sum_{j=1}^{J}\sum_{s=1}^{S}{\pi }_{js}^{S}.$$
(10)

4.2 Benefit of manufacturers

An imperfect production system at the manufacturer \(m\) is considered. During production, quality inspections are done. The defective product is removed to initiate a second transformation process. Therefore, the remanufactured items are sold to related industries at a lower price. A fraction of defective items \({\beta }_{jm}^{M}\) during the production run-time \({TP}_{jm}^{M}\) of the products \(j\) at the manufacturer \(m\) is included. Thus, the inventory level of finished products at the manufacturer with respect to time is represented by the following differential equation:

$$\frac{d{I}_{jm}^{M}\left(t\right)}{dt}=\left(1-{\beta }_{jm}^{M}\right){P}_{jm}^{M}\;\;\;\;\; 0\le t\le {TP}_{jm}^{M},$$
(11)

With the boundary condition \({I}_{jm}^{M}\left(0\right)=0\). Solving the Eq. (11) yields,

$${I}_{jm}^{M}\left({TP}_{jm}^{M}\right)=\left(1-{\beta }_{jm}^{M}\right){P}_{jm}^{M}{TP}_{jm}^{M}$$
(12)

For this case, synchronization between the manufacturer's production run-time \(\left({TP}_{jm}^{M}\right)\) and the retailer's product cycle length \(\left({T}_{jr}^{R}\right)\) is considered. Therefore, the inventory level \(\left[{I}_{jm}^{M}\left({TP}_{jm}^{M}\right)\right]\) during the production run-time equals to the demand for the retailer's product \(\left({q}_{jr}^{R}\right)\).

$${I}_{jm}^{M}\left({TP}_{jm}^{M}\right)={q}_{jr}^{R}=\frac{{Di}_{jr}^{R}}{\left({\kappa }_{jr}^{R}-{\lambda }_{jr}\right)}\left[{e}^{\left({\kappa }_{jr}^{R}-{\lambda }_{jr}\right){T}_{jr}^{R}}-1\right],$$
(13)

Solving the Eq. (13), the production run time of the manufacturer \(m\) for the finished product \(j\) is

$${TP}_{jm}^{M}=\frac{{Di}_{jr}^{R}}{\left({\kappa }_{jr}^{R}-{\lambda }_{jr}\right)\left(1-{\beta }_{jm}^{M}\right){P}_{jm}^{M}}\left[{e}^{\left({\kappa }_{jr}^{R}-{\lambda }_{jr}\right){T}_{jr}^{R}}-1\right].$$
(14)

Also, the inventory level of defective items during the time \(t\) is specified by the following differential equation:

$$\frac{d{ID}_{jm}^{M}\left(t\right)}{dt}={\beta }_{jm}^{M}{P}_{jm}^{M}\;\;\;\;\; 0\le t\le {TP}_{jm}^{M},$$
(15)

Considering \({ID}_{jm}^{M}\left(0\right)=0\), we obtain

$${ID}_{jm}^{M}\left({TP}_{jm}^{M}\right)={\beta }_{jm}^{M}{P}_{jm}^{M}{TP}_{jm}^{M}.$$
(16)

The following differential equation represents the inventory level of the defective items during the remanufacturing run-time:

$$\frac{d{ID}_{jm}^{M}\left(t\right)}{dt}={\beta }_{jm}^{M}{P}_{jm}^{M}{TP}_{jm}^{M}-{PR}_{jm}^{M}\;\;\;\;\;\,\,\, {TP}_{jm}^{M}\le t\le {TP}_{jm}^{M}+{TRP}_{jm}^{M},$$
(17)

Using boundary condition, \({ID}_{jm}^{M}\left({TP}_{jm}^{M}\right)={\beta }_{jm}^{M}{P}_{jm}^{M}{TP}_{jm}^{M},\) we have

$${ID}_{jm}^{M}\left({TP}_{jm}^{M}+{TRP}_{jm}^{M}\right)={\beta }_{jm}^{M}{P}_{jm}^{M}{TP}_{jm}^{M}+{\beta }_{jm}^{M}{P}_{jm}^{M}{TP}_{jm}^{M}{TRP}_{jm}^{M}-{PR}_{jm}^{M}{TRP}_{jm}^{M}.$$
(18)

Equation (19) models the inventory level of remanufactured products at the manufacturer:

$$\frac{d{ID}_{jm}^{M}\left(t\right)}{dt}=-{PR}_{jm}^{M}\;\;\;\;\;\, { TP}_{jm}^{M}\le t\le {TP}_{jm}^{M}+{TRP}_{jm}^{M},$$
(19)

With the boundary condition,\({ID}_{jm}^{M}\left({TP}_{jm}^{M}+{TRP}_{jm}^{M}\right)=0\). Solving the differential Eq. (19) yields

$${TRP}_{jm}^{M}=\frac{{\beta }_{jm}^{M}{P}_{jm}^{M}{TP}_{jm}^{M}}{{PR}_{jm}^{M}}.$$
(20)

Equation (20) shows the remanufacturing run-time of the product \(j\) at the manufacturer \(m\).

The manufacturer \(m\) stores raw material \(i\) to manufacture the finished product. The following differential equation represents the inventory level of raw material at the manufacturer \(m\),

$$\frac{d{IM}_{ijm}^{M}\left(t\right)}{dt}=-\left(1-{\beta }_{jm}^{M}\right){P}_{jm}^{M}\sum_{i=1}^{I}{Z}_{ijm}^{M}\;\;\;\;\;\;\;\;\; 0\le t\le {TP}_{jm}^{M},$$
(21)

Using the boundary condition, \({IM}_{ijm}^{M}\left(0\right)=\left(1-{\alpha }_{ijs}^{S}\right){P}_{ijs}^{S},\) we have

$${IM}_{ijm}^{M}\left({TP}_{jm}^{M}\right)=\sum_{i=1}^{I}\left(1-{\alpha }_{ijs}^{S}\right){P}_{ijs}^{S}-\left(1-{\beta }_{jm}^{M}\right){P}_{jm}^{M}{TP}_{jm}^{M}\sum_{i=1}^{I}{Z}_{ijm}^{M}.$$
(22)

Equation (22) shows the raw materials' inventory level during the production run time for the finished product \(j\).

The manufacturers' revenue from the good item selling of finished products is \({W}_{jm}^{M}{q}_{jr}^{R}\). The manufacturers' revenue from remanufactured products is \({WD}_{jm}^{M}{\beta }_{jm}^{M}{P}_{jm}^{M}{TRP}_{jm}^{M}\).

Equations (23) and (24) show the inventory holding costs of good \(\left({HP}_{jm}^{M}\right)\) and defective \(\left({HMD}_{jm}^{M}\right)\) items.

$${HP}_{jm}^{M}={\int }_{0}^{{TP}_{jm}^{M}}{hp}_{jm}^{M}{I}_{jm}^{M}\left(t\right)dt={hp}_{jm}^{M}\left(1-{\beta }_{jm}^{M}\right){P}_{jm}^{M}{\left({TP}_{jm}^{M}\right)}^{2},$$
(23)
$${HMD}_{jm}^{M}=\left[{\int }_{0}^{{TP}_{jm}^{M}}{hp}_{jm}^{M}{ID}_{jm}^{M}\left(t\right)dt+{\int }_{{TP}_{jm}^{M}}^{{TP}_{jm}^{M}+{TRP}_{jm}^{M}}{hp}_{jm}^{M}{ID}_{jm}^{M}\left(t\right)dt\right]$$
$$=\frac{{hp}_{jm}^{M}}{2}\left[{\beta }_{jm}^{M}{P}_{jm}^{M}{\left({TP}_{jm}^{M}\right)}^{2}+{\beta }_{jm}^{M}{P}_{jm}^{M}{TP}_{jm}^{M}\left({TRP}_{jm}^{M}\right)-{PR}_{jm}^{M}\left({TRP}_{jm}^{M}\right)\right].$$
(24)

The inventory holding cost of raw material for the manufacturer \(m\) during the run-time production is:

$${HM}_{jm}^{M}={\int }_{0}^{{TP}_{jm}^{M}}{hr}_{jm}^{M}{IM}_{jm}^{M}\left(t\right)dt$$
$$={hr}_{jm}^{M}\left[{TP}_{jm}^{M}\sum_{i=1}^{I}\left(1-{\alpha }_{ijs}^{S}\right){P}_{ijs}^{S}-\left(1-{\beta }_{jm}^{M}\right){P}_{jm}^{M}{\left({TP}_{jm}^{M}\right)}^{2}\sum_{i=1}^{I}{Z}_{ijm}^{M}\right].$$
(25)

The inventory holding cost of the remanufactured product during the remanufacturing run time is:

$${HMR}_{jm}^{M}={\int }_{{TP}_{jm}^{M}}^{{TP}_{jm}^{M}+{TRP}_{jm}^{M}}{hp}_{jm}^{M}{ID}_{jm}^{M}\left(t\right)dt={hp}_{jm}^{M}{PR}_{jm}^{M}{\left({TRP}_{jm}^{M}\right)}^{2}.$$
(26)

The screening and setup costs are \({CQ}_{jm}^{M}={C}_{jm}^{M}{P}_{jm}^{M}{TP}_{jm}^{M}\) and \({AT}_{jm}^{M}={A}_{jm}^{M}{TRP}_{jm}^{M}\), respectively.

The production cost \(\left({CM}_{jm}^{M}\right)\) includes purchasing, labor, and fixed costs. Equation (27) shows the production cost of the manufacturer \(m\) for the product \(j\) during production run-time,

$${CM}_{jm}^{M}=\sum_{i=1}^{I}{W}_{ijs}^{S}\left(1-{\alpha }_{ijs}^{S}\right){P}_{ijs}^{S}+{L}_{jm}^{M}{TP}_{jm}^{M}+ {\delta }_{jm}^{M}{P}_{jm}^{M}{TP}_{jm}^{M}.$$
(27)

Equation (28) models the remanufacturing cost during the remanufacturing run-time.

$${CRP}_{jm}^{M}={\varepsilon }_{jm}^{M}{\beta }_{jm}^{M}{P}_{jm}^{M}{TRP}_{jm}^{M}.$$
(28)

The benefit function of manufacturers comprises revenues for selling and the costs of screening, setup, production, and remanufacturing. Also, the inventory holding costs for good items, defective items, raw materials, and remanufactured products are included. Thus, its benefit function of manufacturers is given by:

$$\begin{aligned}{\pi }_{jm}^{M} &=\frac{{W}_{jm}^{M}{Di}_{jr}^{R}}{\left({\kappa }_{jr}^{R}-{\lambda }_{jr}\right)}\left[{e}^{\left({\kappa }_{jr}^{R}-{\lambda }_{jr}\right){T}_{jr}^{R}}-1\right]+{WD}_{jm}^{M}{PR}_{jm}^{M}{TRP}_{jm}^{M}-{hp}_{jm}^{M}\left(1-{\beta }_{jm}^{M}\right){P}_{jm}^{M}{\left({TP}_{jm}^{M}\right)}^{2}\\ &\quad -{C}_{jm}^{M}{P}_{jm}^{M}{TP}_{jm}^{M}-{A}_{jm}^{M}{TRP}_{jm}^{M}-\left(\sum_{i=1}^{I}{W}_{ijs}^{S}\left(1-{\alpha }_{ijs}^{S}\right){P}_{ijs}^{S}+{L}_{jm}^{M}{TP}_{jm}^{M}+{\delta }_{jm}^{M}{P}_{jm}^{M}{TP}_{jm}^{M}\right)\\ &\quad -{\varepsilon }_{jm}^{M}{\beta }_{jm}^{M}{P}_{jm}^{M}{TRP}_{jm}^{M}-{hr}_{jm}^{M}\left[{TP}_{jm}^{M}\sum_{i=1}^{I}\left(1-{\alpha }_{ijs}^{S}\right){P}_{ijs}^{S}-\left(1-{\beta }_{jm}^{M}\right){P}_{jm}^{M}{\left({TP}_{jm}^{M}\right)}^{2}\sum_{i=1}^{I}{Z}_{ijm}^{M}\right]\\ &\quad -\frac{{hp}_{jm}^{M}}{2}\left[{\beta }_{jm}^{M}{P}_{jm}^{M}{\left({TP}_{jm}^{M}\right)}^{2}+{\beta }_{jm}^{M}{P}_{jm}^{M}{TP}_{jm}^{M}\left({TRP}_{jm}^{M}\right)-{PR}_{jm}^{M}\left({TRP}_{jm}^{M}\right)\right]\\ &\quad-{hp}_{jm}^{M}{PR}_{jm}^{M}{\left({TRP}_{jm}^{M}\right)}^{2}.\end{aligned}$$
(29)

Therefore, the total benefit function of manufacturers is given by:

$${\Phi }^{M}=\sum_{m=1}^{M}\sum_{j=1}^{j}{\pi }_{jm}^{M}.$$
(30)

4.3 Benefit of the retailers

The finished product is delivered instantly to the retailer \(r\) in its replenishment cycle \({T}_{jr}^{R}\). These products constantly deteriorated with rate \({\kappa }_{jr}^{R}\) while stored due to expiration and poor handling during the cycle time \({T}_{jr}^{R}\). The deteriorated items are removed from the finished products and sold to other industries at a lower price. The demand is variable and follows an exponential function of time. Thus, the variation in inventory level of the finished product \(j\) at the retailer \(r\) is described by the following differential equation:

$$\frac{d{I}_{jr}^{R}\left(t\right)}{dt}=-{\kappa }_{jr}^{R}{I}_{jr}^{R}\left(t\right)-{Di}_{jr}^{R}{e}^{-{\lambda }_{jr}t}\;\;\;\;\;\;\;\;\; 0\le t\le {T}_{jr}^{R}.$$
(31)

The solution of Eq. (31) with boundary condition \({I}_{jr}^{R}\left({T}_{jr}^{R}\right)=0\) is as follows:

$${I}_{jr}^{R}\left(t\right)=\frac{{Di}_{jr}^{R}{e}^{-{\lambda }_{jr}t}}{\left({\kappa }_{jr}^{R}-{\lambda }_{jr}\right)}\left[{e}^{\left({\kappa }_{jr}^{R}-{\lambda }_{jr}\right)\left({T}_{jr}^{R}-t\right)}-1\right].$$
(32)

Figure 1 shows that the initial inventory level of the retailers is equal to the demand for retailers \({q}_{jr}^{R}\). Therefore, it is established that the initial condition is equal to the demand of retailers \({q}_{jr}^{R}\), as presented in Eq. (33),

$${I}_{jr}^{R}\left(0\right)={q}_{jr}^{R}=\frac{{Di}_{jr}^{R}}{\left({\kappa }_{jr}^{R}-{\lambda }_{jr}\right)}\left[{e}^{\left({\kappa }_{jr}^{R}-{\lambda }_{jr}\right){T}_{jr}^{R}}-1\right].$$
(33)

The retailers’ revenue is provided by selling good items to customers (See Eq. 34) and deteriorated items to related industries (See Eq. 35).

$${RS}_{jr}^{R}={W}_{jr}^{R}{Di}_{jr}^{R}{T}_{jr}^{R}.$$
(34)
$${RSD}_{jr}^{R}={\int }_{0}^{{T}_{jr}^{R}}{WD}_{jr}^{R}{\kappa }_{jr}^{R}{I}_{jr}^{R}\left(t\right)dt=\frac{{WD}_{jr}^{R}{Di}_{jr}^{R}}{\left({\kappa }_{jr}^{R}-{\lambda }_{jr}\right)}\left[{e}^{-{\lambda }_{jr}{T}_{jr}^{R}}\left({e}^{{\kappa }_{jr}^{R}{T}_{jr}^{R}}-1\right)-\frac{{\kappa }_{jr}^{R}}{{\lambda }_{jr}}\left(1-{e}^{-{\lambda }_{jr}{T}_{jr}^{R}}\right) \right].$$
(35)

The inventory holding costs of good items \({HP}_{jr}^{R}\) is:

$${HP}_{jr}^{R}={\int }_{0}^{{T}_{jr}^{R}}{hp}_{jr}^{R}{I}_{jr}^{R}\left(t\right)dt=\frac{{hp}_{jr}^{R}{Di}_{jr}^{R}}{{\kappa }_{jr}^{R}\left({\kappa }_{jr}^{R}-{\lambda }_{jr}\right)}\left[{e}^{-{\lambda }_{jr}{T}_{jr}^{R}}\left({e}^{{\kappa }_{jr}^{R}{T}_{jr}^{R}}-1\right)-\frac{{\kappa }_{jr}^{R}}{{\lambda }_{jr}}\left(1-{e}^{-{\lambda }_{jr}{T}_{jr}^{R}}\right)\right].$$
(36)

The deterioration cost is given by,

$${HDP}_{jr}^{R}={\int }_{0}^{{T}_{jr}^{R}}{CD}_{jr}^{R}{\kappa }_{jr}^{R}{I}_{jr}^{R}\left(t\right)dt=\frac{{CD}_{jr}^{R}{Di}_{jr}^{R}}{\left({\kappa }_{jr}^{R}-{\lambda }_{jr}\right)}\left[{e}^{-{\lambda }_{jr}{T}_{jr}^{R}}\left({e}^{{\kappa }_{jr}^{R}{T}_{jr}^{R}}-1\right)-\frac{{\kappa }_{jr}^{R}}{{\lambda }_{jr}}\left(1-{e}^{-{\lambda }_{jr}{T}_{jr}^{R}}\right)\right].$$
(37)

The setup cost is given by \({AT}_{jr}^{R}={A}_{jr}^{R}{T}_{jr}^{R}\), and purchasing cost is modeled by Eq. (38).

$${PC}_{jr}^{R}={PC}_{jr}^{R}{q}_{jr}^{R}=\frac{{PC}_{jr}^{R}{Di}_{jr}^{R}}{\left({\kappa }_{jr}^{R}-{\lambda }_{jr}\right)}\left[{e}^{\left({\kappa }_{jr}^{R}-{\lambda }_{jr}\right){T}_{jr}^{R}}-1\right]$$
(38)

The benefit function of retailers includes sales revenues and the costs of inventory holding, deterioration, setup, and purchasing. Thus, the benefit function of retailers is given by:

$$\begin{aligned}{\pi }_{jr}^{R}&={W}_{jr}^{R}{Di}_{jr}^{R}{T}_{jr}^{R}+\frac{{WD}_{jr}^{R}{Di}_{jr}^{R}}{\left({\kappa }_{jr}^{R}-{\lambda }_{jr}\right)}\left[{e}^{-{\lambda }_{jr}{T}_{jr}^{R}}\left({e}^{{\kappa }_{jr}^{R}{T}_{jr}^{R}}-1\right)-\frac{{\kappa }_{jr}^{R}}{{\lambda }_{jr}}\left(1-{e}^{-{\lambda }_{jr}{T}_{jr}^{R}}\right)\right]\\&\quad -\frac{{hp}_{jr}^{R}{Di}_{jr}^{R}}{{\kappa }_{jr}^{R}\left({\kappa }_{jr}^{R}-{\lambda }_{jr}\right)}\left[{e}^{-{\lambda }_{jr}{T}_{jr}^{R}}\left({e}^{{\kappa }_{jr}^{R}{T}_{jr}^{R}}-1\right)-\frac{{\kappa }_{jr}^{R}}{{\lambda }_{jr}}\left(1-{e}^{-{\lambda }_{jr}{T}_{jr}^{R}}\right)\right]\\&\quad -\frac{{CD}_{jr}^{R}{Di}_{jr}^{R}}{\left({\kappa }_{jr}^{R}-{\lambda }_{jr}\right)}\left[{e}^{-{\lambda }_{jr}{T}_{jr}^{R}}\left({e}^{{\kappa }_{jr}^{R}{T}_{jr}^{R}}-1\right)-\frac{{\kappa }_{jr}^{R}}{{\lambda }_{jr}}\left(1-{e}^{-{\lambda }_{jr}{T}_{jr}^{R}}\right)\right]-{A}_{jr}^{R}{T}_{jr}^{R}\\ &\quad -\frac{{PC}_{jr}^{R}{Di}_{jr}^{R}}{\left({\kappa }_{jr}^{R}-{\lambda }_{jr}\right)}\left[{e}^{\left({\kappa }_{jr}^{R}-{\lambda }_{jr}\right){T}_{jr}^{R}}-1\right].\end{aligned}$$
(39)

Therefore, the total benefit function of retailers is given by:

$${\Phi }^{R}=\sum_{j=1}^{J}\sum_{r=1}^{R}{\pi }_{jr}^{R}.$$
(40)

4.4 VMI model

The VMI strategies assume a Stackelberg approach (Von Stackelberg, 2011) among the supply chain members. In this system, one of the members acts as a leader who manages and makes decisions related to inventory replenishment for the supply chain. The others are the followers. Therefore, the VMI model considers the manufacturers leaders because this layer has direct relationships, such as raw material suppliers and market retailers. This approach allows for developing requirement and demand forecasts and joint replenishment for the supply chain members. The VMI model for a three-layer supply chain is represented by the following:

$$\text{Max} {\Phi}^{M}=\sum_{j=1}^{J}\sum_{m=1}^{M}{\pi }_{jm}^{M},$$
(41)

Subject to:

$${R}_{ijs}^{S}\ge {Z}_{ijm}^{M}{q}_{jr}^{R}\;\;\;\;\;\; \forall i,j,s,r$$
(42)
$${P}_{jm}^{M}\ge {Di}_{jr}^{R}\;\;\;\;\;\; \forall j,m,r$$
(43)
$${W}_{jr}^{R}\ge {PC}_{jr}^{R}\;\;\;\;\;\; \forall j,r.$$
(44)

Equation (41) includes the terms \({e}^{-{\lambda }_{jr}{T}_{jr}^{R}}\) and \({e}^{{\kappa }_{jr}^{R}{T}_{jr}^{R}}\), which makes mathematical optimization difficult. Then, the deterioration rate \(\left({\kappa }_{jr}^{R}\right)\) and the constant that governs the retailers' demand \(\left({\lambda }_{jr}\right)\) are approximated to a Taylor series (Chen, 2017; Misra, 1975), as follows.

$${e}^{-{\lambda }_{jr}{T}_{jr}^{R}}=\sum_{n=0}^{\infty }\frac{{\left(-1\right)}^{n}{x}^{n}}{n!}=1-{\lambda }_{jr}{T}_{jr}^{R}+\frac{{\left({\lambda }_{jr}{T}_{jr}^{R}\right)}^{2}}{2!},$$
(45)
$${e}^{{\kappa }_{jr}^{R}\left({T}_{jr}^{R}\right)}=\sum_{n=0}^{\infty }\frac{{\left(-1\right)}^{n}{x}^{n}}{n!}=1+{\kappa }_{jr}^{R}\left({T}_{jr}^{R}\right)+\frac{{\left({\kappa }_{jr}^{R}{T}_{jr}^{R}\right)}^{2}}{2!},$$
(46)

Substituting Eqs. (45) and (46) into Eq. (33), we have:

$$\begin{aligned}{q}_{jr}^{R}&=\frac{{Di}_{jr}^{R}}{\left({\kappa }_{jr}^{R}-{\lambda }_{jr}\right)}\left[-{\lambda }_{jr}{T}_{jr}^{R}+\frac{{\left({\lambda }_{jr}{T}_{jr}^{R}\right)}^{2}}{2}+{\kappa }_{jr}^{R}\left({T}_{jr}^{R}\right)-{\lambda }_{jr}{\kappa }_{jr}^{R}{\left({T}_{jr}^{R}\right)}^{2}\right.\\ &\quad \left.+\frac{{{\kappa }_{jr}^{R}\left({\lambda }_{jr}\right)}^{2}{\left({T}_{jr}^{R}\right)}^{3}}{2}+\frac{{\left({\kappa }_{jr}^{R}{T}_{jr}^{R}\right)}^{2}}{2} \right.\end{aligned}$$
$$\left.-\frac{{\lambda }_{jr}{\left({\kappa }_{jr}^{R}\right)}^{2}{\left({T}_{jr}^{R}\right)}^{3}}{2}+\frac{{\left({\kappa }_{jr}^{R}\right)}^{2}{\left({\lambda }_{jr}\right)}^{2}{\left({T}_{jr}^{R}\right)}^{4}}{4}\right]$$
(47)

The production rate of raw materials is synchronized with the production run time of manufacturers. Therefore, no shortage of raw material is generated.

$${P}_{ijs}^{S}=\left(1+{\alpha }_{ijs}^{S}\right){P}_{jm}^{M}{Z}_{ijm}^{M}.$$
(48)

The demand rate of the customers is a linear function of the selling price of products at the retailers, as shown in Eq. (49).

$${Di}_{jr}^{R}={a}_{jr}^{R}+{b}_{jr}^{R}\left({W}_{jr}^{R}\right)$$
(49)

5 Solution method

The Stackelberg approach is used to solve the problem above (Von Stackelberg, 2011). The leader makes decisions about the competitive strategy in the market for the followers. This approach has been considered by Taleizadeh et al., (2015a, 2015b), Panda et al. (2015), Lan et al. (2018), Salas Navarro et al. (2018), Wei et al. (2020). They have developed inventory models in the supply chain, considering a supply chain member as the leader and the followers. In this case, the manufacturers are examined as the leaders. The suppliers and retailers are the followers. Consequently, manufacturers process raw materials from suppliers into finished products, which retailers sell. Manufacturers plan product replenishment and establish the optimal values of decision variables. Based on these values, the suppliers and retailers optimize their decisions.

According to Chen (2017), the deteriorated rates for perishable items are small values between 0.01 and 0.1, and it is possible to apply the Taylor series approximation of the exponential terms considering the first three terms of the series. In this way, the benefit functions are mathematically optimized. A solution algorithm is implemented to maximize the objective function and find the optimal decision variables, which substitute into benefit functions of suppliers and retailers.

  • Step 1. Input the production rate of the raw material function (Eq. 49) and the demand rate of the customers (Eq. 50).

  • Step 2. Use the Taylor series approximation for exponential terms in Eqs. (45) and (46), and substitute into Eqs. (19) and (29).

  • Step 3. Determine the total benefits functions in Eqs. (10), (20), and (30) considering Taylor series approximation for exponential terms.

  • Step 4. Calculate the new total benefit functions of the suppliers \({\Phi }^{S}\), manufactures \({\Phi }^{M}\), and retailers \({\Phi }^{R}\).

  • Step 5. Obtain optimal solution values of \({R}_{ijs}^{S}\), \({P}_{jm}^{M}\), \({W}_{jr}^{R}\), and \({T}_{jr}^{R}\). Maximize \({\Phi }^{M}\) (Eq. 41) considering the constraints Eqs. (4244).

  • Step 6. Substitute the optimal solution values of \({R}_{ijs}^{S}\), \({P}_{jm}^{M}\), \({W}_{jr}^{R}\), and \({T}_{jr}^{R}\) into the new total benefit functions obtained by step 4 and determine \({\Phi }^{S}\) and \({\Phi }^{R}\).

The method used to solve the model combined the analytical calculation method and differential equations. The optimization model results were obtained from the algorithm designed according to a numerical example. The proposed algorithm was programmed using Wolfram Mathematica 11.0 in an Intel® i7-model PC at 2.4 GHz (6.0 GB RAM), and the solution was obtained in approximately 1 s. The results of the model are presented with a numerical example.

6 Numerical example

In order to illustrate the solution algorithm, a numerical example is presented and solved. This case considers a VMI model in a three-layer Dairy Industry supply chain of the Department of Atlántico, Colombia. Two types of dairy derivatives that are highly perishable are considered. The network configuration includes two suppliers of raw materials and inputs, two manufacturers of dairy derivates (two types of cheese), and two retailers of finished products (see Tables 2, 3, 4).

Table 2 Values of parameters of suppliers (COP)
Table 3 Values of parameters of manufacturers (COP),
Table 4 Values of parameters of retailers (COP)

Each supplier provides two types of raw materials delivered to the manufacturers. Each manufacturer produces two types of dairy derivates according to the demand rate for retailers. The defective items generated during the production runtime are remanufactured to obtain a new product (whey). This product is sold in other industries at a lower sale price. These products can be reused as raw materials or inputs to manufacture other products. Manufacturers decide on inventory levels for retailers and replenish the retail stores according to VMI agreements. Retailers purchase and store finished products sold to the final customer.

The maximum total benefit of the manufacturers is \({\Phi }^{{\text{M}}*}=\mathrm{COP\$ 3,492,220,299.2}2\). Then, the benefit for suppliers is \({\Phi }^{{\text{S}}*}=\mathrm{COP\$ 7,768,807.61}\), and the benefit of retailers is \({\Phi }^{{\text{R}}*}=\mathrm{COP\$ 672,928,462.64}\). Table 5 presents the optimal values of \({R}_{ijs}^{S}\),\({P}_{jm}^{M}\),\({W}_{jr}^{R}\), and \({T}_{jr}^{R}\).

Table 5 Decision variable results

7 Sensitivity analysis

This section presents the sensitivity analysis for the VMI model to evaluate parameters such as inventory holding cost, percentage of deteriorated items, the fraction of defective items, and selling prices. The sensitivity analysis shows the effects of parameter changes on the decision variables, increasing or decreasing by 25% and 50%. The results are presented in Table 6.

Table 6 Results of benefits for the VMI model

7.1 Sensitivity analysis of supply chain benefits

The benefit of suppliers (\({\Phi }^{S}\)) is sensitive to changes in a fraction of defective raw material (\({\alpha }_{ijs}^{S}\)) and inventory holding cost (\({h}_{ijs}^{S}\)) for suppliers (see Table 6). If \({\alpha }_{ijs}^{S}\) increases by 25%, the benefit of suppliers decreases by 41.5% (see Fig. 3). Therefore, the suppliers should establish standardized processes that guarantee the quality of their products and avoid incurring high costs that negatively affect their profits. Also, the benefit of suppliers decreases by decreasing the selling price of raw materials. In addition, the benefit of suppliers is sensitive to changes in parameters of the other echelon, such as re-manufacturing rates and the percentage of deteriorated items (see Table 6).

Fig. 3
figure 3

The benefit of suppliers with respect fraction of defective raw material

The benefit of manufacturers (\({\Phi }^{M}\)) increases by decreasing the inventory holding costs (see Table 6). However, it affects the suppliers because reducing inventory holding costs can store more products and generate many suppliers requirements. The benefit of manufacturers (\({\Phi }^{M}\)) and retailers (\({\Phi }^{M}\)) are sensitive to increments by the fraction of defective products \({\beta }_{jm}^{M}\) (See Fig. 4). The defective items are remanufactured to obtain whey. These products are sold to other industries, generating additional income for manufacturers. Therefore, an increase in selling prices by 50% yields 8.2% of the benefit of manufacturers and 7.6% of the benefit of retailers. Also, the growth of the remanufacturing rates decreases the manufacturer profit. This situation can affect the capacity of production plants. If \({PR}_{jm}^{M}\) decreases by 25%, the benefit of manufacturers increases by 10.4% (see Fig. 5).

Fig. 4
figure 4

The benefit of manufacturers and retailers with respect fraction of defective product

Fig. 5
figure 5

The benefit of manufacturers with respect variation of remanufacturing rate

The benefit of retailers is sensitive to variation in the percentage of deteriorated items and deteriorating costs (see Table 6). A growth of 50% of expired products increases by 20.1% of the profits (see Fig. 6). The proposed policy generates growth of incomes due to sales of perishable products or expiring at a lower price in promotions.

Fig. 6
figure 6

The benefit of retailers with respect percentage of deteriorated items

7.2 Sensitivity analysis of decision variables

Raw material replenishment lot size is sensitive to variations of % defective raw material and raw material prices. The defective raw material can be reduced, improving the quality control processes in the supplier. Therefore, a reduction of \({W}_{ijs}^{S}\) by 25% increases \({R}_{ijs}^{S}\) by 9.2% (See Table 7). This situation reduces the benefits of suppliers by 59.3% (See Table 6). Then, a raw material price reduction policy should not be implemented in suppliers. Otherwise, the increment of defective products increases the replenishment lot size because the reworking process requires more raw material. Additionally, the remanufacturing rate, percentage of deteriorated products, and the constant market demand increased by 25%, increasing \({R}_{ijs}^{S}\) by 9% (see Fig. 7).

Table 7 Results of the decision variables for the VMI model
Fig. 7
figure 7

Variation of replenishment lot size of raw material

The production rate at manufacturers does not significantly vary with changes in the parameters studied. Figure 8 shows the performance of \({P}_{jm}^{M}\) with variations of \({\alpha }_{ijs}^{S}\), \({PR}_{jm}^{M}\), \({\kappa }_{jr}^{R}\), and \({\lambda }_{jr}^{R}\). These parameters decreased by 50%, increasing \({P}_{jm}^{M}\) by 0.25% (see Table 7). Then, the reduction of defective raw material and remanufacturing rates improves the performance of manufacturers and retailers.

Fig. 8
figure 8

Variation of production rate of product

The selling price at retailers is sensitive to changes in remanufacturing rates, deteriorated products, selling prices, and market demand (see Fig. 9). A reduction of the percentage of defective products by 25% and 50%, decreasing the selling prices by 0.1% and 0.2% (see Table 7), respectively. Then, it improves manufacturer productivity and increases retailer profit (see Table 6). Otherwise, an imperfect production system generates defective and deteriorating items that increase the selling price of products (dairy derivatives) and affect the market demand. Therefore, retailers must improve warehouse management and inventory handling practices to avoid increased damaged products, generate high costs, and affect profits.

Fig. 9
figure 9

Variation of selling price at retailers

Product cycle time is sensitive to deteriorated rates and inventory holding costs. Then, reducing these parameters improves manufacturer and retailer benefits (see Table 6). Additionally, \({T}_{jr}^{R}\) is easily affected by defective items percentage and constant market demand (see Fig. 10).

Fig. 10
figure 10

Variation of cycle length of product

A reduction by 50% of deteriorated rates increases \({T}_{jr}^{R}\) by 14.1% and decrease the retailer benefit by 80.6%. A growing cycle length of products affects the retailer benefits. The market demand \(\left({\lambda }_{jr}^{R}\right)\) increased by 25% and 50%, growth \({T}_{jr}^{R}\) by 11.2% and 8.7%. This condition reduces the benefit of retailers by 0.6% and 31.8%, respectively. Then, the inventory policy should be managed to reduce the cycle length of products to satisfy customer requirements just in time and establish accurate demand forecasts.

The sensitivity analysis shows that the percentage of defective raw materials \(\left({\alpha }_{ijs}^{S}\right)\), defective products \(\left({\beta }_{jm}^{M}\right)\), and deteriorated items \(\left({\kappa }_{jr}^{R}\right)\) represent an imperfect production system. The decision variables studied are sensitive to these parameters. Otherwise, selling prices at manufacturers is a decisive parameter in the replenishment, production, and selling policies. Then, the VMI agreement must establish an agreed selling price for manufactured products to avoid variations that affect suppliers and retailers.

The proposed model considered a declining exponential function of time for the market demand. The parameter \({\lambda }_{jr}^{R}\) (constant market demand) is examined. Figure 10 shows that market demand is closely associated with cycle times. A growth of around 25% in \({\lambda }_{jr}^{R}\) could generate an 11.2% increase in product cycle times.

7.3 Managerial implications

An imperfect production system can generate a fraction of defective items that affect the lot size of raw materials and products. This situation affects the supply chain to the extent that reliability and compliance with customer requirements are reduced. Then, the supply chain members should implement quality control strategies and improve the production process and warehouse storage management to reduce high levels of defective items that affect supply chain benefits. A strategy to increase the performance of the production system includes remanufacturing defective items and selling them to other industries, generating additional income for producers.

The dairy industry presents challenges in improving production processes. Consolidating the new production of whey from the surplus generated in the production process of dairy products that do not meet the required quality levels can be remanufactured. The remanufacturing processes of perishable products contribute to developing new product lines or using these products in industries related to the dairy sector. Additionally, the dairy industry must improve the planning of operations in the supply chain, specifically between the links of suppliers and manufacturers, to reduce defective products that generate high reprocessing costs.

Highly perishable products show an exponential decrease in demand because, as time goes by, they can deteriorate due to expiration, poor handling, and storage. A strategy to reduce deteriorated products consists of improving warehouse management and inventory handling practices to avoid increased damaged products, generating high costs and affecting profits. Additionally, the inventory policy should be managed to reduce the cycle length of products to satisfy customer requirements just in time and establish accurate demand forecasts.

The VMI policy can be applied in a three-level supply chain comprised of suppliers, manufacturers and retailers. The manufacturers assume the role of leaders in the supply chain for decision-making regarding levels of inventories at each level, sales forecasts and production planning. Also, it must establish confidentiality agreements allowing real-time information sharing on sales, inventories, production, and other organizational processes.

VMI agreements in the supply chain allow the development of collaborative strategies to improve the performance of an imperfect production system. VMI collaboration schemes facilitate inventory management of perishable products by allowing the manufacturer to quickly replenish, control and withdraw products due to market deterioration to avoid shortages. Also, implementing reworking processes for defective products to generate new products increases the raw material requirements and the sale of new products in the market. Therefore, it streamlines operations throughout the supply chain.

8 Conclusions and future research

This study considered a supply chain comprised of multiple suppliers, manufacturers, and retailers. A new Vendor-Managed Inventory (VMI) model is presented for a three-layer supply chain considering different types of raw materials, different perishable products, and defective items. This VMI model includes an imperfect production system at the manufacturer and incorporates the remanufacturing process to increase profits. Thus, the VMI model considers the replenishment lot size of raw material, the production rate of products, the selling price of products, and the cycle length of products as decision variables. Additionally, this VMI model includes inventory holding costs, setup costs, screening costs, purchasing costs, deterioration costs, and production costs.

The main challenge for optimizing the VMI model is the exponential terms included in the deteriorated rates since mathematical optimization is difficult to handle. According to Chen (2017), the deteriorated rates for perishable items are small values between 0.01 and 0.1. It is possible to apply the Taylor series approximation of the exponential terms considering the first three terms of the series. In this way, the benefit functions are mathematically optimized. A solution algorithm is implemented to maximize the objective function and obtain the optimal values of decision variables.

VMI policy allows control of inventory levels in the supply chain and establishes cooperation agreements to improve an imperfect production system. This approach shows promotional strategies for selling defective raw materials, deteriorated products, and remanufacturing defective products. This study constitutes a novelty in analyzing an imperfect production system with defective and deteriorated products, generating alternatives for remanufacturing, and selling these products to other industries to maximize profits in a Stackelberg approach. Also, VMI models for three supply chain levels have yet to addressed multiple members at each level or multiple items of raw materials and finished products.

The VMI model results show that the benefits of the supply chain members can be maximized by establishing a joint inventory policy. This approach includes replenishing raw materials and products and the cost of inventory and operation for an imperfect production system. This VMI model assumes the manufacturers are leaders who decide about replenishment and optimizing decision variables. This approach allows collaboration among members of different levels of a supply chain, sharing information on sales, operational costs, quality conditions of the production system, and situations that affect the supply chain productivity.

This study considers a deteriorating process for perishable products such as dairy derivates with an expiration date that reduces their useful life. During storage, the products can deteriorate due to expiration or handling and costs associated with time maintenance. Then, the demand rate presents an exponential decrease with respect to time because the deterioration process in perishable products reduces the inventory of good items. This VMI model can be applied to any supply chain of perishable products.

The deterioration of perishable products increases costs and affects profits due to increased cycle times to maintain higher inventory levels. Then, the retailers can increase their revenues by selling deteriorated items to related industries like composting and fertilizers or promoting near-expire products. Also, the increased percentage of defective raw materials negatively impacts supplier benefits. It is recommended that suppliers establish standardized processes that guarantee the quality of their products and avoid incurring high costs that negatively affect their profits. On the other hand, it is possible to increase profits by implementing a remanufacturing process for defective products sold to related industries. This approach generates additional income that increases manufacturer profits.

The VMI system for three-layer supply chains with exponential demand denotes the beginning of new lines of research around the studied problem. The first line of research can be addressed from the imperfect production system, including machine failures and breakdowns, preventive maintenance, and remanufacturing defective products at suppliers and manufacturers. The second line could be in the retail echelon, adding credit policies and payment terms, contracts, total backlogging, partial backlogging, demand depending on sales effort, and non-zero lead time. The third line of research can be addressed by considering a supply chain for perishable products, including stochastic deterioration of raw materials and finished products at all levels of the supply chain. This approach considers the impact of this on the entire chain and establishes strategies that better manage perishable products in inventories. The fourth line of research adds elements of sustainability to the supply chain.