scispace - formally typeset
Search or ask a question
Journal ArticleDOI

Job Shop Scheduling by Simulated Annealing

01 Jan 1992-Operations Research (INFORMS)-Vol. 40, Iss: 1, pp 113-125
TL;DR: In this article, an approximation algorithm for the problem of finding the minimum makespan in a job shop is presented, which is based on simulated annealing, a generalization of the well known iterative improvement approach to combinatorial optimization problems.
Abstract: We describe an approximation algorithm for the problem of finding the minimum makespan in a job shop. The algorithm is based on simulated annealing, a generalization of the well known iterative improvement approach to combinatorial optimization problems. The generalization involves the acceptance of cost-increasing transitions with a nonzero probability to avoid getting stuck in local minima. We prove that our algorithm asymptotically converges in probability to a globally minimal solution, despite the fact that the Markov chains generated by the algorithm are generally not irreducible. Computational experiments show that our algorithm can find shorter makespans than two recent approximation approaches that are more tailored to the job shop scheduling problem. This is, however, at the cost of large running times.

Summary (2 min read)

Now consider the sequence of configurations constituting the Markov chain associated with P(c).

  • Either the Markov chain starts in a transient configuration or it does not, also known as There are two possibilities.
  • This is a three-parameter schedule: the parameters xo and € 8 determine the initial and final value of the control parameter, respectively, whereas the decrement rule depends on a parameter 8, hereinafter referred to as the distance parameter.
  • Finally, for each instance the length of the Markov chains is set to the size of the largest neighbourhood.
  • Such a result with respect to the efficiency of the algorithm is only worthwhile in combination with results on its effectivity, viz.
  • For the job shop scheduling problem, the authors present an empirical analysis of the effElctivity and efficiency of simulated annealing in §4, but first the application of simulated annealing to the job shop scheduling problem is discussed in more detail.

(i) Configurations

  • The authors recall from §1 that they can solve the job shop scheduling problem by considering sets of machine permutations and by determining, for such a set of permutations, the longest path in the digraph which results from giving the edges in the disjunctive graph the orientations determined by the permutations.
  • In other words, Di is the digraph obtained from the disjunctive graph by giving the edges in E the orientations resulting from ITi; the digraph Di can be obtained from Di by taking only those arcs from Jj]i that connect successive operations on the same machine.
  • Thus, the authors exclude beforehand some non-cost-decreasing transitions and, in addition, all transitions that might result in a cyclic digraph.
  • The neighbourhood structure is such that the algorithm visits only digraphs corresponding to feasible solutions.
  • Thus, to prove asymptotic convergence, the authors must show that for each configuration i there is a finite sequence of transitions leading from i to some globally minimal configuration.

Proof

  • The proof consists of two parts: first, the authors show that Ei always contains critical arcs, unless i E Rapti next that there are always critical arcs in Ei that do not belong to Eio unless again i E Rapt.
  • The sequence of machines for each job is such that lower-numbered machines tend to be used for earlier operations.
  • Table I and Table II also contain for each instance the cost value of the best solution obtained by Adams, Balas and Zawack (1988) .
  • The corresponding computation times are obtained by halving the CPU times in Adams, Balas and Zawack (1988) , since these correspond to a VAX-780.

5 Conclusion

  • The probabilistic element of the algorithm (the acceptance of cost-increasing transitions with a non-zero probability) makes simulated annealing a significantly better approach than the iterative improvement approach on which it is based.
  • The difference is especially pronounced for large problem instances.
  • Furthermore, the algorithm has a potential for finding shorter makespans than other approximation algorithms discussed in the literature, but a sufficient amount of computation time to realize this potential is usually quite large.
  • Average cost of best solution , average computation time in seconds (t), standard deviations (uo and Ut, respectively), cost of best solution , number of local minima per macrorun of iterative improvement (lm) and % of average best cost value above globally minimal cost value.
  • Provably globally minimal solutions are marked with an asterisk.

Did you find this useful? Give us your feedback

Content maybe subject to copyright    Report

Centrum voor Wiskunde en lnformatica
Centre
for
Mathematics
and
Computer
Science
P.J.M.
van
Laarhoven,
E.H.L.
Aarts,
J.K.
Lenstra
Job
shop
scheduling
by
simulated
annealing
,
Department
of
Operations
Research
and
System
Theory
Report
OS-R8809
July
Bibfiothf!of>J;
Centrum
vocr
',\ ;
..
.r.:;
"":"
e,
1
lnformaUca;
/o'JT1$lt<1cJ<;rT>

The Centre for Mathematics and Computer Science
is
a research institute of the Stichting
Mathematisch Centrum, which was founded on February
11
. 1946,
as
a nonprofit institution aim-
ing at the promotion of mathematics. computer science, and their applications.
It
is
sponsored by
the Dutch Government through the Netherlands Organization for the Advancement of Pure
Research (Z.W.0.).
Copyright
© Stichting Mathematisch Centrum, Amsterdam

Job
Shop
Scheduling
by
Simulated
Annealing
Peter
J.M.
van
Laarhoven
Philips
Research
Laboratories,
P.O.
Box
BO.OOO,
5600
JA
Eindhoven,
The
Netherlands
Emile
H.L.
Aarts
Philips
Research
Laboratories,
P.O.
Box
BO.OOO,
5600
JA
Eindhoven,
The
Netherlands;
Department
of
Mathematics
and
Computing
Science,
Eindhoven
University
of
Technology,
P.O.
Box513, 5600MBEindhoven,
The
Netherlands
Jan
Karel
Lenstra
Centre
for
Mathematics
and
Computer
Science,
P.
0.
Box
4079,
1009
AB
Amsterdam,
The
Netherlands;
Econometric
Institute,
Erasmus
University,
P.O.
Box
173B,
3000
DR
Rotterdam,
The
Netherlands
We
describe
an
approximation
algorithm
for
the
problem
of
finding
the
minimum
makespan
in
a
job
shop.
The
algorithm
is
based
on
simulated
annealing,
a
gen-
eralization
of
the
well-known
iterative
improvement
approach
to
combinatorial
optimization
problems.
The
generalization
implies
the
acceptance
of
cost-
increasing
transitions
with
a
non-zero
probability
so
as
to
avoid
getting
stuck
in
local
minima.
We
prove
that
our
algorithm
asymptotically
converges
in
probability
to
a
glo-
bally
minimal
solution,
despite
the
fact
that
the
Markov
chains
generated
by
the
algorithm
are
generally
not
irreducible.
Computational
experiments
show
that
our
algorithm
can
find
shorter
make-
spans
than
tailored
heuristics
for
this
problem,
at
the
expense
of
larger
computa-
tion
times.
19BO
Mathematics
Subject
Classification
(19B5
Revision):
90835,
90C27.
Key
Words
&
Phrases.
job
shop
scheduling,
probabilistic
algorithms,
simulated
annealing.
Note-.
This
paper
has
been
submitted
for
publication.
In
this
paper
we are concerned
with
a problem
in
machine scheduling, which
is known as
the
job shop scheduling problem
(Coffman 1976, French 1982).
Informally,
the
problem
can
be described as follows.
We
are
given a
set
of
jobs
and
a
set
of machines. Each
job
consists
of
a chain
of
operations,
each
of
which needs
to
be processed
during
an
uninterrupted
time
period
of
a
given
length
on
a given machine. Each machine
can
process
at
most
one
operation
at
a time.
The
problem is
to
find a
schedule,
i.e.
an
allocation
of
Report
OS-R8809
Centre
for
Mathematics
and
Computer
Science
P.O.
Box
4079,
1009
AB
Amsterdam,
The
Netherlands

the
operations
to
time
intervals on
the
machines,
that
has
minimum
length.
A precise formulation of
the
problem is given in §1.
The
job
shop
scheduling problem is among
the
hardest
combinatorial
opti-
mization
problems;
not
only is
it
}./
P-hard,
but
even among
the
members
of
the
latter
class
it
belongs
to
the
more difficult ones (Lawler,
Lenstra
and
Rinnooy
Kan
1982). Optimization algorithms for
job
shop
scheduling pro-
ceed by
branch
and
bound, see for instance Lageweg,
Lenstra
and
Rinnooy
Kan
{1977),
Carlier
and
Pinson
{1988).
Most
approximation algorithms use
a
priority
rule, i.e. a rule for choosing
an
operation
from a specified
subset
of
as
yet
unscheduled operations.
Adams,
Balas
and
Zawack (1988) developed
a shifting bottleneck procedure, which employs
an
ingeneous
combination
of
schedule
construction
and
iterative
improvement, guided by solutions
to
single-machine problems. In this
paper
we describe
an
alternative
approach,
known as
simulated annealing (Kirkpatrick,
Gelatt
and
Vecchi 1983, Cerny
1985). Simulated annealing
can
be viewed as a generalization
of
iterative
improvement
and
is described
in
more
detail
in §2.
In
§3
we describe
the
application of simulated annealing
to
job
shop
schedul-
ing. We prove
asymptotic
convergence
of
the
algorithm
to
a globally minimal
solution
by showing
that
the
neighbourhood
structure
is such
that
each er-
godic
set
contains
at
least one global minimum. §4
contains
the
results
of
a
computational
study, in which
simulated
annealing is used
to
find approxi-
mate
solutions
to
a large
set
of
instances of
the
job
shop scheduling problem.
We
show
that
simulated annealing performs slightly
better
than
the
shifting
bottleneck
procedure
with
respect
to
the
length
of
the
schedules
returned
by
the
algorithm,
though
computation
times
can
be (very) long.
We
end
this
paper
with
some concluding remarks.
1
The
Problem
We
are
given a
set
J
of
n
jobs,
a
set
.M
of
m machines,
and
a
set
0
of
N
operations.
For each
operation
v E 0
there
is a
job
Jv
E J
to
which
it
belongs, a machine
Mv
E .Mon which
it
requires processing,
and
a processing
time
tv
E
IN.
There
is a binary relation
~
on
0
that
decomposes 0
into
chains corresponding
to
the
jobs; more specifically, if v
~
w,
then
Jv
=
Jw
and
there
is no x
€/:.
{ v,
w}
such
that
v
~
x
or
x
~
w.
The
problem
is
to
find a
start
time
Sv
for each
operation
v E 0 such
that
max
Sv +
tv,
vEO
2
(1)

is minimized
subject
to
Bv
2:
O,
Vv
E
0
{2)
Bw
-
Bv
2:
tv,
if
V
-t
w,
v,
WE
0
{3)
Bw
-
Bv
2:
tv
V
Bv
-
Bw
2::
tw,
if
Mv
=
Mw,
V,
W
E
0 (
4)
It
is useful
to
represent
the
problem
by
the
disjunctive graph
model
of
Roy
and
Bussmann
(1964).
The
disjunctive
graph
G = (V,
A,
E)
is defined as
follows:
V
=
Ou{O,
N
+1},
where
0
and
N
+1
are
two
fictitious
operations;
the
weight
of
a
vertex
vis
given by
the
processing time
tv
(to=
tN+l
=
0).
A=
{(v,w)I
v,w
E
O,v
-t
w}
U
{(O,w)I
w
E
0,
~
v
E
0:
v
-t
w}
U
{(v, N
+
1)1
v
E
0,
~
w
E
0 :
v
-t
w}.
Thus,
A
contains
arcs connect-
ing consecutive
operations
of
the
same
job,
as well as arcs
from
0
to
the
first
operation
of
each
job
and
from
the
last
operation
of
each
job
to
N
+
1.
E
=
{{
v,
w}
I
Mv
=
Mw}.
Thus,
edges in
E
connect
operations
to
be
processed by
the
same
machine.
Figure
1
illustrates
the
disjunctive
graph
for a 3-job 3-machine
instance,
where
each
job
consists
of
three
operations.
For
each
pair
of
operations
v,
w
E
0
with
v
-t
w,
condition
(3) is
represented
by
an
arc
(v,w)
in
A.
Similarly, for each
pair
of
operations
v,w
E
0
with
Mv
=
Mw,
the
disjunctive
constraint
( 4) is represented by
an
edge {
v,
w}
in
E,
and
the
two ways
to
settle
the
disjunction correspond
to
the
two
possible
orientations
of
the
edge.
There
is
an
obvious one-to-one correspondence
between a
set
of
choices
in
(
4)
that
is overall feasible
and
an
orientation
of
all
the
edges
in
E
for which
the
resulting
digraph
is acyclic.
The
objective
value
(the
makespan)
of
the
corresponding
solution
is given by
the
length
of
a longest
path
in
this
digraph. Such a
set
of
orientations
decomposes
0
into
chains corresponding
to
the
machines, i.e.,
it
defines for each machine
an
ordering
or
permutation
of
the
operations
to
be
processed by
that
machine.
Conversely, a
set
of
machine
permutations
defines a
set
of
orientations
of
the
edges
in
E,
though
not
necessarily one which results in
an
acyclic
digraph.
Since
the
longest
path
in a cyclic
digraph
has
infinite
length,
we
can
now
rephrase
the
problem
as: find a
set
of
machine
permutations
that
minimizes
the
longest
path
in
the
resulting digraph.
In
§3
we use
this
formulation
of
the
problem
to
find
approximate
solutions by
simulated
annealing.
3

Citations
More filters
Journal ArticleDOI
TL;DR: A survey of the nowadays most important metaheuristics from a conceptual point of view and introduces a framework, that is called the I&D frame, in order to put different intensification and diversification components into relation with each other.
Abstract: The field of metaheuristics for the application to combinatorial optimization problems is a rapidly growing field of research. This is due to the importance of combinatorial optimization problems for the scientific as well as the industrial world. We give a survey of the nowadays most important metaheuristics from a conceptual point of view. We outline the different components and concepts that are used in the different metaheuristics in order to analyze their similarities and differences. Two very important concepts in metaheuristics are intensification and diversification. These are the two forces that largely determine the behavior of a metaheuristic. They are in some way contrary but also complementary to each other. We introduce a framework, that we call the I&D frame, in order to put different intensification and diversification components into relation with each other. Outlining the advantages and disadvantages of different metaheuristic approaches we conclude by pointing out the importance of hybridization of metaheuristics as well as the integration of metaheuristics and other methods for optimization.

3,287 citations

Proceedings ArticleDOI
22 Jun 2001
TL;DR: The development of a new complete solver, Chaff, is described which achieves significant performance gains through careful engineering of all aspects of the search-especially a particularly efficient implementation of Boolean constraint propagation (BCP) and a novel low overhead decision strategy.
Abstract: Boolean satisfiability is probably the most studied of the combinatorial optimization/search problems. Significant effort has been devoted to trying to provide practical solutions to this problem for problem instances encountered in a range of applications in electronic design automation (EDA), as well as in artificial intelligence (AI). This study has culminated in the development of several SAT packages, both proprietary and in the public domain (e.g. GRASP, SATO) which find significant use in both research and industry. Most existing complete solvers are variants of the Davis-Putnam (DP) search algorithm. In this paper we describe the development of a new complete solver, Chaff which achieves significant performance gains through careful engineering of all aspects of the search-especially a particularly efficient implementation of Boolean constraint propagation (BCP) and a novel low overhead decision strategy. Chaff has been able to obtain one to two orders of magnitude performance improvement on difficult SAT benchmarks in comparison with other solvers (DP or otherwise), including GRASP and SATO.

2,886 citations

Book ChapterDOI
01 Jan 1995
TL;DR: Computational bounds for local search in combinatorial local search algorithms for Combinatorial problems local searchgorithms for solving the combinatoric a dual local search framework for combinatorials the max-min ant system and local search for combinatorsial a framework for local combinatoria optimization problems localSearch in combinatorship optimization radarx heuristics and localsearch paginas.
Abstract: computational bounds for local search in combinatorial local search algorithms for combinatorial problems local search algorithms for solving the combinatorial a dual local search framework for combinatorial the max-min ant system and local search for combinatorial a framework for local combinatorial optimization problems local search in combinatorial optimization mifou local search in combinatorial optimization radarx heuristics and local search paginas.fe.up local search in combinatorial optimization banani local search in combinatorial optimization integrating interval estimates of global optima and local local search in combinatorial optimization holbarto a fuzzy valuation-based local search framework for local search in combinatorial optimization gbv gentle introduction to local search in combinatorial e cient local search for several combinatorial introduction: combinatorial problems and search on application of the local search optimization online local search for combinatorial optimisation problems how to choose solutions for local search in multiobjective a hybrid of inference and local search for distributed on set-based local search for multiobjective combinatorial localsolver: black-box local search for combinatorial on local optima in multiobjective combinatorial sets of interacting scalarization functions in local introduction e r optimization online estimation-based local search for stochastic combinatorial advanced search combinatorial problems sas/or user's guide: local search optimization how easy is local search? univerzita karlova metaheuristic search for combinatorial optimization local search genetic algorithms for the job shop towards a formalization of combinatorial local search dynamic and adaptive neighborhood search in combinatorial global search in combinatorial optimization using a framework for the development of local search heuristics a feasibility-preserving local search operator for hybrid metaheuristics in combinatorial optimization: a survey consultant-guided search algorithms with local search for a new optimization algorithm for combinatorial problems hybrid metaheuristics in combinatorial optimization: a survey network algorithms colorado state university model-based search for combinatorial optimization: a local and global optimization stochastic local search algorithms for multiobjective corso (collaborative reactive search optimization local search in combinatorial optimization zaraa

1,055 citations

Journal ArticleDOI
TL;DR: A hierarchical algorithm for the flexible job shop scheduling problem is described, based on the tabu search metaheuristic, which allows to adapt the same basic algorithm to different objective functions.
Abstract: A hierarchical algorithm for the flexible job shop scheduling problem is described, based on the tabu search metaheuristic. Hierarchical strategies have been proposed in the literature for complex scheduling problems, and the tabu search metaheuristic, being able to cope with different memory levels, provides a natural background for the development of a hierarchical algorithm. For the case considered, a two level approach has been devised, based on the decomposition in a routing and a job shop scheduling subproblem, which is obtained by assigning each operation of each job to one among the equivalent machines. Both problems are tackled by tabu search. Coordination issues between the two hierarchical levels are considered. Unlike other hierarchical schemes, which are based on a one-way information flow, the one proposed here is based on a two-way information flow. This characteristic, together with the flexibility of local search strategies like tabu search, allows to adapt the same basic algorithm to different objective functions. Preliminary computational experience is reported.

874 citations

Proceedings ArticleDOI
04 Nov 2001
TL;DR: This paper generalizes various conflict driven learning strategies in terms of different partitioning schemes of the implication graph to re-examine the learning techniques used in various SAT solvers and propose an array of new learning schemes.
Abstract: One of the most important features of current state-of-the-art SAT solvers is the use of conflict based backtracking and learning techniques. In this paper, we generalize various conflict driven learning strategies in terms of different partitioning schemes of the implication graph. We re-examine the learning techniques used in various SAT solvers and propose an array of new learning schemes. Extensive experiments with real world examples show that the best performing new learning scheme has at least a 2/spl times/ speedup compared with learning schemes employed in state-of-the-art SAT solvers.

848 citations

References
More filters
Journal ArticleDOI
13 May 1983-Science
TL;DR: There is a deep and useful connection between statistical mechanics and multivariate or combinatorial optimization (finding the minimum of a given function depending on many parameters), and a detailed analogy with annealing in solids provides a framework for optimization of very large and complex systems.
Abstract: There is a deep and useful connection between statistical mechanics (the behavior of systems with many degrees of freedom in thermal equilibrium at a finite temperature) and multivariate or combinatorial optimization (finding the minimum of a given function depending on many parameters). A detailed analogy with annealing in solids provides a framework for optimization of the properties of very large and complex systems. This connection to statistical mechanics exposes new information and provides an unfamiliar perspective on traditional optimization problems and methods.

41,772 citations

Journal ArticleDOI
TL;DR: This clearly written, mathematically rigorous text includes a novel algorithmic exposition of the simplex method and also discusses the Soviet ellipsoid algorithm for linear programming; efficient algorithms for network flow, matching, spanning trees, and matroids; the theory of NP-complete problems; approximation algorithms, local search heuristics for NPcomplete problems, more.
Abstract: This clearly written , mathematically rigorous text includes a novel algorithmic exposition of the simplex method and also discusses the Soviet ellipsoid algorithm for linear programming; efficient algorithms for network flow, matching, spanning trees, and matroids; the theory of NP-complete problems; approximation algorithms, local search heuristics for NPcomplete problems, more All chapters are supplemented by thoughtprovoking problems A useful work for graduate-level students with backgrounds in computer science, operations research, and electrical engineering Mathematicians wishing a self-contained introduction need look no further—American Mathematical Monthly 1982 ed

7,221 citations

Book
30 Jun 1987
TL;DR: Performance of the simulated annealing algorithm and the relation with statistical physics and asymptotic convergence results are presented.
Abstract: 1 Introduction.- 2 Simulated annealing.- 3 Asymptotic convergence results.- 4 The relation with statistical physics.- 5 Towards implementing the algorithm.- 6 Performance of the simulated annealing algorithm.- 7 Applications.- 8 Some miscellaneous topics.- 9 Summary and conclusions.

3,645 citations

Book
01 Jan 1968
TL;DR: The authors introduce probability theory for both advanced undergraduate students of statistics and scientists in related fields, drawing on real applications in the physical and biological sciences, and make probability exciting." -Journal of the American Statistical Association
Abstract: This classic text and reference introduces probability theory for both advanced undergraduate students of statistics and scientists in related fields, drawing on real applications in the physical and biological sciences. The book makes probability exciting." -Journal of the American Statistical Association

3,592 citations

Journal ArticleDOI
TL;DR: It is conjecture that the analogy with thermodynamics can offer a new insight into optimization problems and can suggest efficient algorithms for solving them.
Abstract: We present a Monte Carlo algorithm to find approximate solutions of the traveling salesman problem. The algorithm generates randomly the permutations of the stations of the traveling salesman trip, with probability depending on the length of the corresponding route. Reasoning by analogy with statistical thermodynamics, we use the probability given by the Boltzmann-Gibbs distribution. Surprisingly enough, using this simple algorithm, one can get very close to the optimal solution of the problem or even find the true optimum. We demonstrate this on several examples. We conjecture that the analogy with thermodynamics can offer a new insight into optimization problems and can suggest efficient algorithms for solving them.

3,061 citations