Skip to main content

Structured Modeling with Blocks

  • Chapter
  • First Online:
Pyomo — Optimization Modeling in Python

Abstract

This chapter documents how to express hierarchically-structured models using Pyomo’s Block component. Many models contain significant hierarchical structure; that is, they are composed of repeated groups of conceptually related modeling components. Pyomo allows the modeler to define fundamental building blocks, and then construct the overall problem by connecting these building blocks together in an object-oriented manner. In this chapter, we describe the fundamental Block component along with common examples of its use, including repeated components and managing model scope.

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 39.99
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD 54.99
Price excludes VAT (USA)
  • Compact, lightweight edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info
Hardcover Book
USD 69.99
Price excludes VAT (USA)
  • Durable hardcover 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.

Author information

Authors and Affiliations

Authors

Rights and permissions

Reprints and permissions

Copyright information

© 2021 The Author(s), under exclusive license to Springer Nature Switzerland AG

About this chapter

Check for updates. Verify currency and authenticity via CrossMark

Cite this chapter

Bynum, M.L. et al. (2021). Structured Modeling with Blocks. In: Pyomo — Optimization Modeling in Python. Springer Optimization and Its Applications, vol 67 . Springer, Cham. https://doi.org/10.1007/978-3-030-68928-5_8

Download citation

Publish with us

Policies and ethics