Pyomo – Optimization Modeling in Python Preface 1. Introduction 2. Pyomo Modeling Strategies 3. Model Components: Variables Objectives and Constraints 4. Model Components: Sets and Parameters 5. Mischellaneous Model Components and Utility Functions 6. Initializing Abstract Models with Data Command Files 7. The Pyomo Command Line Interface 8. Nonlinear Programming with Pyomo 9. Stochastic Programming Extensions 10. Scripting and Algorithm Development A. Installing Coopr B. A Brief Python Tutorial C. Pyomo and Coopr: The Bigger Picture Index. This book provides a complete and comprehensive guide to Pyomo (Python Optimization Modeling Objects) for beginning and advanced modelers including students at the undergraduate and graduate levels academic researchers and practitioners. Modeling is a fundamental process in many aspects of scientific research engineering and business. This text beautifully illustrates the breadth of the modeling capabilities that are supported by this new software and its handling of complex real world applications. Pyomo is an open source software package for formulating and solving large scale optimization problems. The software extends the modeling approach supported by modern AML (Algebraic Modeling Language) tools. Pyomo is a flexible extensible and portable AML that is embedded in Python a full featured scripting language. Python is a powerful and dynamic programming language that has a very clear readable syntax and intuitive object orientation. Pyomo includes Python classes for defining sparse sets parameters and variables which can be used to formulate algebraic expressions that define objectives and constraints. Moreover Pyomo can be used from a command line interface and within Pythons interactive command environment which makes it easy to create Pyomo models apply a variety of optimizers and examine solutions. The text begins with a tutorial on simple linear and integer programming models. Information needed to install and get started with the software is also provided. A detailed reference of Pyomos modeling components is illustrated with extensive examples including a discussion of how to load data from sources like spreadsheets and databases. The final chapters cover advanced topics such as nonlinear models stochastic models and scripting examples.