Interleaved planning and scheduling employs the idea of extending partial plans by regularly heeding to the scheduling constraints during search. One of the techniques used to analyze scheduling and resource consumption constraints is to compute the so-called resource-envelopes. These envelopes can then be used to derive effective heuristics to guide the search for good plans and/or dispatch given plans optimally. The key to the success of this approach however, is in being able to recompute the envelopes incrementally as and when partial commitments are made. The resource-envelope problem in producer-consumer models is as follows: A directed graph G= has X={X0,X1…Xn} as the set of nodes corresponding to events (X0 is the "beginning of the world" node and is assumed to be set to 0) and E as the set of directed edges between them. A directed edge e= in E is annotated with the simple temporal information [LB(e), UB(e)] indicating that a consistent schedule must have Xj scheduled between LB(e) and UB(e) seconds after Xi is scheduled (LB(e)≤UB(e)). Some nodes (events) correspond physically to production or consumption of resources and are annotated with a real number r(Xi) indicating their levels of production or consumption of a given resource. Given a consistent schedule s for all the events, the total production (consumption) by time t is given by Ps(t) (Cs(t)). The goal is to build the envelope functions g(t)=max{s is a consistent schedule}(Ps(t)- - Cs(t)) and h(t)=min{s is a consistent schedule}(Ps(t) - Cs(t)). In this paper, we provide efficient incremental algorithms for the computation of g(t) and h(t), along with flexible consistent schedules that actually achieve them for any given time instant t.
[1]
Philippe Laborie,et al.
Algorithms for propagating resource constraints in AI planning and scheduling: Existing approaches and new results
,
2003,
Artif. Intell..
[2]
Subbarao Kambhampati,et al.
Reviving Partial Order Planning
,
2001,
IJCAI.
[3]
Nicola Muscettola,et al.
Computing the Envelope for Stepwise-Constant Resource Allocations
,
2002,
CP.
[4]
Nicolas Barnier,et al.
Solving the Kirkman's schoolgirl problem in a few seconds
,
2002
.
[5]
Nicola Muscettola,et al.
On the Utility of Bottleneck Reasoning for Scheduling
,
1994,
AAAI.
[6]
Ronald L. Rivest,et al.
Introduction to Algorithms
,
1990
.