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.
Access this chapter
Tax calculation will be finalised at checkout
Purchases are for personal use only
Preview
Unable to display preview. Download preview PDF.
Author information
Authors and Affiliations
Rights and permissions
Copyright information
© 2021 The Author(s), under exclusive license to Springer Nature Switzerland AG
About this chapter
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
DOI: https://doi.org/10.1007/978-3-030-68928-5_8
Published:
Publisher Name: Springer, Cham
Print ISBN: 978-3-030-68927-8
Online ISBN: 978-3-030-68928-5
eBook Packages: Mathematics and StatisticsMathematics and Statistics (R0)