ArticleslgStudy

mathematics

Balanced number partitioning

Balanced number partitioning 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 Balanced number partitioning rather than just read about it. In short: Balanced number partitioning is a variant of multiway number partitioning in which there are constraints on the number of items allocated to each set. The input to the problem is a set of n items of different sizes, and two integers m, k.

Key takeaways

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

Reference excerpt

Balanced number partitioning is a variant of multiway number partitioning in which there are constraints on the number of items allocated to each set. The input to the problem is a set of n items of different sizes, and two integers m, k. The output is a partition of the items into m subsets, such that the number of items in each subset is at most k. Subject to this, it is required that the sums of sizes in the m subsets are as similar as possible. An example application is identical-machines scheduling where each machine has a job-queue that can hold at most k jobs. The problem has applications also in manufacturing of VLSI chips, and in assigning tools to machines in flexible manufacturing systems. In the standard three-field notation for optimal job scheduling problems, the problem of minimizing the largest sum is sometimes denoted by "P | # ≤ k | Cmax". The middle field "# ≤ k" denotes that the number of jobs in each machine should be at most k. This is in contrast to the unconstrained version, which is denoted by "P∥Cmax".

Two-way balanced partitioning A common special case called two-way balanced partitioning is when there should be two subsets (m = 2). The two subsets should contain floor(n/2) and ceiling(n/2) items. It is a variant of the partition problem. It is NP-hard to decide whether there exists a partition in which the sums in the two subsets are equal; see problem [SP12]. There are many algorithms that aim to find a balanced partition in which the sum is as nearly-equal as possible.

Coffman, Frederickson and Lueker present a restricted version of the LPT algorithm (called RLPT), in which inputs are assigned in pairs. When inputs are uniformly-distributed random variables, the expected largest sum of RLPT is exactly n4+12n+2. The expected work-difference (difference between largest and smallest sum) is Θ(1/n). Lueker presents a variant of the LDM algorithm (called the pairwise differencing method (PDM)). Its expected work-difference is Θ(1/n). Tsai presents an algorithm called Restricted Largest Difference (RLD). Its work-difference is O(log⁡n/n2) almost surely. Yakir presents a balanced variant of the LDM algorithm for m = 2, called BLDM. Its expected work-difference is n−Θ(log⁡n). Mertens presents a complete anytime algorithm for balanced two-way partitioning. It combines the BLDM algorithm with the complete-Karmarkar–Karp algorithm.

Balanced triplet partitioning Another special case called 3-partitioning is when the number of items in each subset should be at most 3 (k = 3). Deciding whether there exists such a partition with equal sums is exactly the 3-partition problem, which is known to be strongly NP-hard. There are approximation algorithms that aim to find a partition in which the sum is as nearly-equal as possible.

Kellerer and Woeginger adapt the LPT algorithm to triplet partitioning (where there are at most 3*m items, and each subset should contain at most 3 items). Their algorithm is called modified-LPT or MLPT. It orders the items from large to small, and puts each item in turn into the bin with the smallest sum among those bins that contain fewer than 3 items. They show that the MLPT algorithm attains at most 4m−13m of the minimum largest sum, which is the same approximation ratio that LPT attains for the unconstrained problem. The bound is tight for MLPT. Chen, He and Lin show that, for the same problem, MLPT attains at least 3m−14m−2 of the maximum smallest sum, which is again the same ratio that LPT attains for the unconstrained problem. Kellerer and Kotov present a different algorithm (for the case with exactly 3*m items), that attains at most 7/6 of the minimum largest sum.

Balanced partitioning with larger cardinalities A more general case, called k-partitioning, is when the number of items in each subset should be at most k, where k can be any positive integer..

… excerpt ends here. Continue reading the full article.

Worked examples

Example 1 — a first encounter with Balanced number partitioning

Start with the simplest possible case. Write down what Balanced number partitioning 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 Balanced number partitioning 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 Balanced number partitioning 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 Balanced number partitioning

In research
Balanced number partitioning 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 Balanced number partitioning 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
Balanced number partitioning is common in secondary-school and first-year university syllabi. It links to neighbouring topics Number partitioning, so understanding it makes those chapters shorter.
In everyday life
Look for Balanced number partitioning 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 “Balanced number partitioning” →

How to study Balanced number partitioning in 20 minutes

  1. Read the reference excerpt below once, without taking notes.
  2. Close the page and write down what Balanced number partitioning 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 Balanced number partitioning out loud to somebody else — or to Teacher Smith in the lgStudy chat.

Frequently asked questions

What is Balanced number partitioning in simple terms?

Balanced number partitioning is a variant of multiway number partitioning in which there are constraints on the number of items allocated to each set. The input to the problem is a set of n items of different sizes, and two integers m, k.

Why does Balanced number partitioning 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 Balanced number partitioning?

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 Balanced number partitioning.

Tags

  • Number partitioning

Keep exploring