ArticleslgStudy

science

Optimal job scheduling

Optimal job 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 Optimal job scheduling rather than just read about it. In short: Optimal job scheduling is a class of optimization problems related to scheduling. The inputs to such problems are a list of jobs (also called processes or tasks) and a list of machines (also called processors or workers).

Key takeaways

  • Optimal job 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 Optimal job scheduling to a quantity you can measure, compute or draw — that is where exam questions come from.
  • Reproduce the core statement of Optimal job scheduling from memory before moving on to harder problems.

Reference excerpt

Optimal job scheduling is a class of optimization problems related to scheduling. The inputs to such problems are a list of jobs (also called processes or tasks) and a list of machines (also called processors or workers). The required output is a schedule – an assignment of jobs to machines. The schedule should optimize a certain objective function. In the literature, problems of optimal job scheduling are often called machine scheduling, processor scheduling, multiprocessor scheduling, load balancing, or just scheduling. There are many different problems of optimal job scheduling, different in the nature of jobs, the nature of machines, the restrictions on the schedule, and the objective function. A convenient notation for optimal scheduling problems was introduced by Ronald Graham, Eugene Lawler, Jan Karel Lenstra and Alexander Rinnooy Kan. It consists of three fields: α, β and γ. Each field may be a comma separated list of words. The α field describes the machine environment, β the job characteristics and constraints, and γ the objective function. Since its introduction in the late 1970s the notation has been constantly extended, sometimes inconsistently. As a result, today there are some problems that appear with distinct notations in several papers.

Single-stage jobs vs. multi-stage jobs In the simpler optimal job scheduling problems, each job j consists of a single execution phase, with a given processing time pj. In more complex variants, each job consists of several execution phases, which may be executed in sequence or in parallel.

Machine environments In single-stage job scheduling problems, there are four main categories of machine environments:

1: Single-machine scheduling. There is a single machine. P: Identical-machines scheduling. There are m parallel machines, and they are identical. Job j takes time pj on any machine it is scheduled to. Q: Uniform-machines scheduling. There are m parallel machines, and they have different given speeds. Job j on machine i takes time pj/si. R: Unrelated-machines scheduling. There are m parallel machines, and they are unrelated – Job j on machine i takes time pij. These letters might be followed by the number of machines, which is then fixed. For example, P2 indicates that there are two parallel identical machines. Pm indicates that there are m parallel identical machines, where m is a fixed parameter. In contrast, P indicates that there are m parallel identical machines, but m is not fixed (it is part of the input). In multi-stage job scheduling problems, there are other options for the machine environments:

O: Open-shop problem. Every job j consists of m operations Oij for i=1,…,m. The operations can be scheduled in any order. Operation Oij must be processed for pij units on machine i. F: Flow-shop problem. Every job j consists of m operations Oij for i=1,…,m, to be scheduled in the given order. Operation Oij must be processed for pij units on machine i. J: Job-shop problem. Every job j consists of nj operations Okj for k=1,…,nj, to be scheduled in that order. Operation Okj must be processed for pkj units on a dedicated machine μkj with μkj≠μk′j for k≠k′.

Job characteristics All processing times are assumed to be integers. In some older research papers however they are assumed to be rationals.

pi=p, or pij=p: the processing time is equal for all jobs. pi=1, or pij=1: the processing time is equal to 1 time-unit for all jobs. rj: for each job a release time is given before which it cannot be scheduled, default is 0. online-rj: an online problem. Jobs are revealed at their release times. See online job scheduling. dj: for each job a due date is given. The idea is that every job should complete before its due date and there is some penalty for jobs that complete late. This penalty is denoted in the objective value. The presence of the job characteristic dj is implicitly assumed and not denoted in the problem name, unless there are some restrictions as for example dj=d, assuming that all due dates are equal to some given date. d¯j: for each job a strict deadline is given. Every job must complete before its deadline. pmtn: Jobs can be preempted and resumed possibly on another machine. Sometimes also denoted by 'prmp'. sizej: Each job comes with a number of machines on which it must be scheduled at the same time. The default is 1. This is an important parameter in the variant called parallel task scheduling.

Precedence relations Each pair of two jobs may or may not have a precedence relation. A precedence relation between two jobs means that one job must be finished before the other job. For example, if job i is a predecessor of job j in that order, job j can only start once job i is completed.

prec: There are no restrictions placed on the precedence relations. chains: Each job is the predecessor of at most one other job and is preceded by at most one other job. tree: The precedence relations must satisfy one of the two restrictions. intree: Each node is the predecessor of at most one other job. outtree: Each node is preceded by at most one other job. opposing forest: If the graph of precedence relations is split into connected components, then each connected component is either an intree or outtree. sp-graph: The graph of precedence relations is a series parallel graph. bounded height: The length of the longest directed path is capped at a fixed value. (A directed path is a sequence of jobs where each job except the last is a predecessor of the next job in the sequence.) level order: Each job has a level, which is the length of the longest directed path starting from that job. Each job with level k is a predecessor of every job with level k−1. interval order: Each job x has an interval [sx,ex) and job x is a predecessor of y if and only if the end of the interval of x is strictly less than the start of the interval for y.= In the presence of a precedence relation one might in addition assume time lags. The time lag between two jobs is the amount of time that must be waited after the first job is complete before the second job to begin. Formally, if job i precedes job j, then Ci+ℓij≤Sj must be true. If no time lag ℓij is specified then it is assumed to be zero. Time lags can also be negative. A negative time lag means that the second job can begin a fixed time before the first job finishes.

ℓ: The time lag is the same for each pair of jobs. ℓij: Different pairs of jobs can have different time lags.

… excerpt ends here. Continue reading the full article.

Worked examples

Example 1 — a first encounter with Optimal job scheduling

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

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

How to study Optimal job scheduling in 20 minutes

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

Frequently asked questions

What is Optimal job scheduling in simple terms?

Optimal job scheduling is a class of optimization problems related to scheduling. The inputs to such problems are a list of jobs (also called processes or tasks) and a list of machines (also called processors or workers).

Why does Optimal job 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 Optimal job 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 Optimal job scheduling.

Tags

  • Optimal scheduling

Keep exploring