ArticleslgStudy

mathematics

Strip packing problem

Strip packing problem is a mathematics topic covered in the lgStudy science library. This page brings together a partial reference excerpt, illustrations, worked examples, real-world applications and a short study plan, so you can understand Strip packing problem rather than just read about it. In short: The strip packing problem is a 2-dimensional geometric minimization problem. Given a set of axis-aligned rectangles and a strip of bounded width and infinite height, determine an overlapping-free packing of the rectangles into the strip, minimizing its height.

Strip packing problem — main illustration
Strip packing problem — illustration

Key takeaways

  • Strip packing problem belongs to mathematics; place it in that map before memorising details.
  • Learn the definition first, then one example that makes the definition concrete.
  • Connect Strip packing problem to a quantity you can measure, compute or draw — that is where exam questions come from.
  • Reproduce the core statement of Strip packing problem from memory before moving on to harder problems.

Reference excerpt

The strip packing problem is a 2-dimensional geometric minimization problem. Given a set of axis-aligned rectangles and a strip of bounded width and infinite height, determine an overlapping-free packing of the rectangles into the strip, minimizing its height. This problem is a cutting and packing problem and is classified as an Open Dimension Problem according to Wäscher et al. This problem arises in the area of scheduling, where it models jobs that require a contiguous portion of the memory over a given time period. Another example is the area of industrial manufacturing, where rectangular pieces need to be cut out of a sheet of material (e.g., cloth or paper) that has a fixed width but infinite length, and one wants to minimize the wasted material. This problem was first studied in 1980. It is strongly-NP hard and there exists no polynomial-time approximation algorithm with a ratio smaller than 3/2 unless P=NP. However, the best approximation ratio achieved so far (by a polynomial time algorithm by Harren et al.) is (5/3+ε), imposing an open question of whether there is an algorithm with approximation ratio 3/2.

Definition An instance I=(ℐ,W) of the strip packing problem consists of a strip with width W=1 and infinite height, as well as a set ℐ of rectangular items. Each item i∈ℐ has a width wi∈(0,1]∩ℚ and a height hi∈(0,1]∩ℚ. A packing of the items is a mapping that maps each lower-left corner of an item i∈ℐ to a position (xi,yi)∈([0,1−wi]∩ℚ)×ℚ≥0 inside the strip. An inner point of a placed item i∈ℐ is a point from the set inn(i)={(x,y)∈ℚ×ℚ|xi<x<xi+wi,yi<y<yi+hi}. Two (placed) items overlap if they share an inner point. The height of the packing is defined as max⁡{yi+hi|i∈ℐ}. The objective is to find an overlapping-free packing of the items inside the strip while minimizing the height of the packing. This definition is used for all polynomial time algorithms. For pseudo-polynomial time and FPT-algorithms, the definition is slightly changed for the simplification of notation. In this case, all appearing sizes are integral. Especially the width of the strip is given by an arbitrary integer number larger than 1. Note that these two definitions are equivalent.

Variants There are several variants of the strip packing problem that have been studied. These variants concern the objects' geometry, the problem's dimension, the rotateability of the items, and the structure of the packing. Geometry: In the standard variant of this problem, the set of given items consists of rectangles. In an often considered subcase, all the items have to be squares. This variant was already considered in the first paper about strip packing. Additionally, variants where the shapes are circular or even irregular have been studied. In the latter case, it is referred to as irregular strip packing. Dimension: When not mentioned differently, the strip packing problem is a 2-dimensional problem. However, it also has been studied in three or even more dimensions. In this case, the objects are hyperrectangles, and the strip is open-ended in one dimension and bounded in the residual ones. Rotation: In the classical strip packing problem, the items are not allowed to be rotated. However, variants have been studied where rotating by 90 degrees or even an arbitrary angle is allowed. Structure: In the general strip packing problem, the structure of the packing is irrelevant. However, there are applications that have explicit requirements on the structure of the packing. One of these requirements is to be able to cut the items from the strip by horizontal or vertical edge-to-edge cuts. Packings that allow this kind of cutting are called guillotine packing.

Hardness The strip packing problem contains the bin packing problem as a special case when all the items have the same height 1. For this reason, it is strongly NP-hard, and there can be no polynomial time approximation algorithm that has an approximation ratio smaller than 3/2 unless P=NP. Furthermore, unless P=NP, there cannot be a pseudo-polynomial time algorithm that has an approximation ratio smaller than 5/4, which can be proven by a reduction from the strongly NP-complete 3-partition problem. Note that both lower bounds 3/2 and 5/4 also hold for the case that a rotation of the items by 90 degrees is allowed. Additionally, it was proven by Ashok et al. that strip packing is W[1]-hard when parameterized by the height of the optimal packing.

Properties of optimal solutions There are two trivial lower bounds on optimal solutions. The first is the height of the largest item. Define hmax(I):=max⁡{h(i)|i∈ℐ}. Then it holds that OPT(I)≥hmax(I). Another lower bound is given by the total area of the items. Define AREA(ℐ):=∑i∈ℐh(i)w(i) then it holds that OPT(I)≥AREA(ℐ)/W. The following two lower bounds take notice of the fact that certain items cannot be placed next to each other in the strip, and can be computed in 𝒪(nlog⁡(n)). For the first lower bound assume that the items are sorted by non-increasing height. Define k:=max⁡{i:∑j=1kw(j)≤W}. For each l>k define i(l)≤k the first index such that w(l)+∑j=1i(l)w(j)>W. Then it holds that OPT(I)≥max⁡{h(l)+h(i(l))|l>k∧w(l)+∑j=1i(l)w(j)>W}. For the second lower bound, partition the set of items into three sets. Let α∈[1,W/2]∩ℕ and define ℐ1(α):={i∈ℐ|w(i)>W−α}, ℐ2(α):={i∈ℐ|W−α≥w(i)>W/2}, and ℐ3(α):={i∈ℐ|W/2≥w(i)>α}. Then it holds that OPT(I)≥maxα∈[1,W/2]∩ℕ{∑i∈ℐ1(α)∪ℐ2(α)h(i)+(∑i∈ℐ3(α)h(i)w(i)−∑i∈ℐ2(α)(W−w(i))h(i)W)+}, where (x)+:=max⁡{x,0} for each x∈ℝ. On the other hand, Steinberg has shown that the height of an optimal solution can be upper bounded by OPT(I)≤2max⁡{hmax(I),AREA(ℐ)/W}. More precisely he showed that given a W≥wmax(ℐ) and a H≥hmax(I) then the items ℐ can be placed inside a box with width W and height H if WH≥2AREA(ℐ)+(2wmax(ℐ)−W)+(2hmax(I)−H)+, where (x)+:=max⁡{x,0}.

Polynomial time approximation algorithms Since this problem is NP-hard, approximation algorithms have been studied for this problem. Most of the heuristic approaches have an approximation ratio between 3 and 2. Finding an algorithm with a ratio below 2 seems complicated, and the complexity of the corresponding algorithms increases regarding their running time and their descriptions. The smallest approximation ratio achieved so far is (5/3+ε).

Bottom-up left-justified (BL)

… excerpt ends here. Continue reading the full article.

Illustrations

Strip packing problem: An example for NFDH and FFDH applied to the same instance
An example for NFDH and FFDH applied to the same instance

Worked examples

Example 1 — a first encounter with Strip packing problem

Start with the simplest possible case. Write down what Strip packing problem claims or describes in one sentence, then invent the smallest concrete situation in which that sentence is true. In mathematics, the smallest case is usually a single object, a single equation or a single measurement. Check that every symbol or term in your sentence has a meaning in that case.

Example 2 — changing one variable

Take the situation from Example 1 and change exactly one quantity: double it, halve it, or set it to zero. Predict what should happen to Strip packing problem before you calculate. Comparing your prediction with the result is the fastest way to find out whether you understand the idea or only the words.

Example 3 — an exam-style question

Typical questions about Strip packing problem ask you to (a) state it precisely, (b) apply it to given data, and (c) explain a limitation. Practise writing all three answers in under five minutes; the third part is what separates a full-mark answer from an average one.

Applications of Strip packing problem

In research
Strip packing problem appears in mathematics research whenever the underlying quantities have to be modelled precisely. Papers usually cite it as a starting assumption and then explore where it breaks down.
In technology and industry
Engineering practice reuses Strip packing problem in design rules, simulations and safety margins. Knowing the idea lets you read a specification sheet and understand why the numbers look the way they do.
In the classroom
Strip packing problem is common in secondary-school and first-year university syllabi. It links to neighbouring topics Mathematical analysis, Packing problems, Strongly NP-complete problems, so understanding it makes those chapters shorter.
In everyday life
Look for Strip packing problem outside the textbook — in sport, cooking, traffic, electronics or the sky above you. An example you found yourself is remembered far longer than one you were given.
Ask Teacher Smith questions about this articleOpens your AI tutor with a question about “Strip packing problem” →

How to study Strip packing problem in 20 minutes

  1. Read the reference excerpt below once, without taking notes.
  2. Close the page and write down what Strip packing problem means in your own words.
  3. Compare your version with the excerpt and mark what you missed.
  4. Work through the three examples above with pen and paper.
  5. Explain Strip packing problem out loud to somebody else — or to Teacher Smith in the lgStudy chat.

Frequently asked questions

What is Strip packing problem in simple terms?

The strip packing problem is a 2-dimensional geometric minimization problem. Given a set of axis-aligned rectangles and a strip of bounded width and infinite height, determine an overlapping-free packing of the rectangles into the strip, minimizing its height.

Why does Strip packing problem matter?

Because it connects several mathematics ideas at once: it gives you a definition you can apply, a quantity you can calculate, and a way to check whether a result is plausible.

How should I study Strip packing problem?

Read the excerpt, restate it from memory, then work through the examples and applications listed on this page. The five-step study plan above takes about twenty minutes.

What does this page cover?

It gives you a compact reference excerpt plus original lgStudy explanations, examples, applications and study material on Strip packing problem.

Tags

  • Mathematical analysis
  • Packing problems
  • Strongly NP-complete problems

Keep exploring