arXiv reader

Grid Theory and Polynomiality in Dynamic Lot-Sizing

El-Mehdi Mehiri, Nabil Absi and Elodie Suzanne

arXiv
2610.03559v1 · PDF · 2 October 2026
Categories
math.OC, cs.DM, cs.DS, math.CO
Licence
CC BY 4.0 The site shows the text.

Abstract

Why are some dynamic lot-sizing problems polynomial? We address this question by introducing Grid Theory, a structural framework based on cumulative production and the additive structure of production bounds. For a general single-item dynamic lot-sizing model with lower and upper production bounds, there exists an optimal extreme solution in which, within each regeneration interval, all but at most one production quantity lie on a boundary value. This induces additive grids, and the Main Grid Theorem establishes that an optimal cumulative production trajectory can be restricted to these discrete sets. Although the resulting grids may be exponentially large, we introduce the notion of additive dimension to capture production-bound profiles whose boundary sums admit a low-dimensional representation. We show that bounded additive dimension yields a polynomially constructible grid envelope and a polynomial time grid-based dynamic programming algorithm. The framework extends to separable concave costs and establishes polynomial solvability of several families, including constant capacities, minimum order quantities, a fixed number of capacity levels, fixed-degree polynomial capacities, periodic capacities, and piecewise polynomial capacities. In particular, polynomiality may hold even when the number of distinct capacity values grows with the planning horizon. Grid Theory thus identifies additive structure, rather than the number of distinct resource values, as a sufficient mechanism for polynomial solvability.

Items 45

Theorem

Theorem 1

CAE3

Let y\in\{0,1\}^{T} and let x be an extreme point of \mathcal{X}(y). Then every regeneration interval associated with x contains at most one partially utilized production period.

In other words, except for at most one period in each regeneration interval, every production quantity belongs to \mathcal{B}_t:=\{0,L_t,U_t\}.

Used by Proof, Proof
Proof of Theorem 1

Fix an arbitrary setup vector y\in\{0,1\}^{T} and an extreme point x\in X(y).

Consider a regeneration interval (\ell,r] associated with x. Suppose, by contradiction, that two distinct periods i and j, with \ell<i<j\le r, are partially utilized. Thus, L_i y_i < x_i < U_i y_i and L_j y_j < x_j < U_j y_j.

For a scalar \theta, define the perturbed production vector x(\theta) by x_i(\theta)=x_i+\theta and x_j(\theta)=x_j-\theta, leaving all other production quantities unchanged.

This perturbation preserves total production and leaves cumulative production unchanged from period j onward. For t=i,\ldots,j-1, cumulative production becomes P_t(\theta)=P_t+\theta.

Since these periods lie strictly inside the regeneration interval, we have P_t>D_t. Moreover, both x_i and x_j lie strictly between their respective production bounds.

Consequently, there exists \varepsilon>0 such that both x(\varepsilon) and x(-\varepsilon) belong to X(y).

These vectors are distinct, and x=\frac12 x(\varepsilon) +\frac12 x(-\varepsilon), contradicting the assumption that x is an extreme point of X(y).

Therefore, every regeneration interval contains at most one partially utilized production period.

All remaining production quantities lie on their respective bounds, so that x_t\in\{0,L_t,U_t\}. This completes the proof.

Theorem

Theorem 2

BUQ7

There exists an optimal solution of problem \mathcal P whose cumulative production trajectory satisfies P_t\in G_t for all t\in\mathcal{T}\cup\{0\}.

Proof of Theorem 2

By Theorem 1, there exists an optimal solution such that every regeneration interval contains at most one partially utilized production period.

Consider such an optimal solution and an arbitrary regeneration interval (\ell,r]. By definition, P_\ell=D_\ell and P_r=D_r. Suppose first that the regeneration interval contains a partially utilized period k.

Consider a period t satisfying \ell\leq t<k. Since the unique possible partially utilized period is k, every production quantity in \{\ell+1,\ldots,t\} belongs to its corresponding boundary set. Hence, x_u\in\mathcal{B}_u for all u=\ell+1,\ldots,t.

Using the left endpoint of the regeneration interval gives

P_t = P_\ell+ \sum_{u=\ell+1}^{t}x_u = D_\ell+ \sum_{u=\ell+1}^{t}x_u.

Therefore, \sum_{u=\ell+1}^{t}x_u \in \mathcal{A}(\{\ell+1,\ldots,t\}), and consequently P_t\in G_t^{+}.

Now consider a period t satisfying k\leq t\leq r. Using the right endpoint of the regeneration interval,

P_t = P_r- \sum_{u=t+1}^{r}x_u = D_r- \sum_{u=t+1}^{r}x_u.

Since t\geq k, the possibly partially utilized period k does not appear in the sum on the right-hand side. Hence, x_u\in\mathcal{B}_u for all u=t+1,\ldots,r, so that \sum_{u=t+1}^{r}x_u \in \mathcal{A}(\{t+1,\ldots,r\}). It follows that P_t\in G_t^{-}.

Suppose now that the regeneration interval contains no partially utilized production period. Then every production quantity in the interval belongs to its corresponding boundary set. For every t\in\{\ell,\ldots,r\},

P_t = D_\ell+ \sum_{u=\ell+1}^{t}x_u,

and therefore P_t\in G_t^{+}.

Thus, in all cases, P_t\in G_t^{+}\cup G_t^{-}. Moreover, feasibility additionally implies D_t\leq P_t\leq D_T. Hence,

P_t\in \left( G_t^{+}\cup G_t^{-} \right) \cap[D_t,D_T] = G_t.

Since the argument applies to every regeneration interval, we obtain P_t\in G_t for all t\in\mathcal{T}\cup\{0\}.

Corollary

Corollary 1

FSX5

There exists an optimal solution of problem \mathcal P satisfying P_t\in G for all t\in\mathcal{T}\cup\{0\}.

Example

Example 1

WJFH

Consider the special case L_t=0 and U_t=C_t, with C_t=2^{T-t} for all t\in\mathcal{T}. Thus, C_1=2^{T-1},\ C_2=2^{T-2}, \ldots, C_T=1.

Suppose that demand occurs only in the final period and equals total available capacity, i.e., d_t=0 for all t\in\mathcal{T}-1, and d_T = \sum_{t=1}^{T}C_t = 2^T-1. Then D_0=D_1=\cdots=D_{T-1}=0.

Consider the positive grid at period T-1. Since \mathcal{B}_t=\{0,C_t\}, we have

G_{T-1}^{+} \supseteq \left\{ \sum_{u\in S}C_u : S\subseteq\{1,\ldots,T-1\} \right\}.

Because C_1,\ldots,C_{T-1} are distinct powers of two, every subset produces a different sum. Consequently, |G_{T-1}| \geq 2^{T-1}.

Hence, the additive grid may have exponential cardinality.

Theorem

Theorem 3

TKLV

The dynamic programming recurrence (?) returns the optimal value of problem \mathcal P.

Proof of Theorem 3

We first consider the problem restricted to cumulative production trajectories satisfying P_t\in G_t for all t\in\mathcal{T}\cup\{0\}.

For t=0, the only feasible cumulative production level is P_0=0, so the initialization is correct.

Assume that the dynamic programming values are correct at the end of period t-1, and consider a state s\in G_t. Every feasible partial solution ending at s has a predecessor r=P_{t-1}\in G_{t-1}, and produces x_t=s-r. The transition is feasible precisely when x_t=0 or L_t\leq x_t\leq U_t for x_t>0. Its additional cost is \phi_t(x_t)+h_t(s-D_t). Taking the minimum over all feasible predecessors therefore gives exactly recurrence (?).

Therefore, by induction, F_T(D_T) is the optimal value among all feasible solutions whose cumulative production levels belong to the grids. Moreover, by the MGT, restricting the dynamic program to the additive grids causes no loss of optimality. Thus, the solution of the dynamic program is optimal.

Proposition

Proposition 1

BC0Z

Assume that the period-dependent grids G_0,\ldots,G_T are given and sorted. Then the GDP algorithm can be implemented in

O \left( \sum_{t=1}^{T} (N_{t-1}+N_t) \right) \subseteq O(TN)

time and O(N) working memory for computing the optimal value.

Used by Proof, Proof, Proof, Proof
Proof of Proposition 1

Fix a period t. The states of G_t and the predecessor states of G_{t-1} are scanned in increasing order.

For the positive production term in (?), a monotone deque maintains the minimum of F_{t-1}(r)-p_t r over the moving window W_t(s). Each point of G_{t-1} is inserted into the deque at most once and removed at most once. Hence, evaluating all positive production transitions in period t requires O(N_{t-1}+N_t) time. The zero-production term \overline{F}_{t-1}(s) can be evaluated during the same ordered scan. Summing over all periods gives (1).

Only two consecutive dynamic programming layers and the monotone deque need to be stored when only the optimal value is required. Each contains at most O(N) values, yielding the stated working-memory bound. If a predecessor is stored for every finite state in order to recover an optimal solution without recomputation, the corresponding storage is O(\sum_{t=0}^{T}N_t).

Proposition

Proposition 2

MO08

Let H be a grid envelope. If the GDP algorithm is applied using H\cap[D_t,D_T] in period t, then it returns the optimal value of problem \mathcal P.

Proof of Proposition 2

Since G\subseteq H, the MGT guarantees the existence of an optimal solution whose cumulative production trajectory is entirely contained in H. Since G_t\subseteq[D_t,D_T], this trajectory is also contained in H\cap[D_t,D_T] in every period t.

Conversely, every finite-cost path considered by the dynamic program satisfies the original production boundary and inventory constraints. The restriction s\geq D_t ensures nonnegative inventory, while the transition conditions enforce production feasibility. Thus, enlarging the grid may introduce additional states, but it cannot introduce a solution with an objective value smaller than the true optimum.

Hence, the dynamic program over H contains at least one optimal trajectory and returns the optimal value.

Definition

Definition 2

CUO8

A family \mathfrak{I} of dynamic lot-sizing instances is said to satisfy the polynomial grid condition if there exists a polynomial q such that, for every instance I\in\mathfrak{I}, one can construct in time polynomial in \langle I\rangle, a grid envelope H(I) satisfying |H(I)|\leq q(\langle I\rangle), with all grid values represented exactly.

Proposition

Proposition 3

SRQR

Every family of instances satisfying the polynomial grid condition is solvable in polynomial time by the GDP algorithm.

Uses Definition 2 · Used by Proof
Proof of Proposition 3

Let H(I) be the grid envelope provided by Definition 2, and set N_H:=|H(I)|. By assumption, N_H is polynomially bounded in \langle I\rangle, and the grid can be generated in polynomial time.

A polynomial number of rational grid points can also be sorted in polynomial time. By Proposition 1, the dynamic programming phase requires O(N_H\log N_H+TN_H) time when the common grid implementation is used. Since T is polynomially bounded by \langle I\rangle and N_H is polynomially bounded, the complete algorithm runs in polynomial time.

Definition

Definition 3

QFP9

A family of boundary resource profiles is said to admit a p-dimensional additive representation if there exist fixed nonnegative integers c_1,\ldots,c_p, independent of the planning horizon, such that every profile in the family admits rational basis values \theta_1,\ldots,\theta_p and integer-valued coordinate maps g_i(t,b), with i=1,\ldots,p, t\in\mathcal{T}, and b\in\mathcal{B}_t, satisfying

b = \sum_{i=1}^{p} \theta_i g_i(t,b), \qquad t\in\mathcal{T}, \quad b\in\mathcal{B}_t,

with |g_i(t,b)| \leq T^{c_i} for all i=1,\ldots,p, and we additionally set g_i(t,0)=0 for all i=1,\ldots,p.

We further require that the basis values \theta_i and the coordinates g_i(t,b) can be computed in time polynomial in the binary encoding length of the instance, and that their binary encoding lengths are polynomially bounded.

Used by Proof
Definition

Definition 4

OK1M

The additive dimension of a family of boundary resource profiles, denoted by \operatorname{adim}(\mathcal{B}), is the smallest integer p for which the family admits a p-dimensional additive representation in the sense of Definition 3.

A family is said to have bounded additive dimension if this number is bounded independently of the planning horizon.

Remark

Remark 1

WOQO

The term additive dimension used here should not be confused with the notion bearing the same name in additive combinatorics and additive number theory. The notion introduced in Definition 4 is specific to the present framework.

Lemma

Lemma 1

QMR0

Suppose that the boundary resource profile admits a p-dimensional additive representation. Then every boundary sum set \mathcal{A}(J) satisfies \mathcal{A}(J) \subseteq \widehat{\mathcal{A}} for all J\subseteq\mathcal{T}. Moreover,

|\widehat{\mathcal{A}}| \leq \prod_{i=1}^{p} \left( 2T^{c_i+1}+1 \right).
Used by Proof
Proof of Lemma 1

Let a\in\mathcal{A}(J). Then a=\sum_{u\in J}b_u for some b_u\in\mathcal{B}_u. By (?), a = \sum_{i=1}^{p}\theta_i\beta_i, where the aggregate coordinates satisfy |\beta_i|\leq T^{c_i+1}.

Furthermore, because all production boundaries are nonnegative, we have 0\leq a\leq U^\Sigma. Therefore, a\in\widehat{\mathcal{A}}.

For each coordinate \beta_i, there are at most 2T^{c_i+1}+1 integer values satisfying its bound. Hence, the total number of coordinate vectors is at most \prod_{i=1}^{p} \left( 2T^{c_i+1}+1 \right).

Different vectors may generate the same value, so this is also an upper bound on |\widehat{\mathcal{A}}|.

Lemma

Lemma 2

7TWI

If the boundary resource profile admits a p-dimensional additive representation, then G\subseteq\widehat{G}. Moreover,

|\widehat{G}| \leq 2(T+1) \prod_{i=1}^{p} \left( 2T^{c_i+1}+1 \right).
Used by Proof
Proof of Lemma 2

Let s\in G. Then s\in G_t for some t\in\mathcal{T}\cup\{0\}. If s\in G_t^+, then by definition s = D_j+a for some 0\leq j\leq t and some a\in \mathcal{A}(\{j+1,\ldots,t\}). By Lemma 1, a\in\widehat{\mathcal{A}}, and therefore s\in\widehat{G}.

Similarly, if s\in G_t^-, then s = D_j-a for some t\leq j\leq T and a\in \mathcal{A}(\{t+1,\ldots,j\}). Again, a\in\widehat{\mathcal{A}}, and hence s\in\widehat{G}. Thus, G\subseteq\widehat{G}.

For every cumulative demand anchor D_j, there are at most 2|\widehat{\mathcal{A}}| values corresponding to the two signs. Hence, |\widehat{G}| \leq 2(T+1)|\widehat{\mathcal{A}}|.

The result follows from Lemma 1.

Uses Lemma 1
Remark

Remark 2

VF3Y

Li and Li [LiLi2016] provide a general polynomial solvability framework based on a fixed set of time-independent special replenishment quantities and the property that at most one period between consecutive regeneration periods uses a quantity outside this set. A fixed collection \{q_1,\ldots,q_R\} of boundary values fits naturally within the present framework by taking the q_r as basis values and using count coordinates. Hence, the setting with a finite set of special quantities constitutes an important special case of the additive representation considered here.

The converse need not hold. Bounded additive dimension does not require the number of distinct boundary values to remain fixed. For example, a fixed-degree polynomial capacity profile C_t=\sum_{\ell=0}^{d}\gamma_\ell t^\ell may contain T distinct capacity values, while every capacity sum is described by the fixed collection of power sum coordinates \sum_{t\in S}t^\ell for \ell=0,\ldots,d (cf., Section ?). Thus, additive dimension captures structured resource families that need not admit a fixed list of special replenishment quantities.

Theorem

Theorem 4

FM5I

Consider a family \mathfrak{I} of feasible dynamic lot-sizing instances of the form \mathcal P. If the corresponding boundary resource profiles have bounded additive dimension, then \mathfrak{I} satisfies the polynomial grid condition. Consequently, every such instance can be solved exactly in polynomial time by the GDP algorithm.

Proof of Theorem 4

Let p denote the bounded additive dimension, and let c_1,\ldots,c_p be the fixed exponents of an additive representation. By Lemma 2, the exact additive grid is contained in the grid envelope \widehat{G}, whose cardinality satisfies (2). Since p and c_1,\ldots,c_p are fixed independently of T, this quantity is polynomial in T. More precisely, |\widehat{G}| = O \left( T^{ 1+\sum_{i=1}^{p}(c_i+1) } \right).

By Definition 3, the basis values and coordinate maps are polynomial-time computable and have polynomially bounded encoding lengths. The additive envelope \widehat{\mathcal{A}} can therefore be generated by enumerating all integer vectors (\beta_1,\ldots,\beta_p) satisfying |\beta_i|\leq T^{c_i+1} for all i=1,\ldots,p, and evaluating \sum_{i=1}^{p}\theta_i\beta_i exactly.

Because the number of such vectors is polynomial, the additive envelope can be generated in polynomial time. Combining each retained value with the T+1 cumulative demand anchors and the two possible signs generates \widehat{G} in polynomial time.

Therefore, \widehat{G} satisfies the polynomial grid condition. Moreover, by Proposition 3, the GDP algorithm solves the problem in polynomial time.

Lemma

Lemma 3

8DJY

Fix a setup vector y\in\{0,1\}^{T}. If c_t and H_t are concave for every t, then the fixed-setup problem associated with \mathcal P^{\mathrm{conc}} admits an optimal solution that is an extreme point of \mathcal{X}(y).

Used by Proof
Proof of Lemma 3

For a fixed setup vector y, the feasible production vectors belong to the polytope \mathcal{X}(y) defined in (?). Using I_t=\sum_{u=1}^{t}x_u-D_t, the objective, apart from the constant setup term \sum_{t=1}^{T}f_ty_t, can be written as

\Psi_y(x) = \sum_{t=1}^{T} \left[ c_t(x_t) + H_t \left( \sum_{u=1}^{t}x_u-D_t \right) \right].

Since each c_t and H_t is concave and the inventory levels are affine functions of x, the function \Psi_y is concave on \mathcal{X}(y).

Let x^\star be an optimal solution. Since \mathcal{X}(y) is a polytope, x^\star can be expressed as a convex combination of its extreme points: x^\star = \sum_{q=1}^{m}\lambda_q v^q where \lambda_q\geq0 and \sum_{q=1}^{m}\lambda_q=1.

By concavity,

\Psi_y(x^\star) \geq \sum_{q=1}^{m} \lambda_q\Psi_y(v^q).

Therefore, at least one extreme point v^q satisfies

\Psi_y(v^q) \leq \Psi_y(x^\star).

Since x^\star is optimal, equality must hold. Hence, an optimal extreme point exists.

Theorem

Theorem 5

IBE3

Suppose that c_t and H_t are concave for every t\in\mathcal{T}. Then problem \mathcal P^{\mathrm{conc}} admits an optimal solution such that, in every regeneration interval, at most one production quantity is strictly between its production boundaries. Consequently, there exists an optimal solution whose cumulative production trajectory satisfies P_t\in G_t for all t\in\mathcal{T}\cup\{0\}, where G_t is the same additive grid defined in Section ?.

Used by Proof
Proof of Theorem 5

Let y^\star be the setup vector of an optimal solution of problem \mathcal P^{\mathrm{conc}}. By Lemma 3, there exists an optimal production vector x^\star that is an extreme point of \mathcal{X}(y^\star).

Theorem 1 therefore implies that, in every regeneration interval, all but at most one production quantity belong to \mathcal{B}_t=\{0,L_t,U_t\}.

The proof of the MGT is purely structural and applies to any solution satisfying this boundary property. Hence, the corresponding cumulative production trajectory satisfies P_t\in G_t for all t\in\mathcal{T}\cup\{0\}.

Corollary

Corollary 2

P1SP

Consider a family of instances of problem \mathcal P^{\mathrm{conc}} whose boundary resource profiles have bounded additive dimension. If the concave cost functions can be evaluated exactly in polynomial time, then the family is solvable exactly in polynomial time by GDP.

Proof of Corollary 2

By Theorem 5, an optimal solution exists on the same additive grid as in the linear cost model. Moreover, by Theorem 4, bounded additive dimension provides a polynomially constructible grid envelope \widehat{G} of polynomial cardinality.

Applying the recurrence (?) to the feasible states \widehat{G}\cap[D_t,D_T] in period t examines at most |\widehat{G}|^2 predecessor–successor pairs per period. Therefore, the total number of transitions is polynomial in the input size. Since every transition cost can also be evaluated in polynomial time, the complete algorithm is polynomial.

Corollary

Corollary 3

RDQ7

The uncapacitated single-item dynamic lot-sizing problem with linear costs can be solved by GDP in O(T^2) time and O(T) working memory for computing the optimal value.

Proof of Corollary 3

The common cumulative production grid contains O(T) states. The accelerated recurrence of Section ? therefore requires O(T|H^{\mathrm{unc}}|)=O(T^2) time.

Corollary

Corollary 4

ZCEW

The single-item dynamic lot-sizing problem with constant capacity can be solved by the GDP algorithm in O(T^3) time and O(T^2) working memory for computing the optimal value when the common grid H^{C} is used.

Proof of Corollary 4

The grid envelope contains O(T^2) states. Once sorted, Proposition 1 yields O(T|H^{C}|) = O(T^3) time and O(T^2) memory.

Corollary

Corollary 5

229B

The uncapacitated single-item dynamic lot-sizing problem with a constant minimum order quantity can be solved by the GDP algorithm in O(T^3) time and O(T^2) working memory for computing the optimal value.

Proof of Corollary 5

The set H^{L} is a grid envelope of cardinality O(T^2). Proposition 1 therefore gives an O(T^3) implementation.

Corollary

Corollary 6

ML7J

The single-item dynamic lot-sizing problem with constant capacity C and constant minimum order quantity L can be solved by the GDP algorithm in O(T^4) time and O(T^3) working memory for computing the optimal value.

Proof of Corollary 6

The grid envelope H^{L,C} contains O(T^3) cumulative production states. The result follows directly from Proposition 1.

Remark

Remark 3

EF91

The terminal inventory conventions are not identical across all of these models. The formulation considered in this paper imposes I_T=0. Okhrin and Richter [OkhrinRichter2011a] use the same zero-terminal-inventory convention, whereas minimum-order-quantity models allowing positive terminal inventory are also considered by Hellion, Mangione, and Penz [HellionMangionePenz2012] and Park and Klabjan [ParkKlabjan2015].

Corollary

Corollary 7

9ONY

For every fixed R, the capacitated lot-sizing problem in which C_t\in\{q_1,\ldots,q_R\} for all t is solvable by the GDP algorithm in O(T^{R+2}) time.

Corollary

Corollary 8

J49H

For every fixed degree d, the capacitated lot-sizing problem with capacity profile (?) is solvable by the GDP algorithm in O \left( T^{ 2+\frac{(d+1)(d+2)}{2} } \right) time.

Corollary

Corollary 9

X0B8

For every fixed period q, the capacitated lot-sizing problem with capacity profile (?) is solvable in polynomial time by the GDP algorithm.

Corollary

Corollary 10

NTNG

If both the number R of pieces and the maximum polynomial degree d are fixed independently of T, then the capacitated lot-sizing problem with capacity profile (?) is solvable by the GDP algorithm in O \left( T^{ 2+ R\frac{(d+1)(d+2)}{2} } \right) time.

Source and licence

The text on this page is from arXiv:2610.03559v1 by El-Mehdi Mehiri, Nabil Absi and Elodie Suzanne, under the licence CC BY 4.0. The corpus made these changes: it read the items out of the LaTeX source, it expanded the macros of the paper, it put each proof after its statement, and it converted the text to HTML. The formulas are the TeX of the paper, and KaTeX renders them. A formula or a reference can look different from the PDF. The page is published under CC BY 4.0.

The record of each item is in analysis/objects/2610/2610.03559.jsonl.