1 Introduction

The credit period is the most effective tool used by the supplier to encourage the retailer to buy more and attract new customers. It is also considered as the best option to price discounts. Brigham [1] defined credit period as “net 30”, i.e. the supplier offers a retailer, the delay period of 30 days for settling the account.

Goyal et al. [2] explored the concept of progressive credit period and developed economic order quantity. Soni and Shah [3] developed a mathematical model when units in inventory are subject to constant deterioration under the scenario of progressive credit periods. Soni et al. [4] studied effect of inflation in above stated model. Levin et al.’s [5] quotation: “the presence of inventory has motivational effect on customer around it” is studied by Soni and Shah [6]. They developed a model in which demand is partially constant and partially dependent on the stock, and the supplier offers to retailer progressive credit period to settle the account.

The above stated model are derived under the assumption that deteriorated units in inventory is constant. However, items like fruits and vegetables, radioactive chemicals, medicines, blood components etc. deteriorate with time. Also it was assumed that the deterioration of units is complete loss to the retailer. It is observed that these deteriorated units can be made available at the reduced price. In this research article, an optimal ordering policy is established when units in inventory are subject to Weibull distribution deterioration and supplier suffers two progressive credit periods to the retailer to settle the account. A flow–chart is given to explore computational policy. The sensitivity analysis is carried out to study the variations in critical parameters on decision variable and objective function.

2 Assumptions and notations

The aforesaid model is developed using following assumptions:

  • The inventory system deals with single item.

  • The demand of R–units for an item is deterministic and known during the cycle time.

  • Replenishment rate is infinite. Replenishment is instantaneous.

  • Shortages are not allowed and lead–time is zero.

  • The distribution of time for deterioration of the items is

    $$ \theta (t) = \alpha \beta {t^{{\beta - 1}}} $$
    (2.1)

    where α(0 ≤ α < 1) denotes scale parameter i. e. rate of deterioration denotes the shape parameter (β ≥ 1) and t (t > 0) denotes the time to deterioration. The salvage value, γC(0 ≤ γ < 1), is associated to the deteriorated units where C is the unit cost of an item.

  • The deteriorated units can neither be repaired nor replaced during the cycle time.

  • If the retailer pays by offered credit period M, then supplier does not charge any interest to the retailer. If the retailer pays after M and before second credit period N (N > M) then he can keep difference in unit sale price and unit cost in an interest bearing account at the interest rate of Ie per unit per annum. During [M, N], the supplier charges the retailer an interest rate of Ic1 per unit per year. If the retailer pays after N, then supplier charges the retailer an interest rate of Ic2 per unit per annum with Ic2 > Ic1.

The following notations are used in the formulation of the model:

  • R: the demand rate per annum,

  • C: the unit purchase cost.

  • γC: salvage value of deteriorated unit, 0 ≤ γ < 1

  • P: selling price per unit. (P > C)

  • h: the inventory holding cost per unit per year excluding interest charges.

  • A: ordering cost per order.

  • M: the first offered credit period in settling account by the supplier to the retailer without any extra charges.

  • N: the second allowable credit period to settle the account with an interest charge of Ic1 and M > N.

  • Ic1: the interest charged per $ in stock per year by the supplier when the retailer pays during [M, N].

  • Ic2: the interest charged per $ in stock per year the supplier when the retailer pays during [N, T]. Note that Ic2 > Ic1.

  • Q: the procurement quantity (a decision variable).

  • T: the replenishment cycle time (a decision variable).

  • Q (t): the on–hand inventory level at any instant of time t, 0 ≤ t ≤ T

  • D(T): the number of units deteriorated during the cycle time T.

  • K(T): the total inventory cost per time unit is the sum of: (a) ordering cost; OC, (b) inventory holding cost (excluding interest charges) IHC, (c) cost due to deterioration; DC, (d) interest charges; IC, for unsold items after the offered delay period M or N, minus (e) salvage value of deteriorated units; SV, and (f) interest earned from the sales revenue during the permissible delay period [0, M].

3 Mathematical model

The on–hand inventory depletes due to demand and deterioration of units. The instantaneous state of inventory at any instant of time t is governed by the differential equation.

$$ \frac{{dQ(t)}}{{dt}} + \theta (t)Q(t) = - R,\quad {0} \leqslant t \leqslant {\text{T}} $$
(3.1)

with boundary condition Q(0) = Q and Q(T) = 0 and θ(t) is as given in (2.1). Taking series expansion and ignoring second and higher powers of α (assuming α to be very small), the solution of differential Eq. 3.1, using boundary condition Q (T) = 0 is given by

$$ Q(t) = R\left[ {T - t + \frac{{\alpha { }T}}{{\beta + 1}}\left( {{T^{\beta }} - \left( {1 + \beta } \right){t^{\beta }}} \right) + \frac{{\alpha { }\beta { }{t^{{\beta + 1}}}}}{{\beta + 1}}} \right],0 \leqslant t \leqslant T. $$
(3.2)

Using Q (0) = Q, the procurement quantity is given by

$$ Q = R\left[ {T + \frac{{\alpha {T^{{\beta + 1}}}}}{{\beta + 1}}} \right] $$
(3.3)

The number of units deteriorated; D (T) during one cycle is

$$ {\text{D}}\left( {\text{T}} \right) = {\text{Q}}-{\text{RT}} = \frac{{\alpha { }R{ }{T^{{\beta + 1}}}}}{{\beta + 1}} $$
(3.4)

The various costs of total inventory cost of the system per cycle are as follows:

  1. (a)

    Ordering cost;

    $$ {\text{OC}} = {\text{A}} $$
    (3.5)
  2. (b)

    Inventory holding cost;

    $$ {\text{IHC}} = h\int\limits_0^T {Q(t)dt} = hR\left[ {\frac{{{T^2}}}{2} + \frac{{\alpha { }\beta { }{T^{{\beta + 2}}}}}{{\left( {\beta + 1} \right)\left( {\beta + 2} \right)}}} \right] $$
    (3.6)
  3. (c)

    Cost due to deterioration of units;

    $$ {\text{CD}} = \frac{{CR\alpha {T^{{\beta + 1}}}}}{{\beta + 1}} $$
    (3.7)
  4. (d)

    Salvage value of the deteriorated units;

    $$ {\text{SV}} = \frac{{\gamma { }CR\alpha {T^{{\beta + 1}}}}}{{\beta + 1}} $$
    (3.8)

The calculations of interest charged and interest earned depend on the length of cycle time; T and offered credit periods. There are three cases:

  • Case 1. T ≤ M

  • Case 2. M < T < N

  • Case 3. T ≥ N.

Next, we discuss computations of interest charged and interest earned in each case.

  1. Case 1.

    T \( \leqslant \) M i. e. cycle time ends before the first offered credit period. (Fig. 1)

    Fig. 1
    figure 1

    (T ≤ M)

    Here, the retailer sells Q–units during [0, T] and is paying CQ to the supplier in full at time M \( \geqslant \) T. So interest charges are zero. i. e.

    $$ {\text{I}}{{\text{C}}_{{1}}} = 0 $$
    (3.9)

    During [0, T], the retailer sells unit at sale price; P per unit and deposit the revenue into an interest earning account at the rate of Ie per $ per year. In the period [T, M], the retailer only deposits the total revenue into an account that earns Ie per $ per year. Hence, interest earned during the cycle is

    $$ {\text{I }}{{\text{E}}_{{1}}} = P{I_e}\left[ {\int\limits_0^T {Rt{ }dt + RT\left( {M - T} \right)} } \right] = P{I_e}RT\left( {M - \frac{T}{2}} \right) $$
    (3.10)

    Hence, the total cost of an inventory system per time unit is

    $$ {{\text{K}}_{{1}}}\left( {\text{T}} \right) = \frac{1}{T}\left( {OC + IHC + CD + I{C_1} - I{E_1} - SV} \right) $$
    (3.11)

    The optimum value of T = T1 is the solution of non–linear equation \( \frac{{\partial {K_1}(T)}}{{\partial T}} = 0 \). The obtained T = T1 minimizes the total cost because \( \frac{{\partial ^{2} K_{1} {\left( T \right)}}} {{\partial T^{2} }} > 0 \) for all T.

  2. Case 2.

    M < T < N. (Fig. 2)

    Fig. 2
    figure 2

    M < T < N

    Here, interest earned, IE2, during [0, M] is \( {\text{I}}{{\text{E}}_{{2}}} = P{I_e}\int\limits_0^M {Rtdt = \frac{{P{I_e}R{M^2}}}{2}} \). The retailer has to pay for Q–units purchased at unit cost C $ to the supplier up to time M, the retailer sells RM–units and has revenue PRM plus interest earned IE2 to pay the supplier. Depending on the difference between the total purchase cost; CQ and the revenue; PRM + IE2, two sub–cases may arise:

    1. Sub–case 2.1

      Let PRM + IE2 \( \geqslant \) CQ. i. e. the retailer has sufficient amount in his account to pay–off total purchase cost at M. Then interest charges,

      $$ {\text{I}}{{\text{C}}_{{{2}.{1}}}} = 0 $$
      (3.12)

      and interest earned,

      $$ {\text{I}}{{\text{E}}_{{{2}.{1}}}} = {\text{I}}{{\text{E}}_{{2}}} = \frac{{P{I_e}R{M^2}}}{2} $$
      (3.13)

      Therefore, the total cost of an inventory system per time unit is

      $$ {{\text{K}}_{{{2}.{1}}}}\left( {\text{T}} \right) = \frac{1}{T}\left( {OC + IHC + CD + I{C_{{2.1}}} - I{E_{{2.1}}} - SV} \right) $$
      (3.14)

      The optimal value of T = T2.1 is a solution of non–linear equation \( \frac{{\partial {K_{{2.1}}}(T)}}{{\partial T}} = 0 \) and T = T2.1 minimizes the total cost K2.1 of an inventory system because \( \frac{{\partial ^{2} K_{{2.1}} {\left( T \right)}}} {{\partial T^{2} }} > 0 \) for all T.

    2. Sub–Case 2.2:

      Let PRM + IE2 < CQ. Here, the retailer does not have sufficient money in his account to do payment at offered credit period; M the supplier charges retailer on the unpaid balance U1 = CQ–(PRM + IE2) at the interest rate Ic1 at time M, therefore, interest charges; IC2.2 per cycle is

      $$ {\text{I}}{{\text{C}}_{{{2}.{2}}}} = \frac{{{U_1}^2I{c_1}}}{{2PR}}\int\limits_M^T {Q(t){ }dt} = \frac{{{U_1}^2I{c_1}}}{{2P}}\left( {\frac{{{{(T - M)}^2}}}{2} + \frac{{\alpha \beta }}{{(\beta + 1)(\beta + 2)}}({T^{{\beta + 2}}} - {M^{{\beta + 2}}}) - \frac{{\alpha MT}}{{(\beta + 1)}}({T^{\beta }} - {M^{\beta }})} \right) $$
      (3.15)

      and interest earned per cycle is

      $$ I{E_{{2.2}}} = I{E_2} = \frac{{PIe}}{2}R{M^2} $$
      (3.16)

      Therefore, the total cost of an inventory system per time unit is

      $$ {{\text{K}}_{{{2}.{2}}}}\left( {\text{T}} \right) = \frac{1}{T}\left( {OC + IHC + CD + I{C_{{2.2}}} - I{E_{{2.2}}} - SV} \right) $$
      (3.17)

      The optimum value of T = T2.2 can be obtained by solving the non–linear equation \( \frac{{\partial {K_{{2.2}}}(T)}}{{\partial T}} = 0 \) which minimizes total cost K2.2 because \( \frac{{\partial ^{2} K_{{2.2}} {\left( T \right)}}} {{\partial T^{2} }} > 0 \) for all T.

  3. Case 3.

    T\( \geqslant \)N i. e. supplier offers his retailer two progressive credit periods to settle the account before retailer’s inventory reaches zero. (Fig. 3)

    Fig. 3
    figure 3

    T ≥ N

    Based on the total purchase cost, CQ, total revenue PRM + IE2 at M and total revenue PRN + IE2 at N, three sub cases may arise.

    1. Sub–case 3.1:

      Let PRM + IE2 \( \geqslant \) CQ. This sub–case is same as sub–case 2.1 (Note: Here decision variable and objective function are designated by 3.1)

    2. Sub–case 3.2:

      Let PRM + IE2 < CQ and

      $$ PR(N - M) + \frac{{P{I_e}R({N^2} - {M^2})}}{2} \geqslant CQ - (PRM + I{E_2}) $$

      This sub–case is same as sub–case 2.2. (Note: Here decision variable and objective function is designated by 3.2.)

    3. Sub–case 3.3:

      Let PRM + IE2 < CQ and \( PR{\left( {N - M} \right)} + \frac{{PI_{e} R{\left( {N^{2} - M^{2} } \right)}}} {2} < CQ - {\left( {PRM + IE_{2} } \right)} \)

      Here, retailer does not have sufficient money in his account to pay–off total purchase cost at time N; he pays PRM + IE2 at M and \( PR(N - M) + \frac{{P{I_e}R({N^2} - {M^2})}}{2} \) at N. Hence, retailer will have to pay interest charges on unpaid balance; U1 = CQ – (PRM + IE2) with interest rate Ic1 during [M, N] and on unpaid balance; U2 = U1\( \left( {PR(N - M) + \frac{{P{I_e}R({N^2} - {M^2})}}{2}} \right) \) with interest rate Ic2 during [N, T]. Hence, total interest payable per cycle is

      $$ I{C_{{3.3}}} = {U_1}I{c_1}(N - M) + \frac{{{U_2}^2}}{{PR}}I{c_2}\int\limits_N^T {Q(t)dt} = {U_1}I{c_1}(N - M) + \frac{{{U_2}^2}}{P}I{c_2}\left\{ {\frac{{{{(T - N)}^2}}}{2} + \frac{{\alpha \beta ({T^{{\beta + 2}}} - {N^{{\beta + 2}}})}}{{(\beta + 1)(\beta + 2)}} + \frac{{\alpha NT({N^{\beta }} - {T^{\beta }})}}{{\beta + 1}}} \right\} $$
      (3.18)

      and interest earned

      $$ {\text{I}}{{\text{E}}_{{{3}.{3}}}} = {\text{I}}{{\text{E}}_{{2}}} = \frac{{P{I_e}R{M^2}}}{2} $$
      (3.19)

      Therefore, the total cost of an inventory system per time unit is

      $$ {{\text{K}}_{{{3}.{3}}}}\left( {\text{T}} \right) = \frac{1}{T}\left( {OC + IHC + CD + I{C_{{3.3}}} - I{E_{{3.3}}} - SV} \right) $$
      (3.20)

      The necessary condition for K3.3(T) to be minimum T = T3.3 is \( \frac{{\partial {K_{{3.3}}}(T)}}{{\partial T}} = 0 \) and sufficiency condition is \( \frac{{\partial ^{2} K_{{3.3}} {\left( T \right)}}} {{\partial T^{2} }} > 0 \) for all T.

      In the next section, computation flow start is desired to search for the optimal solution.

4 Computational flow chart (Fig. 4)

Fig. 4
figure 4

Computational flow chart to search best optimal policy

5 Numerical example

Consider the following parametric values in appropriate units:

$$ \left[ {{\text{A}},{\text{C}},{\text{h}},{\text{P}},{\text{R}},{{\text{I}}_{\text{e}}}} \right] = \left[ {{2}00,{5}0,{5},{75},{1}000,0.{12}} \right] $$

The effect of various parameters on decision variable and total cost of inventory system is exhibited in the following tables (Table 1):

Table 1 Effect of two credit periods on decision policy (α = 0.1, β = 1.5, γ = 0.2)

Increase in first credit period; M decreases cycle time and total cost because retailer can earn more during offered credit period. Increase in second credit period; N increases cycle time significantly and decreases total cost of an inventory system (Table 2).

Table 2 Effect of deterioration rate and first credit period on decision policy (N = 35/365, Ic2 = 22%, β = 1.5, γ = 0.2)

It is observed that more deterioration of units forces retailer to put frequent orders. Hence cycle time decreases and total cost of inventory system increases significantly (Table 3).

Table 3 Effect of first credit period and shape parameter on decision policy (N = 35/365, Ic2 = 22%, α = 0.1, γ = 0.2)

As shape parameter increases, cycle time increases and total cost of an inventory system decreases (Table 4).

Table 4 Effect of first credit period and salvage value on decision policy (N = 35/365, Ic2 = 22%, α = 0.1, β = 1.5)

Increase in salvage value of deteriorated units prolongs the cycle time and decreases total cost of inventory system significantly (Table 5).

Table 5 Effect of second credit period and deterioration units on decision policy (M = 20/365, Ic1 = 16%, β = 1.5, γ = 0.2)

The optimal cycle time and total cost of an inventory system are very sensitive to changes in offered progressive credit period and deterioration of units. Increase in deterioration decreases cycle time and increases cycle time and decreases total cost. Increase in second credit period increases the cycle time and decreases total cost (Table 6).

Table 6 Effect of second credit period and shape parameter on decision policy (M = 20/365, Ic1 = 16%, α = 0.1, γ = 0.2)

Here, cycle time increases and total cost decreases significantly with increase in shape parameter and second offered credit period (Table 7).

Table 7 Effect of second credit period and salvage parameter on decision policy (M = 20/365, Ic1 = 16%, α = 0.1, β = 1.5)

Increase in salvage value of the deteriorated units increases cycle time and decreases total inventory cost (Table 8).

Table 8 Effect of deterioration rate and shape parameter on decision policy (M = 20/365, Ic1 = 16%, N = 35/365, Ic1 =22%, γ = 0.2)

The model is very sensitive to deterioration of units in inventory and shape parameter. Increase in deterioration rate decreases cycle time and increases total cost. Increase in shape parameter increases cycle time and decreases total cost of an inventory system (Table 9).

Table 9 Effect of deterioration rate and salvage parameter on decision policy (M = 20/365, Ic1 = 16%, N = 35/365, Ic2 =22%, γ = 0.2)

Increase in salvage parameter for deteriorated units increases cycle time and decreases total inventory cost (Table 10).

Table 10 Effect of shape parameter and salvage parameter on decision policy (M = 20/365, Ic1 = 16%, N = 35/365, Ic2 =22%, α = 0.2)

No significant change is observed in decision variable and objective function for fixed shape parameter and increasing salvage parameter.