Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added the new pyomo fundamental tutorial #9

Open
wants to merge 7 commits into
base: main
Choose a base branch
from

Conversation

Hamtabardool
Copy link

I made the new turtorial to better understand the pyomo. Here are my commits:

  1. Provide more background on optimization: Explain the basics of optimization and how it relates to Pyomo.
  2. Explain the types of mathematical problems Pyomo is used for. Include details on LP, NLP, MILP, MINLP, stochastic programming, and other relevant types.
  3. Clarify the types of optimization models: Discuss the differences between concrete and abstract models in Pyomo.
  4. Outline the steps of optimization: Describe the process, including understanding the problem, modeling, framework selection, and choosing a solver.
  5. Include examples for each type of mathematical problem: Provide specific examples of LP, NLP, MILP, MINLP, and other models to illustrate how Pyomo can be utilized to solve such optimization problems.

@bernalde
Copy link
Member

Please adjust it according to this style guide before review:
https://jckantor.github.io/ND-Pyomo-Cookbook/notebooks/09.01-notebook-style-guide.html

Copy link
Member

@bernalde bernalde left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

There are a number of changes that need to be made here and propagated to all other notebooks herein.

  • Add internal links to sections in notebooks. There is an example in the QUBONotebooks for the installations instructions and also discussed here https://stackoverflow.com/questions/28080066/how-to-reference-a-ipython-notebook-cell-in-markdown and here https://sebastianraschka.com/Articles/2014_ipython_internal_links.html
  • Split the problem definition, from the solver definition. Also, we only need to import the packages once.
  • There is some instance where solvent instead of solver is used
  • The mixed-integer case is missing the objective function and constraints gradients
  • The MINLP is missing the grid
  • The lattice to color the figures is too sparse when plotting the constraints
  • In general, this is not a content of the summer school. Let's have this become the first chapter of another JupyterBook (maybe the one with Ben) and leave the Pyomo tutorial as it is.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

There are a number of changes that need to be made here and propagated to all other notebooks herein.

  • Add internal links to sections in notebooks. There is an example in the QUBONotebooks for the installations instructions and also discussed here https://stackoverflow.com/questions/28080066/how-to-reference-a-ipython-notebook-cell-in-markdown and here https://sebastianraschka.com/Articles/2014_ipython_internal_links.html
  • Split the problem definition, from the solver definition. Also, we only need to import the packages once.
  • There is some instance where solvent instead of solver is used
  • The mixed-integer case is missing the objective function and constraints gradients
  • The MINLP is missing the grid
  • The lattice to color the figures is too sparse when plotting the constraints
  • In general, this is not a content of the summer school. Let's have this become the first chapter of another JupyterBook (maybe the one with Ben) and leave the Pyomo tutorial as it is.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants