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.
In the above formulation, the objective function in Equation (1) is to minimize the sum of total production setup costs, , and inventory-holding costs, , 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.
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:
The WW algorithm is an exact algorithm which reduces the problem complexity of O (2
n−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). 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 . 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 . The new setup cost 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.
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 satisfiesandat 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 holds. That means a production setup has been arranged at period t−l 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 t−l. This leads to save the inventory-holding cost resulting from inventory It−l 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 holds. By a similar way, we can also prove that the property holds.
Property 2. For an optimal solution of the UDSLLS-TVE model formulated in Equation (10)–(16), it satisfies, whereand 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.,, is satisfied by the production quantity in the period t** and t** < t*, i.e.,, the demand Dt for any period t between t** and t* − l is also satisfied by, 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), ifand, thenholds, whereand 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., , , and . We can always move the production setup in period to by letting and , such that the new solution remains feasible (because of ) and the total cost change is . As , 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.
Note that the objective function in Equation (17) allows us to set an individual increment of setup cost
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,
, 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.