Configuration linear program
The configuration linear program (configuration-LP) is a linear programming technique used for solving combinatorial optimization problems. It was introduced in the context of the cutting stock problem. Later, it has been applied to the bin packing and job scheduling problems. In the configuration-LP, there is a variable for each possible configuration - each possible multiset of items that can fit in a single bin (these configurations are also known as patterns) . Usually, the number of configurations is exponential in the problem size, but in some cases it is possible to attain approximate solutions using only a polynomial number of configurations.
The configuration linear program (configuration-LP) is a linear programming technique used for solving combinatorial optimization problems. It was introduced in the context of the cutting stock problem. Later, it has been applied to the bin packing and job scheduling problems. In the configuration-LP, there is a variable for each possible configuration - each possible multiset of items that can fit in a single bin (these configurations are also known as patterns) . Usually, the number of configurations is exponential in the problem size, but in some cases it is possible to attain approximate solutions using only a polynomial number of configurations. Example: suppose the item sizes are 3,3,3,3,3,4,4,4,4,4, and B=12. Then the possible configurations are: 3333; 333; 33, 334; 3, 34, 344; 4, 44, 444. If we had only three items of size 3, then we could not use the 3333 configuration. Denote by S the set of different sizes (and their number). Denote by C the set of different configurations (and their number). For each size s in S and configuration c in C, denote: n s - the number of items of size s. a s ,c - the number of occurrences of size s in configuration c. x c - a variable denoting the number of bins with configuration c. Then, the configuration LP of bin-packing is: minimize \sum_{c\in C}x_c subject to \sum_{c\in C}a_{s,c}x_c \geq n_s for all s in S (all n s items of size s are packed). x_c\in\{0,\ldots,n\} for all c in C (there are at most n bins overall, so at most n of each individual configuration). The configuration LP is an integer linear program, so in general it is NP-hard. Moreover, even the problem itself is generally very large: it has C variables and S constraints. If the smallest item size is eB (for some fraction e in (0,1)), then there can be up to 1/e items in each bin, so the number of configurations C ~ S 1/e , which can be very large if e is small (if e is considered a constant, then the integer LP can be solved by exhaustive search: there are at most S 1/e configurations, and for each configuration there are at most n possible values, so there are at most n^{S^{1/e}} combinations to check. For each combination, we have to check S constraints, so the run-time is S\cdot n^{S^{1/e}} , which is polynomial in n when S, e are constant). However, this ILP serves as a basis for several approximation algorithms. The main idea of these algorithms is to reduce the original instance into a new instance in which S is small and e is large, so C is relatively small. Then, the ILP can be solved either by complete search (if S, C are sufficiently small), or by relaxing it into a fractional LP. Example: suppose there are 31 items of size 3 and 7 items of size 4, and the bin-size is 10. The configurations are: 4, 44, 34, 334, 3, 33, 333. The constraints are [0,0,1,2,1,2,3]*x=31 and [1,2,1,1,0,0,0]*x=7. An optimal solution to the fractional LP is [0,0,0,7,0,0,17/3] That is: there are 7 bins of configuration 334 and 17/3 bins of configuration 333. Note that only two different configurations are needed. In short, the fractional LP can be written as follows: minimize ~\mathbf{1}\cdot \mathbf{x}~ s.t. ~\mathbf{A} \mathbf{x}\geq \mathbf{n}~ and ~\mathbf{x}\geq 0~ Where 1 is the vector (1,...,1) of size C, A is an S-by-C matrix in which each column represents a single configuration, and n is the vector (n 1 ,...,n S ). where S is the number of different sizes, n is the number of different items, and the size of the smallest item is eB. In particular, if e ≥ 1/n and h=1, the algorithm finds a solution with at most LOPT+1 bins in time: O\left(S^8 \log{S} \log^2{n} + S^4 n \log{S}\log{n} \right) . A randomized variant of this algorithm runs in expected time: O\left(S^7 \log{S} \log^2(\frac{S n}{e h}) + \frac{S^4 n \log{S}}{h}\log(\frac{S n}{e h}) \right) . In the bin covering problem, there are n items with different sizes. The goal is to pack the items into a maximum number of bins, where each bin should contain at least B. A natural configuration LP for this problem could be: \text{maximize}~~\mathbf{1}\cdot \mathbf{x}~~~\text{s.t.}~~ A \mathbf{x}\leq \mathbf{n}~~~\text{and}~~ \mathbf{x}\geq 0 where A represents all configurations of items with sum at least B (one can take only the inclusion-minimal configurations). The problem with this LP is that, in the bin-covering problem, handling small items is problematic, since small items may be essential for the optimal solution. With small items allowed, the number of configurations may be too large even for the technique of Karmarkar and Karp. Csirik, Johnson and Kenyon present an alternative LP. First, they define a set of items that are called small. Let T be the total size of all small items. Then, they construct a matrix A representing all configurations with sum \text{maximize}~~\mathbf{1}\cdot \mathbf{x}~~\text{s.t.} A \mathbf{x}\leq \mathbf{n} \sum_{c\in C: sum(c) \mathbf{x}\geq 0 The additional constraint guarantees that the "vacant space" in the bins can be filled by the small items. The dual of this LP is more complex and cannot be solved by a simple knapsack-problem separation oracle. Csirik, Johnson and Kenyon present a different method to solve it approximately in time exponential in 1/epsilon. Jansen and Solis-Oba present an improved method to solve it approximately in time exponential in 1/epsilon. \sum_{c\in C_i(T)}x_{i,c} = 1 for every machine i in 1,...,m; \sum_{i=1}^m \sum_{c\ni j, c\in C_i(T)}x_{i,c} = 1 for every job j in 1,...,n; x_{i,j} \in \{0,1\} for every i, j.
References
No reference rows published for this article.
Cite this article
MLA
"Configuration linear program." encyclopegia.org, 2025, https://encyclopegia.org/wiki/configuration-linear-program. Accessed 24 November 2026.
Chicago
"Configuration linear program." encyclopegia.org. Accessed November 24, 2026. https://encyclopegia.org/wiki/configuration-linear-program.
APA
encyclopegia.org. (2025). Configuration linear program. Retrieved November 24, 2026, from https://encyclopegia.org/wiki/configuration-linear-program
Accessed November 24, 2026 · CC BY-SA 4.0 · citation page · JSON