Documentos de Académico
Documentos de Profesional
Documentos de Cultura
Engineering Optimization
Publication details, including instructions for authors and subscription information:
http://www.informaworld.com/smpp/title~content=t713641621
A ROLLING HORIZON HEURISTIC FOR REACTIVE
SCHEDULING OF BATCH PROCESS OPERATIONS
Ali Elkamel a; Atul Mohindra b
a
Department of Chemical Engineering, University of Kuwait, Safat, Kuwait
b
The Foxboro Company, Foxboro, MA, USA
Eng. Opt.. 1999. Vol 31. pp. 763-792 0 1999 OPA (Omwar Publishers Association) N.V.
Reprints available dirmly from !he publisher Publirhcd by liccnw undcr
Photocopying pcrmill~dby licrnw only the Gordon and Breach Scicncc
Publishers imprint.
Printed in Malaysia.
Batch chemical plants are dynamic processing facilities where static production
schedules can rarely be adhered to due to market and operating uncertainties. On-line
schedule modification of a prior; timing assignments and resource allocations in response
to unantipicated disruptions is done through a decomposition heuristic that uses a
rolling horizon implementation policy. An attempt is made to minimize the impact of the
disruptions on the original schedule near the point of each deviation while exploiting the
combinatorial flexibility of task and resource reassignments in future scheduling time
windows. The problem is addressed as a multiobjective optimization problem involving
completion time criteria, relative customer importance, and production cost considera-
tions.
A rigorous analysis of problem sensitive parameters, including penalty weights and
subhorizon length, is conducted. A model plant case study is performed. Variations on
storage availability and task flexibility are investigated in an attempt to characterize
dominant effects of the weighting parameters. Results indicate that user preference can
serve as a strong guide for obtaining near optimal reactive scheduling solutions. It is
shown that the combinatories can be controlled and that costly and inefficient full scale
rescheduling of multipurpose production facilities can be avoided.
INTRODUCTION
was taken by this approach and the impact of change on the old
schedule was not considered.
Kanakamedala et a/. [16] present an approach that goes beyond
E F U in terms of finding good feasible solutions to reactive scheduling
problems. They present a Least Impact (LI) heuristic that attempts to
minimize the number of deviations from the original schedule. This
heuristic is based on a beam search and gave a significant improve-
ment over the EFU heuristic for a relatively large plant structure. This
heuristic, however, is not readily adaptable to handle other plant
structures, and the authors call for further work in mathematical
programming that may result in a more rigorous reactive scheduling
framework.
The heuristic techniques described previously for solving the
reactive process scheduling problem tend to be either too broad-
based, such as that developed by Fox er al. [13], resulting in poor
solution quality, or too myopic, such as that developed by
Kanakamedala et a / . [16], resulting in a good, but problem specific
solution. In this paper, a mathematical programming based heuristic
for reactive scheduling is illustrated. This heuristic focuses on the
generation of quality solutions for a broad range of problems. It
combines heuristic rules with a mathematical scheduling technique
known to guarantee optimal solutions through an exact algorithm,
namely, branch and bound. At the time of a disturbance, or set of
disturbances, to the original schedule, the remainder of the
scheduling horizon is divided up into subhorizons of nonuniform
length. Each scheduling subhorizon is represented by an MlLP
formulation of the sequencing constraints and order due dates that
govern that time interval with an objective of keeping production
costs at a minimum.
The disturbances are absorbed into a schedule by being sequentially
forward shifted in time until they can be fully accommodated. This
leads to a multiobjective trade-off cost problem: preserve the schedule
as much as possible, subject to cost considerations, yet also allow
enough changes so that due dates are not missed and the associated
penalty costs are not incurred. This rolling horizon strategy makes it
possible to minimize the cost of changes. This is done by applying a
linear penalty function to the objective function of the M l L P
subproblems near the disturbances. When weighted properly, the
Downloaded By: [University of Waterloo] At: 18:30 10 October 2007
Batch Units
Continuous Units
Storage Vessels
Clearly the effect of these penalty terms would be to force the solver to
keep assignments as much as possible the same as originally planned.
However, such a simple function would oversimplify the reactive
Downloaded By: [University of Waterloo] At: 18:30 10 October 2007
Assignment Penalties
Continuous Units
where
t,, = Start time of event disruptive to the original schedule.
/I1= Subhorizon length of desired penalized interval.
(,: = Weighted penalty cost of starting task i o n batch u n i t j a t time t .
,JI; = Weighted penalty cost of starting task i o n continuous unit j a t
time I.
The constants oT and y: equal zero for the original assignment
times. In other words (17
= 0 at those times when Wv, = 1, and yT = 0
when Yii, = I in the original formulation solution. For those schedules
that are not generated using the same scheduling model, the original
assignment times are assigned formulation variable values correspond-
ing to a model solution. This assignment procedure is independent of
the algorithm o r heuristic rules used to generate the original schedule.
Batch Units
Continuous Units
whcre
B, = Set of allowed replacement units for each batch task i at each
time I.
C, = Set of allowed replacement units for each continuous task i at
each time t .
Downloaded By: [University of Waterloo] At: 18:30 10 October 2007
where
zT = Weighted penalty cost of storing state s in vessel j a t time 1.
I
where
SV, = Set of allowed storage vessels for each state s a t each time t .
7"
-I
= Weighted penalty cost of storing state s in unit j a t time 1.
Downloaded By: [University of Waterloo] At: 18:30 10 October 2007
where
B z w = Continuous variable representing batch size in the new
schedule.
B$* = Continuous value of theoriginal batch size in the unperturbed
schedule.
Equation (9) is nonlinear and would force the problem to become a
MINLP, which is usually more difficult to solve. In order to avoid the
nonlinearity, a construction is applied for linearizing absolute values
in the objective functions of optimization problems, as detailed by
Nemhauser and Wolsey [IS]. Two new continuous variables are added
to the objective function and one additional constraint is included
in the problem specification. Specifically, to overcome the difficulty
of preserving batch size, in addition to task-unit assignments, the
following additions to the previously described penalty function can be
made
where
cry
Vf
= Weighted penalty coefficient representing the cost of increasing
the size of a specific batch from its a priori assigned size.
a;: = Weighted penalty coefficient representing the cost of decreasing
the size of a specific batch from its a priori assigned size.
Positive continuous variable representing positive deviation
from original batch size.
Downloaded By: [University of Waterloo] At: 18:30 10 October 2007
where
ST,T= Set of stable states with allowed storage capacity in the plant.
zf;' = Weighted penalty coefficient representing the cost of storing an
amount of a specific state greater than a user specified amount.
2
-:, = Weighted penalty coefficient representing the cost of storing an
amount of a specific state less than a user specified amount.
p: = Positive continuous variable representing positive deviation from
desired storage level.
n: = Positive continuous variable representing negative deviation
from desired storage level.
Downloaded By: [University of Waterloo] At: 18:30 10 October 2007
desired
C C F ~-
rEST, 1
17: = F,,
Where
F:$" = Continuous variable representing amount of states stored a t
time t in the new schedule.
~ d c s i r e d= Constant specifying preferred storage level for state s at time
51
where
S T / = Set of states that can be purchased as feedstocks.
o $ = Weighted penalty coefficient representing the additional expense
incurred for purchasing an amount of state s greater than some
user specified amount at time r .
cr;; = Weighted penalty coefficient representing the additional expense
incurred for purchasing an amount of state s greater than some
user specified amount at time t .
p:, = Positivecontinuousvariable representingpositivedeviation from
desired purchasing level.
n f l = Positive continuous variable representing negative deviation
from desired purchasing level.
The constraint set must again be expanded to include
H'
C C p::"
TEST, I
+dl- = P,,
desired
Downloaded By: [University of Waterloo] At: 18:30 10 October 2007
where
P T W = Continuous variable representing amount of state s pur-
chased at time t in the new schedule.
p desired = purchasing level specified for states a t time t (possibly that of
.TI
IMPLEMENTATION STRATEGY
IMPLEMENTATION
%'
Scbcduliig Language
language and its inception can be found in the original manuscript. Its
user friendliness is the primary reason for incorporating the language
into the reactive scheduling interface. The main features of the
language that make its application practical are the ability to add new
keywords, the flexibility and ease of modifying problem parameters,
and its suitability to a decomposition strategy. Adding keywords that
have the effect of changing the objective function and constraint set
are essential to the MILP modification scheme of the preceding sec-
tions. The ease of modifying the scheduling parameters is the key to
the success of a rigorous sensitivity analysis. It facilitates modification
of penalty weights, as well as enabling storage, connectivity, and inter-
mediate stability specifications to be altered to force a given plant struc-
ture to have dominant features attributable to the problem classes
Downloaded By: [University of Waterloo] At: 18:30 10 October 2007
Test Problem
The state task network representation for this plant appears in Fig-
ure 3, and details of the plant tasks and equipment structure are outlines
in Table I. A large horizon length is chosen in order to demonstrate the
rolling horizon methodology. Note fromTable I that the processing time
is a function of the unit on which the task is performed. Each of the three
mixing tasks, three reaction tasks, and two drying tasks are allowed to
have two dimerent processing times. This feature adds to the
combinatorial complexity of the scheduling problem.
Downloaded By: [University of Waterloo] At: 18:30 10 October 2007
Note that disturbances that d o not have the same notification time are
not considered simultaneously.
At time 3, the first two disturbances are reported. The reactive
scheduling algorithm goes into effect and generates a new schedule to
accommodate the disruptions. The subhorizon length selection yielded
a time window of 23 time periods, which was set to be the flexible
region, subject to reassignment penalty costs. The remainder of the
schedule was solved without penalty costs in a time window of length
22. The reactive scheduling solution then becomes the operating
schedule for all times after time period 3. At time period 9, the next
disturbance is noticed and the heuristic is used again with the solution
Downloaded By: [University of Waterloo] At: 18:30 10 October 2007
from the first disturbances as its basis. The reactive scheduling for this
instance was done with two time windows of length 23, and 17, re-
spectively. Once again, the solution that is found becomes the plant
schedule and a final iteration of the procedure is simulated for a
simultaneous conflict of processing time deviation and unit unavail-
ability at time 29, which was solvable in one time window of length 22.
Figures 5 through 7 show the scheduling solutions obtained by the
heuristic procedure. Storage vessels are not represented in the pre-
ceding Gantt charts. Storage in processing vessels is illustrated by
shaded regions with the name of the stored state. Plain shaded regions
represent cleaning tasks. The tags on the processing tasks are the name
of the task that takes place and the corresponding batch size.
Note from Figure 5 that the new order disturbance is essentially
accommodated by executing some additional processing tasks after the
end of the original horizon. This can be attributed to the fact that the
model plant was already operating at bottleneck capacity and could
not acconlmodate a new order by increasing some intermediary lot
sizes. The second disturbance essentially introduces an urgency con-
dition on the production of a particular order. This immediately has
the effect of causing the solver to execute processing tasks as quickly as
possible to meet the new deadline. Note the increased use of storage
786 A. ELKAMEL A N D A. M O H l N D R A
TABLE VI Schedule modifications made after the first disturbance set (Net Penalty
Cost = 2.9899e+06)
Task Unir Start rime Amouni Time shift Barcll size chanpe
Reassigned
Reassigned
Reassigned
New task
New task
New task
New task
New task
New task
Downloaded By: [University of Waterloo] At: 18:30 10 October 2007
TABLE Vll Schedule modifications made after the second disturbance set (Net
Penalty Cost = 3.10459e+09)
Tnsk Unir Slnrt r i m Anrounr Time shilr Barcl~size chanee
Rxl '
Rx2'
ml'
m3
Rx3'
dl'
ml'
1112'
dl
d2
Rx l
Rx3
m2
dl
Rx3
d2 -400
m3' Reassigned
m3 Reassigned
Rx2 Reassigned
dl Reassigned
dl Reassigned
rnl New task
Rx l New task
d2 New task
d2 New task
d2 New task
TABLE Vlll Schedule modifications made after the third disturbance set (Net Penalty
Cost = 2.5133e+09)
T d Unir Srart rin~c Amount Time slrfi Barch size cl~nnge
-
dl D25 36 200 2
dl' D25 39 750 8
d2' D26 31 900 - 450
Rx I' R1 33 1875 I 875
Rx3' R3 32 1000 5 500
Rx2' R2 33 1875 - -625
m3' MI8 34 1000 I 625
m2' MI7 38 750 2
Rx3' R3 38 I500 6
Rxl' RI 41 2000 2 125
Rx3 R3 43 750 6 -750
d2 D26 36 300 - Re;~ssigned
d2 D26 39 500 - Reassigned
d2 D26 41 300 - Reassigned
d2 D26 45 375 - Reassigned
1111 MI6 31 1250 - New task
dl D25 42 300 - New task
dl D25 47 550 - New task
Downloaded By: [University of Waterloo] At: 18:30 10 October 2007
REACTIVE BATCH S C H E D U L I N G
Sensitivity Study
The purpose of this section is to discuss the effect of various model
parameters on the solutions obtained by the suggested rolling horizon
technique. The parameters that require testing are the subhorizon
length and the penalty parameters. In order to check the sensitivity of
solutions to the selection of each subhorizon cut, tests were performed
for the first disturbance set with the minimum cut taken to be the one
used to obtain the actual solution. Several runs were done, each time
increasing the subhorizon length of the first subproblem. It was found
that the length of the time window selected affects the outcome of the
reactive schedule modification. The main trend is that as the sub-
horizon length increases, the number and magnitude of task-time-unit
shifts decreases. It is also of note that complete task-unit-time reassign-
ments d o not take place as often in the penalized region. Rather, the
solver opts to make larger modifications in the future time windows
with the lowest penalty costs.
The sensitivity with respect to penalty parameters is checked by
definingschedulingproblem classes in order to distinguish those schedul-
ing problems that will have certain "dominating" features that should
make them insensitive to certain penalty parameter variations during
reactive scheduling. These are: the storage, the batch size, the resource
constrained the assignment constrained, and due-date dominated
classes. The storage dominated class represents schedules where storage
capacity is available and nearly all materials in the plant are stable over
nearly the entire scheduling horizon. The batch size dominated class
refers to right schedules where batch sizes are close to unit or bottleneck
capacities and/or fixed due to constraints on the merging and splitting of
batches. The resource constrained class represents schedules where
additional outside raw material purchasing is not allowed once
execution of the plan is underway. The assignment constrained class
involvesschedulesin which unit replacementsare not allowed and/or are
extremely costly. Finally, the due-date dominated class corresponds to
scheduling problems where the costs of missing order deadlines are
extremely high compared to other costs in the objective function.
The portion of the schedule after the third disturbance was selected
for sensitivity analysis. This portion is different from other points in
the schedule because it lies a t the edge of the flexible region and the
Downloaded By: [University of Waterloo] At: 18:30 10 October 2007
CONCLUSION
References
[6] Musier. R. Fitt and Evans, L. B. (1989). An approximate method ior the
production scheduling of industrial batch processes with parallel units. Conipt.
Chmrl. Big., 13, 229-238.
171 Pekny, J . F., Miller, D. L. and McRae, G. 5. (1990). An exact parallel algorithm for
scheduling when production costs depend on consecutive system states. Compr.
Cl~err~.Erig., 14, 1009- 1023.
[8] Wellons, M. C. and Reklaitis, G. V. (1989). Optimal schedulegeneration fora single-
product production, I-problem formulation. Compr. Chern. Dig., 13,201 -212.
[9] Kondili, E., Pantelides, C. C. and Sargent, R. W. H. (1988). A general algorithm
for scheduling batch operations. Proceedings, Third Inreniutionul Syriipo.~ilrn~ or!
Proccss Sj~sre~iis Erigirieering, Sydney. Australia, pp. 62-75.
[lo] Elkamel, A., Zentner, M., Pekny, J. F. and Reklaitis, G. V. (1997). A de-
composition heuristic for scheduling the general batch chemical plant, Erig. Opr.,
28, 299-330.
[I I] Elkmnel. A, and Al-Enezi, G. (1998). Structured valid inequalities and separation
in optimal scheduling of the resource-constrained batch chemical plant. Murh.
Engrifi I d . . h(4), 29 1-3 18.
[I21 Nof, S. Y., Rajan, V. N. and Frederick, S. W. (1990) Knowledge-based dynamic
real-time scheduling and rescheduling: A review and some annotated references.
Researcli Me~irororrrl~rrr~ No. 89-16, School of Industrial Engineering, Purdue
University, West Lahyelte, IN.
1131 Fox, M. S. and Smith, S. F. (1984). ISIS-A knowledge-based system for Factory
scheduling. E.vperr Sysrnris, I(]), 25-49.
[I41 Ow, P. S., Smith. S. F. and Thiriez, A. (1988). Reactive plan revision. Proc. Se~wirli
Nat7 Cortf. A / , MIT Press, Cambridge, Mass., pp. 77-82.
[I51 Cott. B. J. and Macchietto, S. (1989). Strategies for operating batch plants subject
to variability - 21 performance assessment. C l i o i ~ Erig.
. Res. Des., 67(6), 593-599.
1161 Kanakamedala, K. B., Reklaitis, G . V. and Venkata Subramanian, V. (1994).
Reactive scheduling modification in multipurpose batch chemical plants. lr~rlusrrial
ar~dEr~girleerhlgClremistry Research, 33(1), 77-90.
[I71 Elkamel, A,, Zentner, M. G., Pekny, J. F. and Reklaitis, G. V. (1992). An enhanced
uniform discritimtion model for the batchlsemi-continuous chen~ical plant
scheduling problem. C l P A C Report. School of Chemical Engineering, Purdue
University, West Lafayette, IN 47907. USA.
[I X] Nemhnuser, G. L. and Wolsey, L. A. (1988). Integer arrdComhinarori~~lOp~in~izatio~~.
Wiley, New York.
[I91 Zentner. M. G . , Elkamel, A,, Pekny, J . F. and Reklaitis. G. V. (1997). A language
for describing process scheduling problems. Conip. Chenl. E I I ~ .22(1-2),
, 125- 145.