ArticleslgStudy

mathematics

Identical-machines scheduling

Identical-machines scheduling 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 Identical-machines scheduling rather than just read about it. In short: Identical-machines scheduling is an optimization problem in computer science and operations research. We are given n jobs J1, J2, ..., Jn of varying processing times, which need to be scheduled on m identical machines, such that a certain objective function is optimized, for example, the makespan is minimized.

Key takeaways

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

Reference excerpt

Identical-machines scheduling is an optimization problem in computer science and operations research. We are given n jobs J1, J2, ..., Jn of varying processing times, which need to be scheduled on m identical machines, such that a certain objective function is optimized, for example, the makespan is minimized. Identical machine scheduling is a special case of uniform machine scheduling, which is itself a special case of optimal job scheduling. In the general case, the processing time of each job may be different on different machines; in the case of identical machine scheduling, the processing time of each job is the same on each machine. Therefore, identical machine scheduling is equivalent to multiway number partitioning. A special case of identical machine scheduling is single-machine scheduling. In the standard three-field notation for optimal job scheduling problems, the identical-machines variant is denoted by P in the first field. For example, " P|| C max {\displaystyle C_{\max }} " is an identical machine scheduling problem with no constraints, where the goal is to minimize the maximum completion time. In some variants of the problem, instead of minimizing the maximum completion time, it is desired to minimize the average completion time (averaged over all n jobs); it is denoted by P|| ∑ C i {\displaystyle \sum C_{i}} . More generally, when some jobs are more important than others, it may be desired to minimize a weighted average of the completion time, where each job has a different weight. This is denoted by P|| ∑ w i C i {\displaystyle \sum w_{i}C_{i}} .

Algorithms

Minimizing average and weighted-average completion time Minimizing the average completion time (P|| ∑ C i {\displaystyle \sum C_{i}} ) can be done in polynomial time. The SPT algorithm (Shortest Processing Time First), sorts the jobs by their length, shortest first, and then assigns them to the processor with the earliest end time so far. It runs in time O(n log n), and minimizes the average completion time on identical machines, P|| ∑ C i {\displaystyle \sum C_{i}} .

There can be many SPT schedules; finding the SPT schedule with the smallest finish time (also called OMFT – optimal mean finish time) is NP-hard. Minimizing the weighted average completion time is NP-hard even on identical machines, by reduction from the knapsack problem. It is NP-hard even if the number of machines is fixed and at least 2, by reduction from the partition problem. Sahni presents an exponential-time algorithm and a polynomial-time approximation scheme for solving both these NP-hard problems on identical machines:

Optimal average-completion-time; Weighted-average-completion-time.

Minimizing the maximum completion time (makespan) Minimizing the maximum completion time (P|| C max {\displaystyle C_{\max }} ) is NP-hard even for identical machines, by reduction from the partition problem. Many exact and approximation algorithms are known. Graham proved that:

Any list scheduling algorithm (an algorithm that processes the jobs in an arbitrary fixed order, and schedules each job to the first available machine) is a 2 − 1 / m {\displaystyle 2-1/m} approximation for identical machines. The bound is tight for any m. This algorithm runs in time O(n). The specific list-scheduling algorithm called Longest Processing Time First (LPT), which sorts the jobs by descending length, is a 4 / 3 − 1 / 3 m {\displaystyle 4/3-1/3m} approximation for identical machines. It is also called greedy number partitioning. Coffman, Garey and Johnson presented a different algorithm called multifit algorithm, using techniques from bin packing, which has an approximation factor of 13/11≈1.182. Huang and Lu presented a simple polynomial-time algorithm that attains an 11/9≈1.222 approximation in time O(m log m + n), through the more general problem of maximin-share allocation of chores. Sahni presented a PTAS that attains (1+ε)OPT in time O ( n ⋅ ( n 2 / ϵ ) m − 1 ) {\displaystyle O(n\cdot (n^{2}/\epsilon )^{m-1})} . It is an FPTAS if m is fixed. For m=2, the run-time improves to O ( n 2 / ϵ ) {\displaystyle O(n^{2}/\epsilon )} . The algorithm uses a technique called interval partitioning. Hochbaum and Shmoys presented several approximation algorithms for any number of identical machines (even when the number of machines is not fixed):

… excerpt ends here. Continue reading the full article.

Worked examples

Example 1 — a first encounter with Identical-machines scheduling

Start with the simplest possible case. Write down what Identical-machines scheduling 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 Identical-machines scheduling 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 Identical-machines scheduling 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 Identical-machines scheduling

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

Affiliate

Preply — study more efficiently by working with a personal tutor. 50% off.

How to study Identical-machines scheduling in 20 minutes

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

Frequently asked questions

What is Identical-machines scheduling in simple terms?

Identical-machines scheduling is an optimization problem in computer science and operations research. We are given n jobs J1, J2, ..., Jn of varying processing times, which need to be scheduled on m identical machines, such that a certain objective function is optimized, for example, the makespan i…

Why does Identical-machines scheduling 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 Identical-machines scheduling?

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 Identical-machines scheduling.

Tags

  • Number partitioning
  • Optimal scheduling

Keep exploring