SECQUOIA / pyomo-summer-ws

Pyomo summer workshop 2018 with latest version of Pyomo
https://secquoia.github.io/pyomo-summer-ws/intro.html
MIT License
0 stars 0 forks source link

Python notebook formulation #2

Closed AlbertLee125 closed 1 year ago

AlbertLee125 commented 1 year ago

I formulated the jupyter notebook for exercise problem of python. I copied and pasted and then separated the code into multiple cells making into partial questions.

AlbertLee125 commented 1 year ago

I rearrange the csv files in the same directory of the python-pandas.ipynb. This will enable to import files should be done with relative paths.

AlbertLee125 commented 1 year ago

In my previous work, I divided the exercise problems into separate topics. For example, there are forloop.ipynb, pandas.ipynb, etc... To make the exercise problem to make similar to your work, [https://github.com/IDAES/examples/blob/main/idaes_examples/notebooks/docs/tut/introduction_short_usr.ipynb], I will combine all the notebooks and make them into one notebook.

AlbertLee125 commented 1 year ago

Comment this line as we do not know which license we can put to it

I erased the license of the notebook.

AlbertLee125 commented 1 year ago

We didn't write the Pyomo workshop notes. Please correct the source to https://www.pyomo.org/workshop-examples and the Pyomo development team.

The main source of the Pyomo workshop notes are indeed made by the Pyomo group. However, I was trying to write that we adapt the Jupyter notebook on the latest Pyomo. Do we have to remove our names?

bernalde commented 1 year ago

You can make the difference explicit, as the notes are based on the workshop and we are creating this notebook based on their workshop.

ZedongPeng commented 1 year ago

I think this PR is ready to merge. @bernalde