Skip to main content

Incremental Computation of Resource-Envelopes in Producer-Consumer Models

  • Conference paper
Principles and Practice of Constraint Programming – CP 2003 (CP 2003)

Part of the book series: Lecture Notes in Computer Science ((LNCS,volume 2833))

Abstract

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 \(\mathcal{G}=\langle \mathcal{X}, \mathcal{E} \rangle\) has \(\mathcal{X}=\{X_0, X_1 \ldots X_n\}\) as the set of nodes corresponding to events (X 0 is the “beginning of the world” node and is assumed to be set to 0) and \(\mathcal{E}\) as the set of directed edges between them. A directed edge e = 〈X i , X j 〉 in \(\mathcal{E}\) is annotated with the simple temporal information [LB(e), UB(e)] indicating that a consistent schedule must have X j scheduled between LB(e) and UB(e) seconds after X i 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(X i ) 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 P s (t) (C s (t)). The goal is to build the envelope functions \(g(t) = max_{\{s \mbox{is a consistent schedule}\}} (P_s(t) -- C_s(t))\) and \(h(t) = min_{\{s \mbox{is a consistent schedule}\}} (P_s(t) - C_s(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.

This is a preview of subscription content, log in via an institution to check access.

Access this chapter

Chapter
USD 29.95
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
eBook
USD 84.99
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD 109.99
Price excludes VAT (USA)
  • Compact, lightweight edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info

Tax calculation will be finalised at checkout

Purchases are for personal use only

Institutional subscriptions

Preview

Unable to display preview. Download preview PDF.

Unable to display preview. Download preview PDF.

References

  1. Cormen, T.H., Leiserson, C.E., Rivest, R.L.: Introduction to Algorithms, Cambridge, MA (1990)

    Google Scholar 

  2. Laborie, P.: Algorithms for Propagating Resource Constraints in AI Planning and Scheduling: Existing Approaches and New Results. In: ECP 2001 (2001)

    Google Scholar 

  3. Muscettola, N.: On the Utility of Bottleneck Reasoning for Scheduling. In: AAAI 1994 (1994)

    Google Scholar 

  4. Muscettola, N.: Computing the Envelope for Stepwise-Constant Resource Allocations. In: Van Hentenryck, P. (ed.) CP 2002. LNCS, vol. 2470, p. 139. Springer, Heidelberg (2002)

    Chapter  Google Scholar 

  5. Smith, D., Frank, J., Jonsson, A.: Bridging the Gap Between Planning and Scheduling. Knowledge Engineering Review 15(1) (2000)

    Google Scholar 

  6. Nguyen, X., Kambhampati, S.: Reviving Partial Order Planning. In: IJCAI 2001 (2001)

    Google Scholar 

Download references

Author information

Authors and Affiliations

Authors

Editor information

Editors and Affiliations

Rights and permissions

Reprints and permissions

Copyright information

© 2003 Springer-Verlag Berlin Heidelberg

About this paper

Cite this paper

Kumar, T.K.S. (2003). Incremental Computation of Resource-Envelopes in Producer-Consumer Models. In: Rossi, F. (eds) Principles and Practice of Constraint Programming – CP 2003. CP 2003. Lecture Notes in Computer Science, vol 2833. Springer, Berlin, Heidelberg. https://doi.org/10.1007/978-3-540-45193-8_45

Download citation

  • DOI: https://doi.org/10.1007/978-3-540-45193-8_45

  • Publisher Name: Springer, Berlin, Heidelberg

  • Print ISBN: 978-3-540-20202-8

  • Online ISBN: 978-3-540-45193-8

  • eBook Packages: Springer Book Archive

Publish with us

Policies and ethics