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.
Buying options
Tax calculation will be finalised at checkout
Purchases are for personal use only
Learn about institutional subscriptionsPreview
Unable to display preview. Download preview PDF.
Author information
Authors and Affiliations
Rights and permissions
Copyright information
© 2017 Springer International Publishing AG
About this chapter
Cite this chapter
Hart, W.E. et al. (2017). 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-319-58821-6_8
Download citation
DOI: https://doi.org/10.1007/978-3-319-58821-6_8
Published:
Publisher Name: Springer, Cham
Print ISBN: 978-3-319-58819-3
Online ISBN: 978-3-319-58821-6
eBook Packages: Mathematics and StatisticsMathematics and Statistics (R0)