Discrete and dynamic versus continuous and static loading policy for a multi-compartment vehicle

Size: px
Start display at page:

Download "Discrete and dynamic versus continuous and static loading policy for a multi-compartment vehicle"

Transcription

1 European Journal of Operational Research 174 (2006) Short Communication Discrete and dynamic versus continuous and static loading policy for a multi-compartment vehicle Yossi Bukchin a, *, Subhash C. Sarin b,1 a Department of Industrial Engineering, Faculty of Engineering, Tel-Aviv University, Tel-Aviv 69978, Israel b Grado Department of Industrial and Systems Engineering, Virginia Tech, 250 Durham Hall, Blacksburg, VA 24061, USA Received 15 January 2004; accepted 8 March 2005 Available online 22 June Abstract In this paper, we address the problem of loading non-intermixable products in a vehicle consisting of compartments of different sizes. The demands of the products are different but uniform over time. The objective is to meet product demands and minimize setup rate (that is, the number of deliveries per unit time). Two approaches, namely, dynamic and static, are investigated and their performances are compared with each other. In the dynamic approach, deliveries are made in several discrete periods and, then, repeated in a cyclic fashion. In each of these deliveries, the allocation of products to compartments can be different. The static approach, on the other hand, assumes a continuous time scale and determines a single assignment of products to compartments that maximizes the time in which the product demands are fully satisfied by this single delivery. The comparison between the two approaches shows that the dynamic approach is superior to the static approach when a discrete time scale is considered. However, even when the discrete time scale constraint is relaxed, the dynamic approach still provides better results for relatively long cycle times. Ó 2005 Elsevier B.V. All rights reserved. Keywords: Assignment problem; Loading problem; Shipping plan 1. Problem definition and literature review We consider a situation in which a vehicle transports several non-intermixable products from * Corresponding author. Tel.: ; fax: address: bukchin@eng.tau.ac.il (Y. Bukchin). 1 Tel.: ; fax: a supplier to a customer on a vehicle consisting of compartments of different sizes. During the shipment, the products have to be kept separately in different compartments. A known and constant demand for each of the products is assumed, and shortages are not permitted. The objective is to determine a loading policy of the vehicle which minimizes the number of shipments required per unit of time, assuming that the shipment (setup) /$ - see front matter Ó 2005 Elsevier B.V. All rights reserved. doi: /j.ejor

2 1330 Y. Bukchin, S.C. Sarin / European Journal of Operational Research 174 (2006) cost is significantly higher than the inventory holding cost. We also assume that the supplier holds large enough quantities of the products so as to satisfy the allocation of any combination of products to compartments, limited only by the vehicle capacity, and that, the customer has enough storage space to accommodate the quantity of the products that are delivered. Although the vehicle routing and scheduling problems have been covered extensively in the literature, there is little reported on the problem on hand. Fagerholt and Christiansen (2000) have addressed a similar situation in the scheduling and allocation of cargo to a ship. They assume that each ship has a cargo hold which is flexible and can be adjusted to give different size sub-compartments. Only a single product is assumed for loading in each of these compartments during a delivery. Time windows are associated with the loading and unloading times of products, and there is a penalty cost for violating the time windows. They propose a set partitioning based approach for the solution of this problem. A modification of this model, which allows soft time windows due to the introduction of a penalty cost that is varied as a function of the deviation from the targeted time window, is presented in Fagerholt (2001). Another related problem, that has been widely addressed in the literature, is the segregated storage problem (SSP) presented in Shilfer and Naor (1961). In this problem, different types of grains are to be stored in the compartments of a silo such that there is at most one product in each compartment. It is assumed that product demands, storage capacities i.e., the sizes of the compartments in the silo, and the variable storage costs are known. Also, an external storage facility of infinite capacity is assumed to be available to accommodate overflow. The objective is to find an assignment of products to compartments such that the total cost of holding in the external storage, is minimized. Improvements in the solution procedures for SSP have been proposed by White and Francis (1971), Dannenbring and Khumawala (1973), Evans and Cullen (1977), Neebe (1987) and Evans and Tsubakitani (1993). The SSP is a special case of our problem as, in SSP, an assignment is sought for a single period only. However, a solution for the SSP problem which does not require any external storage is equivalent to a feasible solution to our problem. Yuceer (1997) addresses the problem of allocating products to a vehicle having compartments of different sizes such that at most one product is assigned to a compartment. The objective is to maximize the minimum number of periods over which the demands of all the products are satisfied by a single delivery. No shortages are allowed. Consequently, the solution of this problem gives the time interval between consecutive (and identical) deliveries. Yuceer (1997), assumes a continuous time scale and that a shipment can be performed at any time. We call this policy a continuous and static loading policy, and discuss it in Section 2. We also present a discrete and dynamic loading policy in Section 3. According to this policy, a series of setups are performed and they are repeated cyclically. The length of a cycle consists of a finite number of time periods, while at most one setup can be performed in a period of this cycle. We show that given a large enough number of periods in a cycle, this policy outperforms the continuous and static loading policy of Yuceer (1997). This is demonstrated through a detailed experimentation presented in Section The continuous and static loading policy The continuous and static loading policy provides a loading plan, which maximizes the common replenishment time; namely, the time interval over which the collective demand for all the products is satisfied. This loading plan is then repeated subsequently. Let q i and d j represent the size of compartment i and the demand per period of product j, respectively. Then, the ILP model, for the continuous static policy, is of a max min type, and is as follows: max min j subject to : X n j¼1 " X # m q i x ij d j i¼1 ; ð1þ x ij ¼ 1; i ¼ 1;...; m; ð2þ x ij ¼ 0; 1; i ¼ 1;...; m; j ¼ 1;...; n; ð3þ

3 Y. Bukchin, S.C. Sarin / European Journal of Operational Research 174 (2006) where x ij is a binary variable and is equal to 1, if product type j, j =1,..., n, is assigned to compartment i, i =1,..., m, and 0, otherwise. We can see that this formulation focuses on the product whose demand is satisfied over the shortest interval of time and the objective function (1), aims at maximizing this interval. The solution value represents the time interval in between two consecutive identical setups. The constraint set (2) assures that at most one product is assigned to a single compartment, and the constraint set (3) captures the binary nature of x ij. 3. The discrete and dynamic loading policy The discrete and dynamic loading policy, presented first in Bukchin and Sarin (2004), is different from the continuous and static loading policy due to the following two aspects: 1. The setups that are performed involve different assignments of products to compartments instead of a single assignment as in the continuous static policy. 2. Time is treated as a discrete parameter rather than a continuous one (e.g., weeks, months, quarters and so on). In order to compare these two approaches, we use the criterion pertaining to setup rate, that is, the number of setups required in a unit of time. Since the problem is solved for the infinite planning horizon, the setup rate associated with the continuous and static loading policy is the inverse of the objective function value presented in (1). However, the situation is a little bit more complicated for the discrete and dynamic loading policy, since it involves different setups. In order to provide a solution for the infinite planning horizon that is comparable to the static policy, we employ a cyclic dynamic loading policy, a policy in which a number of setups over a cycle length is repeated. Hence, the setup rate in this case is the ratio of the number of setups performed in a cycle and the cycle length. The following model characterizes the discrete and dynamic policy, given the cycle length T. However, since the cycle length is a decision variable, a search over different values of T is required to find a suitable value. For practical reasons, the desired cycle should be relatively short in length. Indeed, later on, we show that satisfactory (close to optimal) solutions can be obtained for cycles of relatively short length. Consequently, the necessary search over T is not too intensive, although the problem is not convex in T, as shown in Bukchin and Sarin (2004). The problem for determining the discrete and dynamic policy can be formulated as follows: min XT t¼1 s t ; subject to: X n j¼1 s t P Xn X t k¼1 ð4þ x ijt 6 1; i ¼ 1;...; m; j ¼ 1;...; n; ð5þ j¼1 X m i¼1 x ijt ; t ¼ 1;...; T ; i ¼ 1;...; m; ð6þ x ijk q i P td j ; t ¼ 1;...; T ; j ¼ 1;...; n; ð7þ x ijt ; s t ¼ð0; 1Þ; ð8þ where x ijt is a binary variable and is equal to 1 if product type j is assigned to compartment type i in period t, and 0, otherwise, and s t is a binary variable which is equal to 1 if a setup is incurred in period t, and 0, otherwise. Constraint set (5) assures that not more than one product is assigned to a single compartment during a setup. The setup variable, s t, is set to 1 in period t, if at least one product type is delivered in that period by any of the compartments. This is captured in constraint (6). The capacity constraints (7) guarantee that no shortage occurs in any period for any product. The binary nature of the variables x ijk and s t is dictated by constraint (8), while the objective of minimizing the number of setups, for a given number of periods, is represented by (4). In the sequel, we show that there always exists a discrete and dynamic solution, which outperforms the continuous and static solution. Subsequently,

4 1332 Y. Bukchin, S.C. Sarin / European Journal of Operational Research 174 (2006) based on a series of experiments, we show that, in most cases, such a solution can be found rather easily under practical operating conditions. Let D denote the total demand per period, namely, P n P j¼1 d j, and Q the total vehicle capacity, m i¼1 q i. Clearly, D/Q is a lower bound of the setup rate, if the problem is relaxed by permitting every compartment to accommodate any mixture of products. Proposition 1. The continuous and static solution is equal to the lower bound, D/Q, if and only if the compartments are fully utilized and the leftover inventory at the arrival of the next shipment is zero. Proof. The proof is by contradiction. Assume that the compartments are not fully utilized and contain, in all (Q D 1 ) items, where D 1 > 0. As the total demand, D, is satisfied by this shipment, the setup rate is equal to D/(Q D 1 )>D/Q, and hence, not equal to D/Q. On the other hand, assume that a leftover of D 2 items exists when the next shipment arrives. Since the shipments are identical, this leftover inventory does not satisfy any demand and hence can be eliminated from the shipment in the first place. In that case, the shipped quantity would be (Q D 2 )<Q, thereby leading to a setup rate larger than the lower bound. h We can thus conclude that the continuous and static loading policy can yield a solution equal to the lower bound only when the products are assigned to the compartments in proportion to their demands, and the demands of all the products are exactly satisfied until the arrival of the next identical shipment. However, due to the discrete nature of the problem, and the fact that not more than one product can be assigned to a compartment, this kind of solution is highly unlikely to obtain, if at all. As a result of Proposition 1, one can say that the ratio between the setup rate of a feasible solution and the lower bound gives an indication of underutilization of the vehicle. Consequently, when this ratio is equal to one, the vehicle is fully utilized, and as this ratio increases, the underutilization of the vehicle increases as well due to the non-intermixable nature of the product allocation. The discrete and dynamic loading policy provides a solution in which S setups are performed in a cycle time of T periods. Since we assume that not more than one shipment can occur in a period, therefore S 6 T. Bukchin and Sarin (2004) show that, theoretically, a discrete and dynamic solution can be obtained that satisfies the condition of Proposition 1. This follows from the following result. Proposition 2. The setup rate values of the discrete and dynamic solutions converge to the lower bound, D/Q, as the cycle length approaches infinity. Proof. See Bukchin and Sarin (2004). h In other words, S setups can be performed with completely filled compartments each time and zero leftover inventory at the end of period T. The setup rate of this solution is thus equal to the lower bound D/Q. Proposition 2 indicates that, theoretically, the continuous and static solution is dominated by the discrete and dynamic solution. However, we need to address the following two issues: 1. Length of cycle time (T). Although, from above, the discrete and dynamic solution is superior to the continuous and static solution for a relatively large cycle length (T), yet, because of the dynamic nature of the market in reality, we desire a relatively small value of T. If a large cycle length is determined, only a part of that cycle length may actually get to be implemented before the initiation of a new cycle due to a change in product demand or the addition of a new product. This fact will impair the quality of the solution. Hence, an examination of the shortest cycle length for which a discrete and dynamic solution is superior to the continuous static solution, is needed. 2. Length of a period. In practice, the length of a period (the time unit) takes on discrete values (e.g., day, week, month, quarter, etc.). The discrete and dynamic policy relies on this fact. Note that, the length of a period that is used, in relation to the cycle length, can impact the quality of the solution obtained. We expect that, on the average, the smallest cycle length,

5 Y. Bukchin, S.C. Sarin / European Journal of Operational Research 174 (2006) T, for which the discrete and dynamic solution is superior to the continuous and static solution, is smaller for a shorter length of a period. However, we do not allow more than one shipment per period in the discrete and dynamic policy, and the shipment made in a period should satisfy the demand of that period. Consequently, the length of a period should be small enough so that the demand of that period, D, can be satisfied by the vehicle capacity, Q. In the next section, the practicality of the discrete and dynamic solutions is examined, while comparing the corresponding solutions with the continuous and static solutions under various lengths of a period and cycle lengths. 4. Comparison of the two approaches According to the static approach, the same allocation of products to the compartments is made in all deliveries. In the dynamic approach, on the other hand, we allow different allocations to be made for different deliveries. Consequently, we can view the dynamic approach as a relaxed version of the static approach and therefore, its solution dominates the solution of the static approach. To illustrate this, consider an example in which two products (A and B) are transported to a customer in a vehicle containing two compartments. The demand for these products is identical and is equal to one unit per period. For the sake of simplicity and without loss of generality, we assume that one unit of either product type takes the same volume in the vehicle. Consequently, each compartment can accommodate the same number of units of either product. Suppose one compartment can contain only one unit of a product while the other can contain three units. One can see that by applying the static loading policy, a shipment has to be made in every period, since the demand of the product which is allocated to the smaller compartment can be satisfied for one period only. Hence, the delivery rate for the static policy is equal to one. According to the dynamic loading policy, however, we can satisfy the demands by making two deliveries in every four periods. In the first delivery, performed in period 1, both compartments are fully filled, compartment 1 with one unit of product A and compartment 2 with three units of product B. In the second delivery, the loading is reversed, that is, compartment 1 is filled with one unit of product B while compartment 2 with three units of product A. The demands for periods 3 and 4 are automatically satisfied by these two deliveries. If this policy is repeated every four periods, the average delivery rate, in accordance with the resultant cyclic policy, will be 0.5, namely, an average of one delivery every two periods. Note that, although the dynamic loading policy can be seen as a relaxed version of the static loading policy, there are some advantages of the static policy, and in some situations this policy may be preferred over the dynamic one. For instance, the static policy is much simpler to apply and is easier to manage. Moreover, in some cases, changing the content of a compartment from one material to another may require a setup (i.e., cleaning the compartment and preparing it for the new product). This type of setup is not considered here; however, in cases where a high cost is associated with such a setup, the static policy may turn out to be preferable to the dynamic one. In the following experimentation, we examine the length of the minimum cycle length for which the dynamic policy obtains a lower setup rate than that obtained by the static policy. We also study the impact that the length of a period makes on the quality of the solution obtained. All problems were solved via the ILOG OPL-Studio using the CPLEX solver. In this experimentation, ten 13-compartment, 7- product problems were solved. Each problem was solved for two lengths of a period. Since the demand data is expressed as number of items per period, the data associated with different lengths of a period can be generated by multiplying the demand data by a different constant. For example, multiplying the per period demand by four is associated with changing the period length from weekly to monthly. In generating the set of data associated with a longer length of a period, we kept the capacity over demand ratio around 1.5. (Note that a value of this ratio smaller than one cannot yield a feasible solution since the vehicle

6 1334 Y. Bukchin, S.C. Sarin / European Journal of Operational Research 174 (2006) capacity will be too small to satisfy the demand of one period.) In the set of data associated with a shorter length of a period, we assumed a period length of one fourth the size, and hence, the demand per period was divided by four. Assuming the shorter length of a period to be a week and the longer one to be a month, each problem was solved for different values of cycle length, T, for up to a maximal length of six months, under the dynamic policy. Hence, when the length of a period was considered to be one month, each problem was solved six times in accordance with the cycle lengths of one month, two months, and so on up to six months. Accordingly, the problem was solved 24 times for a length of a period of one week. Since the cycle length is irrelevant for static solution, each problem was optimally solved once for each period length. The results of the 10 problems for the longer (one month) and shorter (one week) lengths of a period are presented in Tables 1 and 2, respectively. The rows of these tables are labeled as shown on the right side of the first column. Row (1) of both tables depicts the lower bound, D/Q, on the setup rate. The continuous optimal solution of the static approach is presented in Rows (2a and 2b), first as the (continuous) number of periods over which their demands are satisfied by a single delivery (2a), and then as their inverse values which express the setup rate (2b). Rows (3) contain the setup rate obtained by the dynamic solution for each of the cycle lengths examined in this experimentation; six values are associated with the months in Table 1 and 24 with the weeks in Table 2. Row (4) displays the best dynamic solution obtained in (3). According to Proposition 2, the dynamic solution approaches the lower bound as the number of periods approaches infinity. Accordingly, its solution should outperform the static solution even when a continuous solution is allowed, that is, for a solution in which the number of periods satisfied by the delivery is fractional. Hence, we compare the two approaches, while relaxing the integrality constraint for the static solution. In this case, the continuous static solutions (in Row 2b) are compared with the dynamic solutions values (in Row 4). We can see that in only three out of the 10 cases of the longer length of a period (a month), presented in Table 1, the dynamic solution is superior to the static one (shown by the highlighted figures in Row (3)). On the average, the static solution value is smaller than the dynamic solution value by 1.56% (average of the values in Row (5c) in Table 1), and is 3.81% above the lower bound (5.63% for the dynamic solution), as can be seen in Rows (5a) and (5b). However, the results for the shorter length of a period (weeks), presented in Table 2, Table 1 Dynamic versus static approach longer length of a period (month) Problem # Row # Average Problem LB (1) S1: # Periods-Cont (2a) S2: Setup rate-cont (2b) Cycle length (month) (3) T = T = T = T = T = T = D: Setup rate (4) (S2 LB)/LB (%) (5a) (D LB)/LB (%) (5b) (S2 D)/D (%) (5c)

7 Y. Bukchin, S.C. Sarin / European Journal of Operational Research 174 (2006) Table 2 Dynamic versus static approach shorter length of a period (week) Problem # Row # Average Problem LB (1) S1: # Periods-Cont (2a) S2: Setup rate-cont (2b) Cycle time (weeks) (3) T = T = T = T = T = T = T = T = T = T = T = T = T = T = T = T = T = T = T = T = T = T = T = T = D: Setup rate (4) (S2 LB)/LB (%) (5a) (D LB)/LB (%) (5b) (S2 D)/D (%) (5c) show that the dynamic solution is superior to the static solution in six cases (see the highlighted figures in Row (3)). On the average, the dynamic solution value is smaller than the static solution value by 1.9% (Row (5c)), and is 1.9% above the lower bound (Row (5b)). A visual illustration of the solutions obtained for smaller and larger lengths of a period is given in Fig. 1. A reduction in the length of a period makes it easier for the dynamic approach to yield a close-to-optimum setup rate much faster. As can be seen above, the dynamic solutions are much improved when the length of a period becomes smaller. We expect cycle length to influence solution quality as well. However, we expect solution quality to improve with increment in cycle length. In order to verify this behavior of cycle length on solution quality, additional problem instances were considered, allowing the cycle length to increase to up to 24 months (assuming the length of a period to be one month). The results are shown in Table 3. Note that, now, the resulting dynamic solutions are superior to the static solutions in all the problems (see the highlighted figures in Row (3)). The average difference is about 3%, while the maximum difference goes up to 8.79% in one case (see Row (5c)). The average percentage difference of the dynamic solution over the

8 1336 Y. Bukchin, S.C. Sarin / European Journal of Operational Research 174 (2006) Setup rate Cycle length Setup rate Cycle length Fig. 1. Dynamic versus static loading different lengths of a period. Table 3 Long period problem cycle length smaller than or equal to 24 months Problem # Row # Average Problem LB (1) S1:# Periods-Cont (2a) S2: Setup rate-cont (2b) Cycle length (months) (3) T = T = T = T = T = T = T = T = T = T = T = T = T = T = T = T = T = T = T = T = T = T = T = T = D: Setup rate (4) (S2 LB)/LB (%) (5a) (D LB)/LB (%) (5b) (S2 D)/D (%) (5c) lower bound is also only 0.8% while that of the static solution is 3.81%. Hence, we can conclude that under a relatively small period length and a large cycle length, the

9 Y. Bukchin, S.C. Sarin / European Journal of Operational Research 174 (2006) dynamic approach provides in general better solutions than those provided by the static approach, even when a continuous time scale is considered. References Bukchin, J., Sarin, S.C., A cyclic policy for the loading of multiple products on a vehicle with different compartment sizes. IIE Transactions 30 (7), Dannenbring, D.G., Khumawala, B.M., An investigation of branch-and-bound methods for solving the segregated storage problem. AIIE Transactions 5 (3), Evans, J.R., Cullen, F.H., The segregated storage problem: Some properties and an effective heuristic. AIIE Transactions 9 (4), Evans, J.R., Tsubakitani, S., Solving the segregated storage problem with BendersÕ partitioning. Journal of Operational Research Society 44 (2), Fagerholt, K., Ship scheduling with soft time windows: An optimization based approach. European Journal of Operational Research 131, Fagerholt, K., Christiansen, M., A combined ship scheduling and allocation problem. Journal of the Operational Research Society 51 (7), Neebe, A.W., An improved, multiplier adjustment procedure for the segregated storage problem. Journal of Operational Research Society 38 (9), Shilfer, E., Naor, P., Elementary theory of the optimal silo storage problem. Operations Research 12, White, J.A., Francis, R.L., Solving a segregated storage problem using branch-and-bound and extreme point ranking methods. AIIE Transactions 3 (1), Yuceer, U., A multi-product loading problem: A model and solution method. European Journal of Operational Research 101,