Lot Sizing Problem
We introduce the Lot Sizing Problem (LSP) as a General module use case
Last updated
We introduce the Lot Sizing Problem (LSP) as a General module use case
Last updated
The Lot Sizing Problem (LSP) is a production planning problem that has been traditionally addressed in the fields of management science and optimization. The decision maker wants to determine the amount of production that will satisfy the demand in each period of a given planning horizon while minimizing total cost (the sum of production cost, fixed cost, and inventory cost). Demand in a given period is satisfied by either production or inventory in that period. In the case of producing a product, there are fixed costs to run the production facility and variable costs that are proportional to the amount of production. In the case of inventory, there are maintenance costs.
The following is a simple example of an LSP. Suppose you have five days of demand for a product and information about variable costs, fixed costs, and inventory costs as shown in the table below.
Demand
3
2
1
2
1
Production cost
3
0
1
0
2
Fixed cost
0
12
7
4
5
Inventory cost
0
0
0
0
0
There are many possible solutions to the above problem, i.e., production plans that satisfy demand for five days.
Production amount
3
2
1
2
1
Solution 1 above corresponds to a plan that produces only what is needed each day, in which case the total cost is calculated as follows.
Production amount
5
0
1
2
1
On the other hand, for Solution 2 above, the plan is to produce the required amount on Day 1 and the next day, resulting in an inventory of 2. In this case, the total cost is calculated as follows
Therefore, we can observe that Solution 2 is a better solution from a cost perspective than Solution 1.
The LSP can be modeled by dynamic planning methods, which exploit a unique property of LSPs: the structural characteristics of their optimal solutions. LSPs can be shown to have optimal solutions that satisfy the following properties.
This means that the periods in which production occurs are a subset of all periods, and that in each production period, you produce to satisfy exactly the demand from the current period to the period immediately preceding the next production period. Therefore, the inventory you have at the start of each production period is zero. A network representation of this would look like this: In Period 1, you produce to satisfy demand from Periods 1 through 3, and with zero inventory, you produce to satisfy demand from Period 4 through Period 5. The intervals and are called the regeneration intervals.
We use these characteristics to model the LSP as dynamic programming.
The state at stage , which is not the final stage, is defined as the ordered pair for . The state means that when solving the LSP from period 1 to , is the period in which the last production occurred. That is, is the last regeneration interval and the production in period is . Let be the cost corresponding to each state, which represents the minimum cost of all the plans whose last regeneration interval is .
The periods defined in the problem correspond to the stages. We additionally define a stage with a final state that indicates the termination, so the example above would have 6 (=5+1) stages.
In state where , there are two possible actions.
Include in the current regeneration interval . In this case, a transition occurs from state to . This means that we need to produce an additional demand in period that corresponds to , incurring a transition cost of .
Start a new regeneration interval at . In this case, a transition occurs from state to . Since we are starting a new production in period , we incur a transition cost of , which is the sum of the setup cost and the production cost.
The transition cost to the state of the last stage is defined as 0. A graphical representation of the above actions is shown below.
The state transition network in the previous example is shown below.
A path from the initial state (Start node) to the final state (Final node) corresponds to a feasible solution to the problem, and the shortest path corresponds to the optimal solution to the problem. The path that represents the optimal solution is shown below.
We denote the cost corresponding to each state by , which represents the minimum cost of the plans whose last production occurs in period .
Let be the minimum cost of the problem over period , then we have
The relationship between each state and the transition cost is defined as follows. (Define )
, so holds.
, so holds.
We can find the optimal solution to this problem by computing by forward recursion starting with in the same way described above.
The bound information of the state can be used to reduce the search space to speed up the computation time to find the optimal solution, or to find an approximate solution.
To find a primal bound on the state , we need to find a feasible solution. There are several ways to find a feasible solution, the simplest of which is to group the remaining periods from to into a single regeneration interval. This feasible solution may not be optimal, in which case the primal bound is .
In order to find the dual bound at state , we can solve a relaxed problem that relaxes some of the constraints in the problem. The simplest dual bound is to set all cost parameters to zero after time . The dual bound obtained is in this case. Several other relaxation techniques can be employed.
. Y. Pochet, L. Wolsey. Springer. 2006.