Advertisement

Scripting

  • William E. Hart
  • Carl D. Laird
  • Jean-Paul Watson
  • David L. Woodruff
  • Gabriel A. Hackebeil
  • Bethany L. Nicholson
  • John D. Siirola
Chapter
  • 5.2k Downloads
Part of the Springer Optimization and Its Applications book series (SOIA, volume 67)

Abstract

This chapter illustrates the use of Python scripts for solution analysis, the development of high-level algorithms and custom workflows. We discuss how to script the standard workflow: build a model, solve the model, and then analyze the solution. Pyomo also supports development of high-level algorithms and complex workflows. This chapter also contains some larger examples, including a Sudoku solver. Together, these scripting examples illustrate how Pyomo users can go beyond the simple use of the pyomo command to formulate, solve, and analyze optimization models.

Keywords

Shell Solver Result Object Solver Status Python Script Solver Output 
These keywords were added by machine and not by the authors. This process is experimental and the keywords may be updated as the learning algorithm improves.

Preview

Unable to display preview. Download preview PDF.

Unable to display preview. Download preview PDF.

Copyright information

© Springer International Publishing AG 2017

Authors and Affiliations

  • William E. Hart
    • 1
  • Carl D. Laird
    • 1
  • Jean-Paul Watson
    • 1
  • David L. Woodruff
    • 2
  • Gabriel A. Hackebeil
    • 3
  • Bethany L. Nicholson
    • 1
  • John D. Siirola
    • 1
  1. 1.Sandia National LaboratoriesAlbuquerqueUSA
  2. 2.Graduate School of ManagementUniversity of California, DavisDavisUSA
  3. 3.Department of Industrial and Operations EngineeringUniversity of MichiganAnn ArborUSA

Personalised recommendations