Next Article in Journal
A Predictive Environmental Assessment Method for Construction Operations: Application to a Northeast China Case Study
Previous Article in Journal
Real Options Analysis for Acquisition of New Technology: A Case Study of Korea K2 Tank’s Powerpack
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

The Uncapacitatied Dynamic Single-Level Lot-Sizing Problem under a Time-Varying Environment and an Exact Solution Approach

School of Reliability and System Engineering, Beihang University, Beijing 100191, China
*
Author to whom correspondence should be addressed.
Sustainability 2018, 10(11), 3867; https://doi.org/10.3390/su10113867
Submission received: 15 September 2018 / Revised: 7 October 2018 / Accepted: 22 October 2018 / Published: 24 October 2018

Abstract

:
The dynamic lot-sizing problem under a time-varying environment considers new features of the production system where factors such as production setup cost, unit inventory-holding cost, and unit price of manufacturing resources may vary in different periods over the whole planning horizon. Traditional lot-sizing theorems and algorithms are no longer fit for these situations as they had assumed constant environments. In our study, we investigated the dynamic lot-sizing problem with deteriorating production setup cost, a typical time-varying environment where the production setup is assumed to consume more preparing time and manufacturing resources as the production interval lasts longer. We proposed new lot-sizing models based on the traditional lot-sizing model considering the changing setup cost as a new constraint, called uncapacitatied dynamic single-level lot-sizing under a time-varying environment (UDSLLS-TVE for short). The UDSLLS-TVE problem has a more realistic significance and higher research value as it is closer to reality and has higher computational complexity as well. We proposed two mathematical programming models to describe UDSLLS_TVE with or without nonlinear components, respectively. Properties of the UDSLLS-TVE models were extensively analyzed and an exact algorithm based on forward dynamic programming (FDP) was proposed to solve this problem with a complexity of O (n2). Comparative experiments with the commercial MIP solver CPLEX on synthesized problem instances showed that the FDP algorithm is a global optimization algorithm and has a high computational efficiency.

1. Introduction

The dynamic lot-sizing plan of a manufacturing system can be described as follows: In a given planning horizon T with multiple production periods and different demands from customers, the production setup is determined within aperiodic periods over T, and the production sizes/quantities cover all the requirements of products (internal or external) in all periods with or without backlogging, in order to minimize the sum of production costs, setup costs, and inventory-holding costs occurred in the whole planning horizon [1,2]. The earlier studies of lot-sizing problems were originated from the cost reduction requirement from inventory management [3]. Since Harris [4] published the famous economic order quantity (EOQ) formula, which can be viewed as the earliest form of single-point lot-sizing optimization, the trade-off optimization between the purchase/setup cost and inventory-hold cost has become a hot research topic both in industries and academia. In terms of the classification principles by Karimi et al. [5], lot-sizing problems can be classified into different categories such as single or multi-level, capacitated or uncapacitated, dynamic or stationary, as shown in Table 1 as follows.
The dynamic single-level lot-sizing (DSLLS) problem is a basic form of many variants of the lot-sizing problem, referring to the case of taking into account time-varying demands of single product with only one level of product structure. In this situation, all intermediate processes of a product, from raw materials (or purchased semi-finished products) to the end-product, are assumed to be processed within a merged phase. Wagner and Whitin [2] first proposed a basic formulation of the DSLLS problem and an exact algorithm (i.e., the well-known WW algorithm) based dynamic programming. Mathematically, the basic formulation can be formulated as an optimization model as follows.
Minimize:
T C = t = 1 n ( s t y t + h t I t )
Subject to:
I t = I t 1 + X t D t t > 1
X t M y t 0     t
I t 0         t
X t 0         t
In the above formulation, the objective function in Equation (1) is to minimize the sum of total production setup costs, s t y t , and inventory-holding costs, h t I t , of all periods in the whole planning horizon, where n represents the number of periods, t is the index of period, ht represents the unit inventory-holding cost at period t, It represents the inventory level at the end of period t, st represents the setup cost occurred in period t, and yt is binary decision variables indicating a production is setup in period t (by yt = 1) or not (by yt = 1). Constraint (2) is the inventory flow representing the balance of production quantity, demand and inventory, Xt represents the production quantity in period t, and Dt represents the external requirements. Constraint (3) indicates that the production quantity of each period cannot exceed the maximum capacity M that can be a large number for uncapacitated capacity. Constraint (4) indicates that the stock shortage is not allowed. Constraint (5) indicates that the number of productions in each production period is nonnegative.
Wagner and Whitin [2] analyzed an important property of the model that in the n production plan scope, any period t (0 < t < n) should satisfy the following conditions.
f t ( I t 1 ) = min [ h I t 1 + s y t + f t + 1 ( I t + x t + 1 D t + 1 ) ]    t = 1 , 2 , , n 1
f n ( I n 1 ) = min ( h I n 1 + s y n )      t = n
where ft represents the optimal total costs in the period t and the Equations (6) and (7) represent the backward recursive equation based on dynamic programming. Based on these equations, Wagner and Whitin [2] put forward a famous WW algorithm for solving the dynamic single-level lot-sizing problem, based on the assumption that there are no capacity or resource limits in the production system. By using the backward dynamic programming, the single-level lot-sizing problem can be solved with exact solution efficiently. The WW algorithm can be represented by using the equation as follows:
F ( t ) = min [ min 1 j < t [ s j + p = j t 1 k = p + 1 t h p D k + F ( j 1 ) ] s t + F ( t 1 ) ]
The WW algorithm is an exact algorithm which reduces the problem complexity of O (2n−1) to a computation complexity of n(n + 1)/2. Several improved algorithms can be found in the literature [6,7,8]. Christophe et al. [6] proposed two polynomial time dynamic programming algorithms to solve the problem to optimality. Mathijn et al. [7] presented a Lagrangian heuristic to provide a feasible solution and lower bound for the problem. For costs and emissions such that the zero inventory property is satisfied, they gave a pseudo-polynomial algorithm, which can also be used to identify the complete set of Pareto optimal solutions of the bi-objective lot-sizing problem. Fanny [8] applied genetic programming (GP) to automatically generate specialized heuristics specific to the instance class. The contributions of these three papers are to reduce the computational complexity of the WW algorithm and save the calculation time. Lee et al. [9] studied the lot-sizing problem with time window and used the time window that can be adjusted by the user to ensure the demand in each period is being satisfied. For some early lot-sizing models, the demand for different periods is independent and can be considered as a constant. Macedo et al. [10] presents mixed-integer programming models to hybrid manufacturing and remanufacturing lot-sizing problems, in which remanufactured products are treated as new ones, so that both manufactured and remanufactured products compete to meet the demands. Sarakhsi et al. [11] studied the Joint Economic Lot-Sizing problem (JELS) for a single-vendor single-buyer system while demand is dependent on selling price. Rubasheuski et al. [12] considered the coordinated capacitated lot-sizing problem with stochastic non-stationary demand. Chowdhury et al. [13] presented a new O(T) algorithm for the dynamic single-item lot-sizing problem. Similar studies are also available [14,15,16].
The multi-level lot-sizing (MLLS) problem is an extension of DSLLS where the interdependencies of multiple items within an assembly structure are considered in the lot-size optimization [17]. Sahebjamnia and Torabi [18] developed a fuzzy stochastic multi-objective linear programming model for a multi-level, capacitated lot-sizing problem in a mixed assembly shop. Furlan and Santos [19] proposed a hybrid heuristic based on the bees algorithm combined with the fix-and-optimize heuristic to solve the multi-level capacitated lot-sizing problem. For large-sized problems, meta heuristics algorithms were reported to obtain the near-optimal solutions with good computational efficiencies, such as the Genetic Algorithm [20], the particle swarm optimization (PSO) algorithm [21], and Variable Neighborhood Search [22,23,24,25].
However, traditional lot-sizing theorems and algorithms were assumed for a constant production environment where the unit costs of manufacturing resources were stable in involved multiple periods. This assumption does not fit for some industries where their production environments are suffering from constantly changing in different periods. A time-varying environment can be considered as some production factors of the manufacturing system, such as the availability of manufacturing resources, material/labor costs/prices, production capacities, or cost of inventory-holding, are constantly changing during the planning horizon. A number of studies can be found in literature on the lot-sizing problems involving time-varying production factors such as time-varying demand [26], time-varying pricing [27], and time-varying cost [28]. Haase and Kimms [28] studied the capacitated lot-sizing problem where production setup cost depends on the order of production steps. Federgruen and Joern [27] designed a cost function that combined with the pricing model in time-varying demand and determined each lot-sizing quantity dynamically.
Other studies related to dynamic demand and inventory optimization in time-varying environments can be found in Dye et al. [29], Yang [3], Hong and Jern [30], Piperagkas et al. [31] and Tempelmeier and Hilger [32]. Dye et al. [29] proposed an approach for determining the optimal selling price with considering of the deterioration penalty of partial backlogging. Yang [3] and Balkhi [33] studied the lot-size inventory problem for deteriorating items considering partial backlogging. Hong and Jern [30] studied the dynamic lot-sizing and resource competition problem from the perspective of multiple firms and developed a capacity competition model. Piperagkas et al. [31] and Tempelmeier and Hilger [32] studied the dynamic lot-sizing problem with stochastic demands over the planning periods.
In this study, we investigated the uncapacitatied dynamic lot-sizing problem in a time-varying environment (UDSLLS-TVE) and proposed an exact forward dynamic programming algorithm. In UDSLLS_TVE, we considered a deteriorating production setup in the production system, assuming that the cost for production setup/initialization will increase higher if the production interval lasts longer. This is reasonable in discrete manufacturing systems because the longer the production interval is, the more difficult the production setup/initialization for preparing, machine inspection, cleaning, and heating will be, and thus more preparing time and manufacturing resources will be consumed in the production initialization/setup stage. We assumed that there is a positive correlation between the setup cost and the production interval. That means, if the production interval is increased one by one, the cost of production initialization will increase by a fixed rate. Existing algorithms such as the WW algorithm and its variants, is no longer suitable for solving the UDSLLS-TVE problem. We conducted a deep analysis of the properties of the UDSLLS-TVE model and proposed an exact algorithm based on forward dynamic programming for UDSLLS-TVE. Computational experiments were conducted to verify the feasibility and optimality of proposed models and algorithm.
The under investigated UDSLLS-TVE problem in this paper is toward the minimization of the manufacturing costs. Thus, our study can help to improve the sustainability of a factory’s production system and is also helpful for the economic sustainability of a country’s industry. The current research has achieved an initial success by considering several practical factors in a TVE. However, the influences of in-plant transport organization studied by Taniguchi and Shimamoto [34] and Gola and Kłosowski [35], and the capacity exploitation studied by Nikiforos [36] Kłosowski et al. [37] on manufacturing costs, have not been included yet in this paper, but will be considered in our future work.
The following contents of the paper are organized as follows. In Section 2, we provide the formal formulation of the UDSLLS-TVE problem, then discuss the properties of the proposed model. In Section 3, we propose a dynamic programming algorithm for UDSLLS-TVE problem, including algorithm analysis and algorithm implementation. In Section 4, computational experiments are conducted to verify the performances of the proposed model and algorithm. Finally, in Section 5, we summarize the paper and give further research directions.

2. Problem Formulation

2.1. A Nonlinear Model of UDSLLS-TVE

To model the UDSLLS-TVE with deteriorating production setup, we first define two new factors that are to be used in the problem formulation: (1) The production interval Lt, and (2) the growth rate of setup cost α ϵ [0, ∞].
Definition 1.
Production interval Lt: It represents the number of unscheduled production periods between the period of t and the latest period t’ to arrange production during the limited planning cycle n. The value of Lt ranges from Lt ϵ [0, t − 2] (t ≥ 2).
L t = { t 1 max { t y t | 1 t < t } , t 1 L 0 , t = 1
In above definition, yt is a binary decision variable indicating whether the production is arranged during period t. If the production is arranged, then yt = 1, otherwise yt = 0. In Equation (9) i is used to calculate the length of production interval Lt for period t, indicating the number of periods that have no production setup before period t. When t = 1, the production interval is initialized by the last period of previous planning cycle in accordance with the same rule. However, if only one planning cycle is considered, the production interval at the beginning period can be initialized as L1 = 0. For other periods, we have L t [ 0 , t 2 ] . Note that the production interval Lt will not be affected by whether a production setup is scheduled in period t or not.
Definition 2.
Growth rate of setup cost α: A fixed rate representing the unit increase in setup costs for every additional period of production interval. This rate is determined in advance according to the actual time-varying production environment.
By the above definition, the production setup cost can be considered as a deteriorating variable calculated as s t = s t + α L t . The new setup cost s t consists of two parts: (1) A fixed part of setup cost st and (2) time-varying part determined by variable Lt.
Notations of parameters and decision variables used to describe the UDSLLS-TVE problem are summarized in advance in Table 2 as follows.
The UDSLLS-TVE problem is defined in a finite planning horizon with multiple production periods, in which time-varying demands from customers are known and must be met without backlogging. A nonlinear mathematical formulation of the UDSLLS-TVE problem is given as follows.
Minimize:
T o t a l c o s t = t = 1 n ( h t I t + s t y t + α L t y t )
Subject to:
I t = { I 0 D t 1 t < l I t 1 + X t l D t l t n
L t = t 1 max { t y t | 1 t < t } t 1
L 1 = 0
I t 0       t
X t 0       t
y t { 0 , 1 }       t
The objective function in Equation (10) is to minimize the sum of the production setup cost and inventory-holding cost in all periods, including the deteriorating effect of the production interval on the setup costs. Constraint (11) is the inventory flow along the periods in the horizon. It represents the balance between production batches, external demands and inventory. Constraints (12) and (13) calculate the production interval Lt for each period t according to Definition 1. The production interval of the first period is set to be 0. Constraint (14) indicates that backlogging is not allowed. Constraint (15) indicates that the production quantity in each period is non-negative. Constraint (16) defines that yt is a binary decision variable, indicating that if a production setup is scheduled in period t, then, yt = 1; otherwise yt = 0.
The above UDSLLS-TVE model is nonlinear and has a higher level of complexity than traditional lot-sizing problems. In Section 3, we developed an exact solution approach based on forward dynamic programming with a computational complexity of O (n). In Section 2.1, we provided a linear model for the UDSLLS-TVE problem which can be optimally solved by commercial MIP solvers such as CPLEX and Lingo. In the following, we analyzed the new features of the above UDSLLS-TVE model and brought about new properties regarding the feasibility and optimality of the solution.
Property 1.
For an optimal solution of the UDSLLS-TVE model formulated in Equations (10)–(16), it satisfies I t X t l = 0 and I t y t l = 0 at any period, t and t > l, where l is the leading time.
Proof. 
This proof is by contradiction. Assuming there is an optimal solution with a period, t and t > l, that I t X t l = 0 holds. That means a production setup has been arranged at period tl for the demand in period t (because the leading time is l) before the inventory being exhausted. We can always arrange the inventory quantity It−1 to be produced in period tl. This leads to save the inventory-holding cost resulting from inventory Itl and without changing the feasibility of the solution. Therefore, the newly arranged solution is better than the original optimal solution, which is contradictory to the assumption. Thus, the property h t 1 I t 1 0 holds. By a similar way, we can also prove that the property I t y t l = 0 holds.
Property 2.
For an optimal solution of the UDSLLS-TVE model formulated in Equation (10)–(16), it satisfies X t = 0 o r j = t + l k D j , where k = min { t | t t + l , y t = 1 } and l is the leading time.
Proof. 
This property is straightforward as it is a common property of traditional lot-sizing models, indicating that the production lot-sizing is either zero or a positive number that covers all the demands in periods from t+l to the next period that has been scheduled with a production setup. The introduction of deteriorating production setup cost does not change this general lot-sizing rule.
Property 3.
For an optimal solution of the UDSLLS-TVE model formulated in Equations (10)–(16), if the demand in the period t*, i.e., D t * , is satisfied by the production quantity in the period t** and t** < t*, i.e., X t * * , the demand Dt for any period t between t** and t* − l is also satisfied by X t * * , where l is the leading time.
Proof. 
The property is in accordance with the general first-in-first-out (FIFO) rule of lot-sizing problems, indicating that the demand in each period must be satisfied by the latest produced products. The FIFO rule guarantees the lowest inventory-holding cost for produced product and violation of this rule will always lead to a sub-optimal solution.
Property 4.
For an optimal solution of the UDSLLS-TVE model formulated in Equations (10)–(16), if D t = 0 and s t l + 1 s t l X t l h t l + α < 0 , then y t l = 0 holds, where t > l and l is the leading time.
Proof. 
This is proven by contradiction. Assuming there is an optimal solution with a period, t and t > l, that is contradictory to this property, i.e., D t = 0 , s t l > α , and y t l = 1 . We can always move the production setup in period t l to t l + 1 by letting y t l 0 and y t l + 1 1 , such that the new solution remains feasible (because of D t = 0 ) and the total cost change is Δ = s t l + 1 s t l X t l h t l + α . As Δ < 0 , thus the new solution is better than the original optimal solution, which is contradictory to the assumption.

2.2. A Linear Model of UDSLLS-TVE

To eliminate the nonlinear components introduced by the variable Lt in the model formulated in Equations (10)–(16), which are in the objective function Equation (10) and Constraint (12), we use the unit increment of setup ut, instead of Lt, to convert the nonlinear model into a linear one. The linear model will be used to serve as the benchmark method in the computational section to provide optimal solutions for comparing with the proposed exact dynamic programming algorithm.
Definition 3.
Increment of setup cost ut: A binary decision variable indicating if one unit of setup cost occurred in period t (by ut = 1) or not (by ut = 0).
The variable ut, as an alternative of Lt, plays the same role in representing the deteriorating effect of the production interval on the setup costs. Thus, we can reformulate the UDSLLS-TVE problem as an integer linear programming model for as follows.
Minimize:
T o t a l c o s t = t = 1 n ( h t I t + s t y t + α u t )
Subject to:
I t = { I 0 D t 1 t < l I t 1 + X t l D t l t n
u t u t + 1 + y t + 1 2 y t     t < n
u n = 0
I t 0       t
X t 0       t
y t { 0 , 1 }      t
Note that the objective function in Equation (17) allows us to set an individual increment of setup cost α t for each period t, which enhances the model to fit for a more complex production environment. Constraints (19) and (20) are designed to guarantee that for each period t, an extra cost, α t , always occurs once there is no production setup in period t (by yt = 0), and there is always no extra cost for the last period. The rest of the other constraints are the same with those in Section 2.1. Note that since the above model formulated in Equations (17)–(23) is a linear model, it can be optimally solved by the MIP solver CPLEX used in the experiments section for small-sized instances.

3. Dynamic Programming Approach for UDSLLS-TVE Problem

3.1. Dynamic Programming Formulation

Before giving the dynamic programming formulation for the UDSLLS-TVE problem, several new definitions that are to be used in the formulation are introduced in advance as follows.
Definition 4.
Sub-problem St. It represents the UDSLLS-TVE sub-problem that covers only the first t periods (i.e., from period 1 to t) of the original problem P.
Definition 5.
Optimal cost of Pt at yt = 1 with respect to different Lt: St(Lt). It represents the optimal total cost of sub-problem Pt, including production setup cost and inventory-holding cost, at the conditions that yt = 1 the production interval of period t takes the value of Lt.
Definition 6.
Optimal cost of Pt at yt = 1: f(t). It represents the optimal total cost of the sub-problem Pt at the condition that a production setup is scheduled at period t, i.e., yt = 1.
Definition 7.
Optimum production interval before period t of Pt at yt = 1: L t * . It indicates the optimal production interval before period t of problem Pt if a production setup is scheduled in period t (i.e., yt = 1). Under this situation, the problem Pt has the cost of f(t).
Without loss of generation and for the simplicity of the expression, we assumed a zero leading time in the formulation. According to the objective function (10) and Definition 5, the cost of sub-problem Pt at yt = 1 can be formulated as a dynamic programming expressed as follows.
S t ( L t ) = { S t 1 ( L t 1 * ) + s t L t = 0 S t 1 L t ( L t 1 L t * ) + s t + α L t + j = t 1 L t t 2 k = j + 1 t 1 h j D k 1 L t t 2
The above Equation (24) is a forward recursion dynamic formulation for calculating the values of S t ( L t ) from the first period to the last period. The term j = t 1 L t t 2 k = j + 1 t 1 h j D k represents the inventory-holding cost occurred in the production intervals. According to Definition 6, S t 1 L t ( L t 1 L t * ) and S t 1 ( L t 1 * ) can be expressed as f ( t 1 L t ) and f ( t 1 ) . Thus, the optimal cost of Pt at yt = 1, i.e., f(t), can be calculated with a forward dynamic programming expressed as follows.
f ( t ) = min { min 1 L t t 2 [ α L t + s t + j = t 1 L t t 2 k = j + 1 t 1 h j D k + f ( t 1 L t ) ] α + s t + f ( t 1 ) }
Definition 8.
Optimal Cost of Pt at yt = 0 with respect to different Lt: Ht(Lt). It represents the optimal total cost of sub-problem Pt, at the condition that yt = 0 and the production interval of period t takes the value of Lt.
Definition 9.
Optimal cost of Pt at yt = 0: g(t). It represents the optimal total cost of the sub-problem Pt at the condition that a production setup is scheduled at period t, i.e., yt = 0.
Definition 10.
Optimum production interval before period t of Pt at yt = 0: L t . It indicates the optimal production interval before period t of problem Pt if no production setup is scheduled in period t (i.e., yt = 0). Under this situation, the problem Pt has the cost of g(t).
According to Definitions 5 and 8, the cost of sub-problem Pt at yt = 0 can be calculated by using the forwardly recursive formulation in Equation (26) as follows.
H t ( L t ) = j = t 1 L t t 1 k = j + 1 t h j D k + H t 1 L t ( L t 1 L t )    t > 1
By above Equation (26), all values of H t ( L t ) can be calculated with respect to each value of variable Lt in [0, t − 2]. Thus, according to Definition 10, the function g(t), i.e., the optimal cost of Pt at yt = 0, takes the minimum value among them.
g ( t ) = min 0 L t t 2 [ j = t 1 L t t 1 k = j + 1 t h j D k + f ( t 1 L t ) ] ,    t > 1
Let F(t) represent the optimal cost of the sub-problem Pt. Thus, F(t) is determined by comparing the lower value between f(t) and g(t) for the case of period t being scheduled with a production setup (by yt = 1) or not (by yt = 0).
F ( t ) = { s t t = 1 min [ f ( t ) , g ( t ) ] 1 < t n
Thus, the above Equations (25), (27) and (28) form a forward dynamic programming formulation, by which the optimal cost of sub-problem Pt can be determined forwardly from t = 1 to t = n, and finally the optimal cost of original problem Pn is determined.

3.2. Algorithm of Dynamic Programming

Based on the formulation in Section 3.1 for the UDSLLS-TVE model, we assumed that for a problem instance with n planning period, the dynamic programming algorithm for sub-problem Pt* at any period t* can be described by the steps as follows.
(1)
Suppose that a production setup is scheduled in period t** ( t * * = 1 , 2 , , t * 1 ), the production quantity covers the demand of Dt for t = t * * , t * * + 1 , , t * 1 , and the production interval corresponding to period t is L t = t * 1 , t * 2 , , 1 .
(2)
Calculate Ht(Lt) and St(Lt) at the period t* and for L t = t * 1 , t * 2 , , 1 according to Equations (24) and (26), respectively.
(3)
Determine f(t), g(t), and F(t) at the period t* according to Equations (25), (27) and (28), respectively.
(4)
If t* = n, the algorithm ends; Otherwise, let t * t * + 1 and repeat steps (1), (2), (3) and (4).
According to the above formulation, we just need to make a calculation of 2 ( t 1 ) times for the sub-problem Pt at period t, and the optimal solution of the original problem can be obtained by no more than n(n − 1) times of calculation. Therefore, the algorithm has a polynomial computational complexity of O (n(n − 1)). The pseudo code of the algorithm is provided in Figure 1.

4. Computational Experiment

4.1. Example Verification of Dynamic Programming Algorithm

First, we verified the feasibility of the algorithm in Figure 1 by comparing the results with that obtained by the classic WW algorithm. The problem instance is given in Table 3, and includes the external demand, setup cost, and unit holding cost for a planning horizon with 12 periods/months. The production lot-size for each month is randomly determined. The unit increment of production setup cost is set by α = 50. The leading time is zero.
The forward dynamic programming algorithm proposed in Section 3.2 was coded by VC++ 6.0 language executed in a PC computer with a Windows 7 system. The RAM size is 2 GB and CPU is Core i3 dual-core M380 (4 CPUs) 2.53 GHz. The problem instances were solved with optimal solution F(12) = 1091. Detailed production schedules and the production lot-size in all planning periods are shown in Table 4.
In order to verify the optimality of the dynamic algorithm, we enumerated all combinations of feasible solutions and found that the optimal solution is the same with that found by the dynamic programming algorithm. In addition, the solution efficiency is greatly improved because the solution time is reduced from exponential time to polynomial time.

4.2. Comparison through Large-Scale Experiments

In order to better verify the dynamic programming algorithm proposed in this paper, large-scale calculation experiments were conducted. We randomly generated 100 problem instances with 12, 24, 48 planning periods, respectively. The forward dynamic programming algorithm was used to solve all these test problem instances. After that, we used commercial software AMPL/CPLEX (Version 12.0) to solve these problem instances with the linear UDSLLS-TVE model formulated in Equations (17)–(23). All tested instances were optimally solved by the AMPL/CPLEX software. In Table 5, Table 6 and Table 7, we show the first five instances of the tested 100 instances by two methods.
In order to present the results of computer experiments to the readers more conveniently and intuitively, we listed the first five lines of the calculation results under 12, 24, 48 planning periods respectively and omit the rest. For different kinds of planning periods, we provided the average value of 100 problem instances by two different methods. From Table 5, Table 6 and Table 7, it can be observed that the dynamic programming algorithm obtained the same optimal solution obtained by the AMPL/XPLEX MIP solver. All tested instances were in perfect agreement with the optimal solution by the AMPL/CPLEX software. In addition, the computational complexity of AMPL algorithm is 2n while that of dynamic programming algorithm is n2. Computational time of AMPL/CPLEX increased more rapidly than that of the dynamic programming algorithm as the problem size increased. For all scales of problems tested in the experiments, the computational time spent by dynamic programming was always less than one second. That means the proposed model and approximation method are quite effective. The proposed models describe well the UDSLLS-TVE problem with mathematical formulations, and the proposed dynamic programming algorithm succeeds to yield optimal solutions of the UDSLLS-TVE model with high computational efficiencies.

5. Conclusions

The UDSLLS-TVE problem studied in this paper considered a continuous change of demands in different planning horizons and the changes of setup cost as well, and was formulated as mathematical programming models based the conventional lot-sizing model. We analyzed the influence of production interval on production setup cost in a time-varying environment. Two mathematical models were developed for the uncapacitated dynamic single-level lot-sizing problem under a time-varying environment (UDSLLS-TVE for short). Proposed properties of the UDSLLS-TVE problem were analyzed for developing efficient solution algorithms. An exact solution approach based on dynamic programming, which has a computational complexity of O (n2), was developed for the UDSLLS-TVE problem and significantly reduced the complexity of original problem, which is O (2n). Computational experiments were conducted to compare the obtained solution by our proposed algorithm with the optimal solution obtained by using AMPL/CPLEX software, which show the optimality and high efficiency of the dynamic programming algorithm. Though our study achieved a series of achievements mentioned above, the study was limited to machining process and did not take into account some other factors like in-plant transport organization and capacity exploitation. For future studies, multi-level product structures, in-plant transport organization, production capacity, and more time-varying variables can be taken into consideration to make the model more realistic.

Author Contributions

Conceptualization, Y.X.; Formal analysis, Y.X., M.Y. and S.Z.; Methodology, Y.X. and M.Y.; Supervision, X.Z., S.Z. and X.P.; Writing—original draft, M.Y.; Writing—review & editing, Y.X., M.Y., X.Z., S.Z. and X.P.

Acknowledgments

This work is supported by the National Natural Science Foundation of China (Grant Nos. 71271009 &71501007 & 71672006 & 71871003). The study was also sponsored by the Aviation Science Foundation of China (2017ZG51081), the Technical Research Foundation (JSZL2016601A004) and the Graduate Student Education & Development Foundation of Beihang University.

Conflicts of Interest

The authors declare no conflicts of interest.

References

  1. Manne, A.S. Programming of Economic Lot Sizes. Manag. Sci. 1958, 4, 115–135. [Google Scholar] [CrossRef]
  2. Wagner, H.M.; Whitin, T.M. Dynamic Version of the Economic Lot Size Model. Manag. Sci. 1958, 50, 1770–1774. [Google Scholar] [CrossRef]
  3. Yang, H.L.A. Partial Backlogging Production-Inventory Lot-Size Model for Deteriorating Items with Time-Varying Production and Demand Rate over a Finite Time Horizon. Int. J. Syst. Sci. 2011, 42, 1397–1407. [Google Scholar] [CrossRef]
  4. Harris, F.W. How Many Parts to Make at Once. Oper. Res. 1913, 38, 947–950. [Google Scholar] [CrossRef]
  5. Karimi, B.; Fatemi Ghomi, S.M.; Wilson, J.M. The Capacitated Lot Sizing Problem: A Review of Models and Algorithms. Omega 2003, 31, 365–378. [Google Scholar] [CrossRef]
  6. Christophe, R.; Guillaume, G.; Ayse, A. Energy-Aware Lot Sizing Problem: Complexity Analysis and Exact Algorithms. Int. J. Prod. Econ. 2018, 203, 254–263. [Google Scholar]
  7. Mathijn, J.H.; Raf, J.; Wilco, H.; Albert, P.M.W. The Economic Lot-Sizing Problem with an Emission Capacity Constraint. Eur. J. Oper. Res. 2015, 241, 50–62. [Google Scholar]
  8. Fanny, H.; Christian, A.; Gonçalo, F.; Bernardo, A.L. Designing New Heuristics for the Capacitated Lot Sizing Problem by Genetic Programming. Comput. Oper. Res. 2018, 96, 1–14. [Google Scholar]
  9. Lee, C.Y.; Cetinkaya, S.; Wagelmans, A.P. A Dynamic Lot Sizing Model with Demand Time Windows. Manag. Sci. 2001, 47, 1384–1395. [Google Scholar] [CrossRef]
  10. Macedo, P.B.; Alem, D.; Santos, M.; Junior, M.L.; Moreno, A. Hybrid Manufacturing and Remanufacturing Lot-Sizing Problem with Stochastic Demand, Return, and Setup Costs. Int. J. Adv. Manuf. Technol. 2016, 82, 1241–1257. [Google Scholar] [CrossRef]
  11. Sarakhsi, M.K.; Ghomi, S.M.T.F.; Karimi, B. Joint Economic Lot-Sizing Problem for a Two-Stage Supply Chain with Price-Sensitive Demand. Sci. Iran. 2016, 23, 1474–1487. [Google Scholar]
  12. Rubasheuski, U.; Oppen, J.; Woodruff, D.L. A Stochastic Programming Approach to Solve a Coordinated Capacitated Stochastic Dynamic Demand Lot-Sizing Problem with Emergency Supplies. Int. J. Logist. Syst. Manag. 2018, 29, 173–189. [Google Scholar] [CrossRef]
  13. Chowdhury, N.T.; Baki, M.F.; Azab, A. Dynamic Economic Lot-Sizing Problem: A New O(T) Algorithm for the Wagner-Whitin Model. Comput. Ind. Eng. 2018, 117, 6–18. [Google Scholar] [CrossRef]
  14. Eduardo, C.; Pedro, A.; Qi, Z.; Bernardo, A.L. Adaptation and Approximate Strategies for Solving the Lot-Sizing and Scheduling Problem Under Multistage Demand Uncertainty. Int. J. Prod. Econ. 2018, 202, 81–96. [Google Scholar]
  15. Jauhari, W.A.; Laksono, P.W. A Joint Economic Lot-Sizing Problem with Fuzzy Demand, Defective Items and Environmental Impacts. Mater. Sci. Eng. 2017, 273, 12–18. [Google Scholar]
  16. Gicquel, C.; Cheng, J. A Joint Chance-Constrained Programming Approach for the Single-Item Capacitated Lot-Sizing Problem with Stochastic Demand. Ann. Oper. Res. 2017, 4, 1–33. [Google Scholar] [CrossRef]
  17. Almeder, C.; Klabjan, D.; Traxler, R.; Almada-Lobo, B. Lead Time Considerations for the Multi-Level Capacitated Lot-Sizing Problem. Eur. J. Oper. Res. 2015, 241, 727–738. [Google Scholar] [CrossRef]
  18. Sahebjamnia, N.; Torabi, S.A. A Fuzzy Stochastic Programming Approach for Multi-Level Capacitated Lot-Sizing Problem under Uncertainty. Stud. Fuzz. Soft Comput. 2014, 317, 393–407. [Google Scholar]
  19. Furlan, M.M.; Santos, M.O. BFO: A Hybrid Bees Algorithm for the Multi-Level Capacitated Lot-Sizing Problem. J. Intell. Manuf. 2017, 28, 1–16. [Google Scholar] [CrossRef]
  20. Dellaert, N.; Jeunet, J. Solving Large Unconstrained Multilevel Lot-Sizing Problems Using a Hybrid Genetic Algorithm. Int. J. Prod. Res. 2000, 38, 1083–1099. [Google Scholar] [CrossRef]
  21. Han, Y.; Tang, J.F.; Kaku, I.; Mu, L.F. Solving Uncapacitated Multilevel Lotsizing Problem Using a Particle Swarm Optimization with Flexible Inertial Weight. Comput. Math. Appl. 2009, 57, 1748–1755. [Google Scholar] [CrossRef]
  22. Xiao, Y.; Zhang, R.; Kaku, I. A New Approach of Inventory Classification based on Loss Profit. Expert Syst. Appl. 2011, 38, 9382–9391. [Google Scholar] [CrossRef]
  23. Xiao, Y.; Kaku, I.; Zhao, Q.; Zhang, R.A. Variable Neighborhood Search based Approach for Uncapacitated Multilevel Lot-Sizing Problems. Comput. Ind. Eng. 2011, 60, 218–227. [Google Scholar] [CrossRef]
  24. Xiao, Y.; Kaku, I.; Zhao, Q.; Zhang, R. Neighborhood Search Techniques for Solving Uncapacitated Multilevel Lot-Sizing Problems. Comput. Oper. Res. 2012, 39, 647–658. [Google Scholar] [CrossRef]
  25. Xiao, Y.; Zhang, R.; Zhao, Q.; Kaku, I.; Xu, Y. A Variable Neighborhood Search with an Effective Local Search for Uncapacitated Multilevel Lot-Sizing Problems. Eur. J. Oper. Res. 2014, 235, 102–114. [Google Scholar] [CrossRef] [Green Version]
  26. Purohit, A.K.; Choudhary, D.; Shankar, R. Inventory Lot-Sizing with Supplier Selection under Non-Stationary Stochastic Demand. Int. Conf. Best Pract. Supply Chain Manag. 2015, 54, 2459–2469. [Google Scholar] [CrossRef]
  27. Federgruen, A.; Joern, M. Competition under Time-Varying Demands and Dynamic lot Sizing Costs. Naval Res. Logist. 2009, 56, 57–73. [Google Scholar] [CrossRef]
  28. Haase, K.; Kimms, A. Lot Sizing and Scheduling with Sequence-Dependent Setup Cost and Times and Efficient Rescheduling Opportunities. Int. J. Prod. Econ. 2000, 66, 159–169. [Google Scholar] [CrossRef]
  29. Dye, C.Y.; Hsieh, T.P.; Ouyang, L.Y. Determining Optimal Selling Price and Lot Size with a Varying Rate of Deterioration and Exponential Partial Backlogging. Eur. J. Oper. Res. 2007, 181, 668–678. [Google Scholar] [CrossRef]
  30. Hong, Y.L.; Jern, M. Competition under Capacitated Dynamic Lot-Sizing with Capacity Acquisition. Int. J. Prod. Econ. 2011, 131, 535–544. [Google Scholar]
  31. Piperagkas, G.S.; Konstantaras, I.; Skouri, K.; Parsopoulos, K.E. Solving the Stochastic Dynamic Lot-Sizing Problem through Nature-Inspired Heuristics. Comput. Oper. Res. 2012, 39, 1555–1565. [Google Scholar] [CrossRef]
  32. Tempelmeier, H.; Hilger, T. Linear Programming Models for a Stochastic Dynamic Capacitated Lot Sizing Problem. Comput. Oper. Res. 2015, 59, 119–125. [Google Scholar] [CrossRef]
  33. Balkhi, Z.T. On a Finite Horizon Production Lot Size Inventory Model for Deteriorating Items: An Optimal Solution. Eur. J. Oper. Res. 2018, 132, 210–223. [Google Scholar] [CrossRef]
  34. Taniguchi, E.; Shimamoto, H. Intelligent Transportation System Based Dynamic Vehicle Routing and Scheduling with Variable Travel Times. Transp. Res. C 2004, 12, 235–250. [Google Scholar] [CrossRef]
  35. Gola, A.; Kłosowski, G. Application of Fuzzy Logic and Genetic Algorithms in Automated Works Transport Organization. Adv. Intell. Syst. Comput. 2018, 620, 29–36. [Google Scholar]
  36. Nikiforos, M. The (Normal) Rate of Capacity Utilization at the Firm Level. Metroeconomica 2013, 64, 513–538. [Google Scholar] [CrossRef] [Green Version]
  37. Kłosowski, G.; Gola, A.; Świć, A. Application of Fuzzy Logic Controller for Machine Load Balancing in Discrete Manufacturing System. Lect. Notes Comput. Sci. 2015, 9375, 256–263. [Google Scholar]
Figure 1. Pseudocode description of dynamic programming for the UDSLLS-TVE problem.
Figure 1. Pseudocode description of dynamic programming for the UDSLLS-TVE problem.
Sustainability 10 03867 g001
Table 1. General classification of lot-sizing problems.
Table 1. General classification of lot-sizing problems.
Classification PrinciplesCategories
Product structureSingle-level; Multi-level
Product numberSingle-item; Multi-item
Production capacityNo capacity constraint; Capacity constraint
Product demandDynamic; Stationary
Production schedule lengthFinite horizon; Infinite horizon
Existence of cost adjustmentNo setup cost; Setup cost
Existence of stock shortageNo backlog; Backlog allowed
Table 2. Symbol definition of the uncapacitatied dynamic single-level lot-sizing under a time-varying environment (UDSLLS-TVE) model.
Table 2. Symbol definition of the uncapacitatied dynamic single-level lot-sizing under a time-varying environment (UDSLLS-TVE) model.
SymbolInstructions
Parameter:
nScope of the whole plan
tPlanning period
htHolding costs of unit products at the end of period t
stSetup cost during period t
DtExternal demand during period t
lLeading time of production
I0Initial inventory at the beginning of the planning horizon
αSetup cost growth rate
Variables:
ytBinary decision variable indicating if a production is set up in period t or not
XtNon-negative decision variable indicating the production volume of lot-sizing in period t
ItNon-negative decision indicating the inventory level at the end of period t
LtProduction interval
Table 3. Algorithm description of the UDSLLS-TVE problem.
Table 3. Algorithm description of the UDSLLS-TVE problem.
Month (t)Dtstαht
16985501
229102501
336102501
461101501
56198501
626114501
734105501
86786501
945119501
1067110501
117998501
1256114501
AVG52.5102.8501
Table 4. Solution results of the UDSLLS-TVE case.
Table 4. Solution results of the UDSLLS-TVE case.
Planning Period123456789101112
yt101110110110
Xt9803661870341120671350
Table 5. Results of problem instances with 12 periods.
Table 5. Results of problem instances with 12 periods.
No.Dynamic Programming AMPL/CPLEX
CostTimeCost
1769.93<1 s 769.93
2717.54<1 s 717.54
3510.17<1 s 510.17
4566.52<1 s 566.52
5720.04<1 s 720.04
AVG of 100712.37<1 s 712.37
Table 6. Results of problem instances with 24 periods.
Table 6. Results of problem instances with 24 periods.
No.Dynamic Programming AMPL/CPLEX
CostTimeCost
11373.02<1 s 1373.02
21588.75<1 s 1588.75
31412.26<1 s 1412.26
41103.34<1 s 1103.34
51450.20<1 s 1450.20
AVG of 1001482.06<1 s 1482.06
Table 7. Results of problem instances with 48 periods.
Table 7. Results of problem instances with 48 periods.
No.Dynamic Programming AMPL/CPLEX
CostTimeCost
12376.20<1 s 2376.20
22869.74<1 s 2869.74
33012.33<1 s 3012.33
42879.96<1 s 2879.96
52690.01<1 s 2690.01
AVG of 1002793.16<1 s 2793.16

Share and Cite

MDPI and ACS Style

Xiao, Y.; You, M.; Zuo, X.; Zhou, S.; Pan, X. The Uncapacitatied Dynamic Single-Level Lot-Sizing Problem under a Time-Varying Environment and an Exact Solution Approach. Sustainability 2018, 10, 3867. https://doi.org/10.3390/su10113867

AMA Style

Xiao Y, You M, Zuo X, Zhou S, Pan X. The Uncapacitatied Dynamic Single-Level Lot-Sizing Problem under a Time-Varying Environment and an Exact Solution Approach. Sustainability. 2018; 10(11):3867. https://doi.org/10.3390/su10113867

Chicago/Turabian Style

Xiao, Yiyong, Meng You, Xiaorong Zuo, Shenghan Zhou, and Xing Pan. 2018. "The Uncapacitatied Dynamic Single-Level Lot-Sizing Problem under a Time-Varying Environment and an Exact Solution Approach" Sustainability 10, no. 11: 3867. https://doi.org/10.3390/su10113867

Note that from the first issue of 2016, this journal uses article numbers instead of page numbers. See further details here.

Article Metrics

Back to TopTop