How to Use Pyomo
摘要
This chapter provides essential knowledge about how to use the Pyomo optimization library in Python programming language; Basic knowledge of Python is required to follow the codes but the reader is not required to be familiar with the Pyomo library. It starts with an explanation of the main parts of an optimization problem which are variables, bounds, sets, objective function(s), and constraints. After that, six sample optimization problems that are categorized into four groups are presented and solved using Pyomo. All the required concepts to use this book are covered in this chapter.