1 Introduction

1.1 Literature Review

It is well known that there are several crucial factors involved in the inventory management. Here, we have discussed some of the major factors which directly or indirectly affect the business of an organization. Deterioration in inventory is a major issue for every business organization. It means degradation, spoiling, decay, damage, etc. In this area, Liao and Huang (2010) have formulated a deterministic inventory model for deteriorating items with trade credit financing and capacity constraints. Similarly, Hung (2011) has developed an inventory model taking with generalized-type demand and deterioration. Widyadana and Wee (2012) discussed the economic production quantity model for deteriorating items in their model. Later on, Shah et al. (2013) have built an inventory model with non-instantaneous deteriorating items with generalized-type deterioration. Then, Taleizadeh and Nematollahi (2014) have presented an inventory control problem for deteriorating items with backordering and financial consideration. Again, Taleizadeh et al. (2015) have formulated a vendor-managed inventory model in supply chain system for deteriorating item and solved by Stackelberg approach. Tsao (2016) has made an inventory model which helps for a decision to find joint location, inventory and preservation facility under delay in payments condition. Shaikh et al. (2019) have proposed an economic order quantity model for deteriorating item with preservation technology investment. Shaikh et al. (2017a) have again explored another inventory model with non-instantaneous deterioration inventory model with price- and stock-dependent demand for fully backlogged shortages under inflation. Subsequently, Pal et al. (2017) have discussed a stochastic production inventory model for deteriorating item with finite life cycle. Except the earlier-mentioned work, many other researchers have also developed the inventory model considering deterioration as a factor. Here, we have cited few of them in Table 1.

Table 1 Major contribution of the proposed model

Another factor in inventory management is availability of physical space to store the goods for smooth running of the business. In this regard, two-warehouse facility is in the eye of business organization. In a two-warehouse system, there are two warehouses; first one is owned warehouse (OW) and second one is rented warehouse (RW). Sometimes business organization wants to keep more goods beyond their capacity, for different reasons such as (1) to avoid stock-out situations, (2) to store large quantity of seasonal products, (3) To avail the discount facility, (4) to meet up the high demand of the product and so on. They keep the excess amount beyond the capacity of owned warehouse in a rented warehouse. In this area, a lot of works have been reported in the existing literature. Recently, Liang and Zhou (2011) have formulated a two-warehouse inventory model for deteriorating item with delay in payments. Sett et al. (2012) have developed a two-warehouse inventory model with increasing demand and time-varying deterioration. Again, Liao et al. (2013) has proposed a deterministic inventory model with two-warehouse system considering trade credit financing. Bhunia et al. (2013) have also discussed a two-warehouse deterministic inventory model by using elitist real-coded genetic algorithm. Subsequently, Das et al. (2014) have presented a two-warehouse production inventory model with time-varying demand using genetic algorithm with varying population size approach. Similarly, Bhunia et al. (2015) have introduced particle swarm optimization in their two-warehouse inventory model. Palanivel and Uthayakumar (2016) have formulated a two-warehouse inventory model with optimal credit period and partial backlogging under inflation. Jaggi et al. (2017) have proposed a two-warehouse inventory model with deteriorating item having imperfect quality under delay in payments. Then, Shaikh (2017) has introduced alternative trade credit policy in his two-warehouse inventory model.

Over the last few years, researchers have successfully used meta-heuristic methods to solve optimization problems in different fields of Science and Engineering disciplines. Some of these algorithms are genetic algorithm, particle swarm optimization, ant colony optimization, differential evolution, among others. Among these algorithms, the mostly used efficient algorithms are genetic algorithm (GA) and particle swarm optimization (PSO). In this research work, we have used the particle swarm optimization (PSO). In this connection, the recent works of Bhunia et al. (2014, 2017), Bhunia and Shaikh (2016), Tiwari et al. (2017), Shaikh et al. (2017b) are worth mentioning.

Nowadays, advance payment or prepayment scheme is very much popular among the business people. Advance payment means that the retailers make payment a part of total amount which is to be paid in advance for supplying of goods and the balance amount is included in the invoice only with the delivery. This means that retailers/suppliers can buy the whole products by prepaying a part of the total amount and can run the business and later pay the balance on instalments. Some of the researchers have worked on advance payment and developed some inventory models. Maiti et al. (2009) have developed an inventory model with stochastic lead time and price-dependent demand introducing advance payment. Thangam (2011) has proposed a model on dominants retailers optimal policy in a supply chain under advance payment scheme and trade credit, then subsequently again Thangam (2012) has extended the model with optimal price discounting and lot-sizing policies under advance payment scheme and two-echelon trade credit. Similarly, Taleizadeh et al. (2013) have presented an economic order quantity model with multiple partial prepayment and partial backordering, and then Taleizadeh (2014a) developed an inventory model for an evaporating item with partial backordering and advance payments. Teng et al. (2016) have built lot-size policies for deteriorating items with expiration date and advance payments. Recently, Tavakoli and Taleizadeh (2017) have developed an EOQ model by introducing conditional discount for decaying items with full advance payment.

In the existing literature, a lot of research works have been done by considering the fixed inventory costs. However, in real-life situations, the inventory costs are not always fixed due to uncertainty of competitive marketing situations. In this work, we have considered the inventory parameters as interval valued due to uncertainty. We have applied this concept in a two-warehouse inventory model with advanced payment, partial backlogged shortage. Due to representation of interval cost, we cannot solve this problem by existing optimization technique. In this reason, we have developed a soft computing technique (particle swarm optimization) to solve our proposed inventory model by using interval arithmetic and interval order relations. Also, we have compared the obtained optimal solution obtained from different variants of PSO (viz. PSO-CO, WQPSO and GQPSO). Finally, we have supplied a numerical example to validate our proposed inventory model and performed a sensitivity analysis to study the effect of changes of different parameters.

1.2 Research gap and our contribution

In the existing literature, it is observed that a lot of research works have been done by considering the inventory parameters as fuzzy valued. Initially, they have considered the inventory parameters as fuzzy valued and formulate fuzzy mathematical model. Then, in solution procedure, they have used defuzzification technique to solve the developed problem. In this work, we have considered the inventory parameters as interval valued. This is another kind of uncertainty representation. Here, we do not use any uncertainty removal technique. We have solved the proposed problem by soft computing technique with the help of interval arithmetic and interval order relations. The final results of the proposed problem are in interval form. Very few research works have been done by taking interval-valued inventory costs. We have solved this problem by using different variants of PSO. In this work, our contributions are as follows:

  1. (1)

    We have updated the solution technique by using interval arithmetic and interval order relation.

  2. (2)

    Compared the solution by different variants of PSO.

  3. (3)

    Advance payment and partial backlogging have been considered.

  4. (4)

    Interval-valued inventory parameters have been considered.

  5. (5)

    Advance payment has also mentioned in the contribution no. 3. and price-dependent demand have been considered.

2 Assumptions and notations

The following assumptions and notations have been considered in the entire paper.

2.1 Assumptions

  1. 1.

    Inventory system contains single item.

  2. 2.

    The demand of the item is linearly dependent on price i.e. D(p) = a − bp where \( a > bp\,\;{\text{and}}\;\;a,b > 0. \)

  3. 3.

    The deterioration rates for both warehouses (owned and rented) are constants and known. Also for better preservation facility, the deterioration rate in RW is less than the same in OW.

  4. 4.

    There is no repair or replacement facility for deteriorated units.

  5. 5.

    Inventory planning horizon is infinite.

  6. 6.

    Inventory costs, like, ordering cost, inventory holding cost/carrying cost, purchasing cost, shortage cost and opportunity cost are interval valued.

  7. 7.

    The retailer pays a fraction k of the total purchasing cost with n equally multiple instalments within the lead time M and receives the lot by paying the remaining purchasing cost.

  8. 8.

    The holding cost per unit of rented warehouse (RW) is greater than that in OW due to better preservation facilities in RW.

  9. 9.

    Shortages are allowed and during the stock-out period, a fraction η(< 1)of the demand will be backordered.

Notation

Notations

Units

Description

A = [ALAU]

$/order

Interval-valued ordering cost

a

Constant

Location parameter of demand

b

Constant

Shape parameter of demand

p

$/unit

Selling price per unit

cl = [clLclU]

$/unit

Interval-valued opportunity cost per unit

cs = [csLcsU]

$/unit

Interval-valued shortage cost per unit

α

Constant

Deterioration rate in OW

β

Constant

Deterioration rate in RW

cho = [choLchoU]

$/unit

Interval-valued holding cost per unit in OW

chr = [chrLchrU]

$/unit

Holding cost per unit in RW

W 1

Units

Inventory level at RW

R

Units

Backlogged units

S

Units

Highest inventory level after fulfilling backlogged quantity

cp = [cpLcpU]

Units

Interval-valued purchasing cost per unit

η

Units

Partial backlogging factor (0 < η < 1)

M

Years

Length of the lead time during which the enterprise will pay the prepayments

n

Constant

Number of equally spaced prepayments during the lead time

k

Constant

Fraction of the purchasing cost that must be paid with multiple prepayments (0 < k < 1)

cd = [cdLcdU]

$/unit

Deterioration cost per unit

TC = [TCLTCU]

 

Total cost of the entire circle

Decision variable

t 1

Year

Time at which the stock reaches to zero

T

Year

The length of the replenishment cycle

3 Problem definition

Let us suppose that an enterprise orders (S + R) units of product for business purpose by prepaying a k fraction of the purchasing cost by n equal instalments at equal intervals within the lead time M and receives the lot by paying the remaining purchasing cost at time t = 0. Shortly after, R units are utilized to fulfil the partially backlogged demand and consequently, the on-hand inventory level becomes \( S \). Out of which \( W_{1} \) units are stored in OW and the remaining part \( (S - W_{1} ) \) units are stored in RW. Since the RW offers better facilities apparently, the holding cost in RW is greater than that in OW and as such the products in RW will be consumed first. During the time interval \( [0,t_{1} ] \), the inventory level in RW depletes due to meet up the customers’ demand \( D(p) \) as well as constant deterioration rate \( \beta \), and at time \( t = t_{1} , \) it becomes zero. However, in OW, the inventory level depletes due to constant deterioration rate \( \alpha \) only up to the time \( t = t_{1} \). After that, the inventory in OW is depleted due to the customers’ demand \( D(p) \) and deterioration simultaneously during the time interval \( [t_{1} ,t_{2} ] \). At time \( t = t_{2} \), it also becomes zero. Thereafter, shortages occur and accumulate with a constant rate \( \eta \) fraction of demand during the time interval \( [t_{2} ,T] \). The pictorial representation of the mentioned two-warehouse inventory system is depicted in Fig. 1.

Fig. 1
figure 1

Graphical representation of two-warehouse inventory system under prepayments with shortages

So the inventory level \( I_{r} (t) \) in RW at any instant \( t \) can be described by the following differential equation

$$ \frac{{{\text{d}}I_{r} (t)}}{{{\text{d}}t}} + \beta I_{r} (t) = - (a - bp),\quad 0 \le t \le t_{1} $$
(1)

subject to the conditions

$$ I_{r} (t) = \left\{ {\begin{array}{*{20}l} {S - W_{1} ,} \hfill & {{\text{at}}\;t = 0} \hfill \\ {0,} \hfill & {{\text{at}}\,t = t_{1} } \hfill \\ \end{array} } \right. $$
(2)

The solution of Eq. (1), with the condition \( I_{r} (t) = 0\,\,\,{\text{at}}\,\,t = t_{1} \), is given by

$$ I_{r} (t) = \frac{a - bp}{\beta }\left[ {e^{{\beta (t_{1} - t)}} - 1} \right],\quad 0 \le t \le t_{1} $$
(3)

Using \( I_{r} (0) = S - W_{1} \) in Eq. (3), one can write

$$ S = W_{1} + \frac{a - bp}{\beta }\left( {e^{{\beta t_{1} }} - 1} \right) $$
(4)

Again, the inventory level \( I_{o} (t) \) in OW at any instant \( t \) can be described by the following differential equations:

$$ \frac{{{\text{d}}I_{o} (t)}}{{{\text{d}}t}} + \alpha I_{o} (t) = 0,\quad 0 \le t \le t_{1} $$
(5)
$$ \frac{{{\text{d}}I_{o} (t)}}{{{\text{d}}t}} + \alpha I_{o} (t) = - (a - bp),\quad t_{1} < t \le t_{2} $$
(6)
$$ \frac{{{\text{d}}I_{o} (t)}}{{{\text{d}}t}} = - \eta (a - bp),\quad t_{2} < t \le T $$
(7)

subject to the conditions

$$ I_{o} (t) = \left\{ {\begin{array}{*{20}l} {W_{1} ,} \hfill & {{\text{at}}\,t = 0} \hfill \\ {0,} \hfill & {{\text{at}}\,t = t_{2} } \hfill \\ { - R,} \hfill & {{\text{at}}\,t = T} \hfill \\ \end{array} } \right. $$
(8)

Again, \( I_{o} (t) \) is continuous at \( t = t_{1} \) and \( t = t_{2} \).

The solutions of the differential Eqs. (5)–(7), with the help of conditions (8), can be written as

$$ I_{o} (t) = W_{1} e^{ - \alpha t} ,\quad 0 \le t \le t_{1} $$
(9)
$$ I_{o} (t) = \frac{a - bp}{\alpha }\left[ {e^{{\alpha (t_{2} - t)}} - 1} \right],\quad t_{1} < t \le t_{2} $$
(10)
$$ I_{o} (t) = \eta (a - bp)(T - t) - R,\quad t_{2} < t \le T $$
(11)

By considering the continuity at \( t = t_{1} \) and \( t = t_{2} \), we can write

$$ \begin{aligned} W_{1} e^{{ - \alpha t_{1} }} = \frac{a - bp}{\alpha }\left[ {e^{{\alpha (t_{2} - t_{1} )}} - 1} \right]\, \hfill \\ {\text{i}} . {\text{e}} . , { }t_{2} = t_{1} + \frac{1}{\alpha }\log \left\{ {1 + \frac{{\alpha W_{1} e^{{ - \alpha t_{1} }} }}{{\left( {a - bp} \right)}}} \right\} \hfill \\ \end{aligned} $$
(12)

and

$$ R = \eta (a - bp)(T - t_{2} ) $$
(13)

The different inventory costs for the proposed model are as follows:

  1. (a)
    $$ {\text{Ordering}}\;{\text{cost}} = A $$
  2. (b)
    $$ {\text{Purchase}}\;{\text{cost}} = c_{p} (S + R) = \left[ {c_{pL} (S + R),c_{pU} (S + R)} \right] $$
  3. (c)
    $$ \begin{aligned} {\text{Holding}}\;{\text{cost}} & = \left[ {c_{hrL} \int\limits_{0}^{{t_{1} }} {I_{r} (t)} \;{\text{d}}t + c_{hoL} \int\limits_{0}^{{t_{1} }} {I_{o} (t)} \;{\text{d}}t + c_{hoL} \int\limits_{{t_{1} }}^{{t_{2} }} {I_{o} (t)} \,{\text{d}}t,c_{hrU} \int\limits_{0}^{{t_{1} }} {I_{r} (t)} \,{\text{d}}t + c_{hoU} \int\limits_{0}^{{t_{1} }} {I_{o} (t)} \,{\text{d}}t + c_{hoU} \int\limits_{{t_{1} }}^{{t_{2} }} {I_{o} (t)} \,{\text{d}}t} \right] \\ & = \left[ {\frac{{c_{hrL} (a - bp)}}{{\beta^{2} }}\left( {e^{{\beta t_{1} }} - \beta t_{1} - 1} \right) + \frac{{c_{hoL} W_{1} }}{\alpha }\left( {1 - e^{{ - \alpha t_{1} }} } \right) + \frac{{c_{hoL} (a - bp)}}{{\alpha^{2} }}\left( {e^{{\alpha (t_{2} - t_{1} )}} - \alpha (t_{2} - t_{1} ) - 1} \right),} \right. \\ & \quad \left. {\frac{{c_{hrU} (a - bp)}}{{\beta^{2} }}\left( {e^{{\beta t_{1} }} - \beta t_{1} - 1} \right) + \frac{{c_{hoU} W_{1} }}{\alpha }\left( {1 - e^{{ - \alpha t_{1} }} } \right) + \frac{{c_{hoU} (a - bp)}}{{\alpha^{2} }}\left( {e^{{\alpha (t_{2} - t_{1} )}} - \alpha (t_{2} - t_{1} ) - 1} \right)} \right] \\ \end{aligned} $$
  4. (d)
    $$ \begin{aligned} {\text{Deterioration}}\;{\text{cost}} & = \left[ {c_{dL} \beta \int\limits_{0}^{{t_{1} }} {I_{r} (t)} \;{\text{d}}t + c_{{{\text{d}}L}} \alpha \int\limits_{0}^{{t_{1} }} {I_{o} (t)} \,{\text{d}}t + c_{{{\text{d}}L}} \alpha \int\limits_{{t_{1} }}^{{t_{2} }} {I_{o} (t)} \,{\text{d}}t,\left. {c_{{{\text{d}}U}} \beta \int\limits_{0}^{{t_{1} }} {I_{r} (t)} \,{\text{d}}t + c_{{{\text{d}}U}} \alpha \int\limits_{0}^{{t_{1} }} {I_{o} (t)} \,{\text{d}}t + c_{{{\text{d}}U}} \alpha \int\limits_{{t_{1} }}^{{t_{2} }} {I_{o} (t)} \,{\text{d}}t} \right]} \right. \\ & = \left[ {\frac{{c_{{{\text{d}}L}} (a - bp)}}{\beta }\left( {e^{{\beta t_{1} }} - \beta t_{1} - 1} \right) + c_{{{\text{d}}L}} W_{1} \left( {1 - e^{{ - \alpha t_{1} }} } \right) + \frac{{c_{{{\text{d}}L}} (a - bp)}}{\alpha }\left( {e^{{\alpha (t_{2} - t_{1} )}} - \alpha (t_{2} - t_{1} ) - 1} \right),} \right. \\ & \quad \left. {\frac{{c_{{{\text{d}}U}} (a - bp)}}{\beta }\left( {e^{{\beta t_{1} }} - \beta t_{1} - 1} \right) + c_{{{\text{d}}U}} W_{1} \left( {1 - e^{{ - \alpha t_{1} }} } \right) + \frac{{c_{{{\text{d}}U}} (a - bp)}}{\alpha }\left( {e^{{\alpha (t_{2} - t_{1} )}} - \alpha (t_{2} - t_{1} ) - 1} \right)} \right] \\ \end{aligned} $$
  5. (e)
    $$ \begin{aligned} {\text{Shortage}}\;{\text{cost}} & = \left[ {c_{sL} \int\limits_{{t_{2} }}^{T} {\left\{ { - I_{o} (t)} \right\}{\text{d}}t,c_{sU} \int\limits_{{t_{2} }}^{T} {\left\{ { - I_{o} (t)} \right\}{\text{d}}t} } } \right] \\ & = \left[ {\frac{1}{2}c_{sL} \eta (a - bp)(T - t_{2} )^{2} ,\frac{1}{2}c_{sU} \eta (a - bp)(T - t_{2} )^{2} } \right] \\ \end{aligned} $$
  6. (f)
    $$ \begin{aligned} {\text{Opportunity}}\;{\text{cost}} & = \left[ {c_{lL} (1 - \eta )\int\limits_{{t_{2} }}^{T} {D\,dt,c_{lU} (1 - \eta )\int\limits_{{t_{2} }}^{T} {D\,dt} } } \right] \\ & = \left[ {c_{lL} (1 - \eta )(a - bp)(T - t_{2} ),c_{lU} (1 - \eta )(a - bp)(T - t_{2} )} \right] \\ \end{aligned} $$
  7. (g)

    Interval-valued capital cost: The capital cost from Fig. 1 or Taleizadeh (2014a, b) is

    $$ \begin{aligned} & \left[ {\left\{ {I_{c} \left[ {\frac{{kc_{pL} (S + R)}}{n} \cdot \frac{M}{n}(1 + 2 + 3 + \cdots + n)} \right]} \right\},\left\{ {I_{c} \left[ {\frac{{kc_{pU} (S + R)}}{n} \cdot \frac{M}{n}(1 + 2 + 3 + \cdots + n)} \right]} \right\}} \right] \\ & \quad = \left[ {\left\{ {\frac{n + 1}{2n}I_{c} Mkc_{pL} \left[ {W_{1} + \frac{a - bp}{\beta }\left( {e^{{\beta t_{1} }} - 1} \right) + \eta (a - bp)(T - t_{2} )} \right]} \right\},} \right. \\ & \quad \quad \left. {\left\{ {\frac{n + 1}{2n}I_{c} Mkc_{pU} \left[ {W_{1} + \frac{a - bp}{\beta }\left( {e^{{\beta t_{1} }} - 1} \right) + \eta (a - bp)(T - t_{2} )} \right]} \right\}} \right] \\ \end{aligned} $$

Therefore, the total cost per unit time (i.e. average cost) is

$$ \begin{aligned} TC & = \frac{1}{T}\left[ { < {\text{Ordering}}\;{\text{cost}} > + < {\text{Purchase}}\;{\text{cost}} > + < {\text{Holding}}\;{\text{cost}} > + < {\text{Deterioration}}\;{\text{cost}} > } \right. \\ & \quad \left. { + < {\text{Shortage}}\;{\text{cost}} > + < {\text{Opportunity}}\;{\text{cost}} > + < {\text{Capital}}\;{\text{cost}} > } \right] \\ \end{aligned} $$

i.e.

$$ TC = \left[ {TC_{L} ,TC_{U} } \right] $$

where

$$ TC_{L} = \frac{1}{T}\left[ \begin{aligned} & A_{L} + \frac{(a - bp)}{{\beta^{2} }}\left( {c_{hrL} + \beta c_{dL} } \right)\left( {e^{{\beta t_{1} }} - \beta t_{1} - 1} \right) + \frac{(a - bp)}{{\alpha^{2} }}\left( {c_{hoL} + \alpha c_{dL} } \right)\left( {e^{{\alpha (t_{2} - t_{1} )}} - \alpha (t_{2} - t_{1} ) - 1} \right) \\ & \quad + \frac{{W_{1} }}{\alpha }\left( {c_{hoL} + \alpha c_{dL} } \right)\left( {1 - e^{{ - \alpha t_{1} }} } \right) + \frac{1}{2}c_{sL} \eta (a - bp)(T - t_{2} )^{2} + c_{lL} (1 - \eta )(a - bp)(T - t_{2} ) \\ & \quad + \left( {1 + \frac{n + 1}{2n}I_{c} Mk} \right)c_{pL} \left\{ {W_{1} + \frac{a - bp}{\beta }\left( {e^{{\beta t_{1} }} - 1} \right) + \eta (a - bp)(T - t_{2} )} \right\} \\ \end{aligned} \right] $$
(14)

and

$$ TC_{U} = \frac{1}{T}\left[ \begin{aligned} & A_{U} + \frac{(a - bp)}{{\beta^{2} }}\left( {c_{hrU} + \beta c_{dU} } \right)\left( {e^{{\beta t_{1} }} - \beta t_{1} - 1} \right) + \frac{(a - bp)}{{\alpha^{2} }}\left( {c_{hoU} + \alpha c_{dU} } \right)\left( {e^{{\alpha (t_{2} - t_{1} )}} - \alpha (t_{2} - t_{1} ) - 1} \right) \\ & \quad + \frac{{W_{1} }}{\alpha }\left( {c_{hoU} + \alpha c_{dU} } \right)\left( {1 - e^{{ - \alpha t_{1} }} } \right) + \frac{1}{2}c_{sU} \eta (a - bp)(T - t_{2} )^{2} + c_{lU} (1 - \eta )(a - bp)(T - t_{2} ) \\ & \quad + \left( {1 + \frac{n + 1}{2n}I_{c} Mk} \right)c_{pU} \left\{ {W_{1} + \frac{a - bp}{\beta }\left( {e^{{\beta t_{1} }} - 1} \right) + \eta (a - bp)(T - t_{2} )} \right\} \\ \end{aligned} \right] $$

4 Solution procedure

In this work, we have considered the value of inventory parameters as interval valued (i.e. the value of each parameter lies between an interval). Due to this interval representation of inventory cost, the total costs per unit time are converted into interval valued. So, we cannot be able to solve this problem by usual direct/indirect optimization technique. In this paper, we have solved our proposed problem by using interval order relations and particle swarm optimization. The details about interval mathematics including interval order relations and particle swarm optimization technique have been described in “Appendices A and B”.

5 Special cases

In this section, we have discussed some special cases of our proposed model. If we consider the interval-valued costs as fixed, i.e. \( A = A_{L} = A_{U} \), \( c_{l} = c_{lL} = c_{lU} \), \( c_{s} = c_{sL} = c_{sU} \), \( c_{ho} = c_{hoL} = c_{hoU} \), \( c_{hr} = c_{hrL} = c_{hrU} \), \( c_{p} = c_{pL} = c_{pU} \), \( c_{d} = c_{dL} = c_{dU} \), then the total cost is reduced to \( TC\left( {t_{1} ,T} \right) = TC_{L} \left( {t_{1} ,T} \right) = TC_{U} \left( {t_{1} ,T} \right) \). So, the model is converted to crisp model.

  1. (a)

    Model with complete backlogging \( \left( {{\text{i}} . {\text{e}} .\eta = 1} \right) \)

If \( \eta = 1 \), then the total cost per unit time is given by

$$ TC(t_{1} ,T) = \frac{1}{T}\left[ \begin{aligned} & A + \frac{(a - bp)}{{\beta^{2} }}\left( {c_{hr} + \beta c_{d} } \right)\left( {e^{{\beta t_{1} }} - \beta t_{1} - 1} \right) + \frac{(a - bp)}{{\alpha^{2} }}\left( {c_{ho} + \alpha c_{d} } \right)\left( {e^{{\alpha (t_{2} - t_{1} )}} - \alpha (t_{2} - t_{1} ) - 1} \right) \\ & \quad + \frac{{W_{1} }}{\alpha }\left( {c_{ho} + \alpha c_{d} } \right)\left( {1 - e^{{ - \alpha t_{1} }} } \right) + \frac{1}{2}c_{s} (a - bp)(T - t_{2} )^{2} \\ & \quad + \left( {1 + \frac{n + 1}{2n}I_{c} Mk} \right)c_{p} \left\{ {W_{1} + \frac{a - bp}{\beta }\left( {e^{{\beta t_{1} }} - 1} \right) + (a - bp)(T - t_{2} )} \right\} \\ \end{aligned} \right] $$
  1. (b)

    Model without Shortage

If \( T \approx t_{2} \), i.e. \( R = 0 \), then the total cost per unit time becomes

$$ TC(t_{1} ) = \frac{1}{T}\left[ \begin{aligned} & A + \frac{(a - bp)}{{\beta^{2} }}\left( {c_{hr} + \beta c_{d} } \right)\left( {e^{{\beta t_{1} }} - \beta t_{1} - 1} \right) + \frac{(a - bp)}{{\alpha^{2} }}\left( {c_{ho} + \alpha c_{d} } \right)\left( {e^{{\alpha (T - t_{1} )}} - \alpha (T - t_{1} ) - 1} \right) \\ & \quad + \frac{{W_{1} }}{\alpha }\left( {c_{ho} + \alpha c_{d} } \right)\left( {1 - e^{{ - \alpha t_{1} }} } \right) + \left( {1 + \frac{n + 1}{2n}I_{c} Mk} \right)c_{p} \left\{ {W_{1} + \frac{a - bp}{\beta }\left( {e^{{\beta t_{1} }} - 1} \right)} \right\} \\ \end{aligned} \right] $$

Using continuity at \( t = t_{1} \), we can get

$$ W_{1} e^{{ - \alpha t_{1} }} = \frac{a - bp}{\alpha }\left[ {e^{{\alpha (T - t_{1} )}} - 1} \right] $$
  1. (c)

    Model without advance payment (i.e. M = 0)

If \( M = 0 \) i.e. the purchasing cost will be paid at the receiving time of the lot, then the total cost function per unit time, \( TC(t_{1} ,T) \), is given by

$$ TC(t_{1} ,T) = \frac{1}{T}\left[ \begin{aligned} & A + \frac{(a - bp)}{{\beta^{2} }}\left( {c_{hr} + \beta c_{d} } \right)\left( {e^{{\beta t_{1} }} - \beta t_{1} - 1} \right) + \frac{(a - bp)}{{\alpha^{2} }}\left( {c_{ho} + \alpha c_{d} } \right)\left( {e^{{\alpha (t_{2} - t_{1} )}} - \alpha (t_{2} - t_{1} ) - 1} \right) \\ & \quad + \frac{{W_{1} }}{\alpha }\left( {c_{ho} + \alpha c_{d} } \right)\left( {1 - e^{{ - \alpha t_{1} }} } \right) + \frac{1}{2}c_{s} \eta (a - bp)(T - t_{2} )^{2} + c_{l} (1 - \eta )(a - bp)(T - t_{2} ) \\ & \quad + c_{p} \left\{ {W_{1} + \frac{a - bp}{\beta }\left( {e^{{\beta t_{1} }} - 1} \right) + \eta (a - bp)(T - t_{2} )} \right\} \\ \end{aligned} \right] $$
  1. (d)

    If \( S - W_{1} = 0 \), \( t_{1} = 0 \),\( \eta = 1 \) and \( D \) is constant, then the proposed model is reduced to a single warehouse model and similar to Taleizadeh (2014a).

  2. (e)

    If \( S - W_{1} = 0 \), \( t_{1} = 0 \) and \( D \) is constant, then the proposed model is reduced to a single warehouse model and similar to Taleizadeh (2014b).

6 Numerical illustration

In order to demonstrate the proposed model, a numerical example has been considered with the following values of different parameters.

AL = $495/order, AR = $500/order, a = 250 units/year, b = 0.5, p = $15/unit, \( c_{pL} = \) $9/unit, \( c_{pR} = \) $10/unit, \( c_{hrL} = \) $3.5/unit/year, \( c_{hrR} = \) $3.5/unit/year, \( c_{hoL} = \) $0.5/unit/year, \( c_{hoR} = \) $1/unit/year, \( c_{sL} = \) $13/unit/year, \( c_{sR} = \) $14/unit/year, \( c_{lL} = \) $16/unit/year, \( c_{lR} = \) $17/unit/year,\( c_{dL} = \) $9/unit/year, \( c_{dR} = \) $10/unit/year,\( M = \) 15*12/30 year, \( I_{c} = \) $0.25/year, \( W_{1} = \) 100 units, \( \alpha = 0.1 \), \( \beta = 0.08 \), \( n = 15 \), \( k = 0.4 \) and \( \eta = 0.8 \).

These values have been considered from a hypothetical two-warehouse inventory system, not from any case study. With the help of the above-mentioned example, we have solved the problem by different variants of PSO and the results are given in Table 2.

Table 2 Best found (optimum) results with respect to different variants of PSO

Also, we have performed statistical analysis of different variants of PSO which are shown in Table 3, 4 and 5.

Table 3 Statistical analysis of the results of the given example by PSO-CO
Table 4 Statistical analysis of the results of the given example by WQPSO
Table 5 Statistical analysis of the results of the given example by GQPSO

7 Sensitivity analysis

From the earlier-mentioned numerical example, sensitivity analysis has been done to investigate the effect of changes (under or over estimation) of different inventory parameters on the optimal solutions and the average cost. This analysis has been performed by changing (increasing and decreasing) the parameters from − 20 to + 20%, taking one or more parameters at a time making the other parameters at their original values. The numerical results of this analysis have been shown in Table 6.

Table 6 Sensitivity analysis with respect to different parameters

From Table 6, the following observations can be made:

  1. 1.

    The centre value of the average cost of the system \( TC \) is highly sensible with respect to the parameters \( a, \) less sensitive with respect to the parameters \( c_{hrL} ,c_{hrU} ,c_{hoL} ,c_{hoU} ,W,\alpha \,{\text{and}}\,\beta \), whereas moderately sensitive with respect to the rest of the parameters.

  2. 2.

    Cycle length (T) is less sensitive with respect to the parameters p and moderately sensitive with respect to the rest of the parameters.

  3. 3.

    Highest stock level (S) is moderately sensitive with respect to the parameters \( c_{pU} ,c_{hrU} ,c_{hoU} \,{\text{and}}\,a \), whereas highly sensitive with respect to the rest of the parameters.

  4. 4.

    Maximum shortage level (R) is moderately sensitive with respect to \( A_{U} ,c_{hrL} ,c_{hrU} ,c_{hoL} \,{\text{and}}\,c_{hoU} \). Also, the maximum shortage level is highly sensitive with respect to the parameter \( \eta \).

8 Conclusion

In this work, a two-warehouse inventory system has been investigated by considering advance payment and partial backlogging with interval-valued inventory costs. In this model, the corresponding optimization problem with interval objective has been formulated and solved with the help of different variants of particle swarm optimization (PSO) technique and interval order relations. Due to interval-valued inventory cost, the different variants of PSO algorithm have been developed by using interval arithmetic and interval order relations. Then, the obtained best found solutions (which is either optimal or nearer to optimal) from different variants of PSO have been compared, and it is observed that all the variants of PSO have produced the exactly same solution. To the best of our knowledge, for the first time, we have proposed this advanced payment in two-warehouse system. In the existing literature, very few research works have been done in advance payment in inventory system. These were developed only for single warehouse system and also some special cases have been reported.

The proposed inventory model can be extended by considering several realistic features such as non-instantaneous deterioration effect of commodity, fully backlogged shortages and without ending inventory polices, all unit discount facility, price discount due to advance payment. Also, one may extend this model by taking nonlinear demand with nonlinear holding cost. Again, anyone can introduce another realistic feature such as trade credit (single level, two level or partial) and fuzzy-valued inventory costs to extend this model.