ArticleslgStudy

science

Job-shop scheduling

Job-shop scheduling is a science 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 Job-shop scheduling rather than just read about it. In short: Job-shop scheduling, the job-shop problem (JSP) or job-shop scheduling problem (JSSP) is an optimization problem in computer science and operations research. It is a variant of optimal job scheduling.

Key takeaways

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

Reference excerpt

Job-shop scheduling, the job-shop problem (JSP) or job-shop scheduling problem (JSSP) is an optimization problem in computer science and operations research. It is a variant of optimal job scheduling. In a general job scheduling problem, we are given n jobs J1, J2, ..., Jn of varying processing times, which need to be scheduled on m machines with varying processing power, while trying to minimize the makespan – the total length of the schedule (that is, when all the jobs have finished processing). In the specific variant known as job-shop scheduling, each job consists of a set of operations O1, O2, ..., On which need to be processed in a specific order (known as precedence constraints). Each operation has a specific machine that it needs to be processed on and only one operation in a job can be processed at a given time. A common relaxation is the flexible job shop, where each operation can be processed on any machine of a given set (the machines in each set are identical). The name originally came from the scheduling of jobs in a job shop, but the theme has wide applications beyond that type of instance. It is a well-known combinatorial optimization problem and was the first to undergo competitive analysis, introduced by Graham in 1966. The best problem instances for a basic model with a makespan objective are due to Taillard. In the standard three-field notation for optimal job scheduling problems, the job-shop variant is denoted by J in the first field. For example, the problem denoted by " J 3 | p i j | C max {\displaystyle J_{3}|p_{ij}|C_{\max }} " is a 3-machines job-shop problem with unit processing times, where the goal is to minimize the maximum completion time.

Problem variations Many variations of the problem exist, including the following:

Machines can have duplicates (flexible job shop with duplicate machines) or belong to groups of identical machines (flexible job shop). Machines can require a certain gap between jobs or no idle-time. Machines can have sequence-dependent setups. Objective function can be to minimize the makespan, the Lp norm, tardiness, maximum lateness etc. It can also be multi-objective optimization problem. Certain jobs must be completed before others can start (see workflow), and objectives may involve multiple-criteria. Set of jobs can relate to different set of machines. Deterministic (fixed) processing times or probabilistic processing times.

NP-hardness Since the traveling salesman problem is NP-hard, the job-shop problem with sequence-dependent setup is also NP-hard since the TSP is a special case of the JSP with a single job (the salesman in TSP) and the machines (the cities in TSP).

Problem representation The disjunctive graph is one of the popular models used for describing the job-shop scheduling problem instances. A mathematical statement of the problem can be made as follows: Let M = { M 1 , M 2 , … , M m } {\displaystyle M=\{M_{1},M_{2},\dots ,M_{m}\}} and J = { J 1 , J 2 , … , J n } {\displaystyle J=\{J_{1},J_{2},\dots ,J_{n}\}} be two finite sets. On account of the industrial origins of the problem, the M i {\displaystyle \displaystyle M_{i}} are called machines and the J j {\displaystyle \displaystyle J_{j}} are called jobs. Let X {\displaystyle \displaystyle \ {\mathcal {X}}} denote the set of all sequential assignments of jobs to machines, such that every job is done by every machine exactly once; elements x ∈ X {\displaystyle x\in {\mathcal {X}}} may be written as n × m {\displaystyle n\times m} matrices, in which column i {\displaystyle \displaystyle i} lists the jobs that machine M i {\displaystyle \displaystyle M_{i}} will do, in order. For example, the matrix

x = ( 1 2 2 3 3 1 ) {\displaystyle x={\begin{pmatrix}1&2\\2&3\\3&1\end{pmatrix}}}

… excerpt ends here. Continue reading the full article.

Worked examples

Example 1 — a first encounter with Job-shop scheduling

Start with the simplest possible case. Write down what Job-shop scheduling claims or describes in one sentence, then invent the smallest concrete situation in which that sentence is true. In science, 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 Job-shop 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 Job-shop 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 Job-shop scheduling

In research
Job-shop scheduling appears in science 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 Job-shop 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
Job-shop scheduling is common in secondary-school and first-year university syllabi. It links to neighbouring topics NP-complete problems, Optimal scheduling, so understanding it makes those chapters shorter.
In everyday life
Look for Job-shop 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 “Job-shop scheduling” →

Affiliate

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

How to study Job-shop scheduling in 20 minutes

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

Frequently asked questions

What is Job-shop scheduling in simple terms?

Job-shop scheduling, the job-shop problem (JSP) or job-shop scheduling problem (JSSP) is an optimization problem in computer science and operations research. It is a variant of optimal job scheduling.

Why does Job-shop scheduling matter?

Because it connects several science 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 Job-shop 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 Job-shop scheduling.

Tags

  • NP-complete problems
  • Optimal scheduling

Keep exploring