PyomoGallery icon indicating copy to clipboard operation
PyomoGallery copied to clipboard

A collection of Pyomo examples

Results 10 PyomoGallery issues
Sort by recently updated
recently updated
newest added

Hello there ! I've tried to run some examples here ... and I think that by now a `requirements.txt` file is necessary. Looks like there are things outdated in `pandas`...

Hi, I am not sure why you included (or multiplies) the arc capacity by the flow in the objective function of the flow network example. ![image](https://user-images.githubusercontent.com/7920085/114082535-7b2ade00-9873-11eb-8f6d-2ff04f9c2c64.png)

I get the following error when I try to run, e.g., the min_cost_flow_interdict example: `MultiIndex([( 'B', 'End'), ( 'C', 'B'), ( 'C', 'D'), ( 'D', 'End'), ('Start', 'B'), ('Start', 'C')],...

* pandas `ix` is deprecated (starting in version `0.20.0`), moving example to use `loc` * update misspelling in comment

Hello Pyomos! where do you take the 50 cases from Seattle to New-York from in your conlusion? ` Solution Information Variable: x[seattle,chicago]: Value: 300 x[san-diego,topeka]: Value: 275 x[san-diego,new-york]: Value: 325...

Hello, I would like to include my RTN code in the Gallery. I wrote this as my senior project in my BA math program. William

Code used in this paper: [http://dx.doi.org/10.1016/j.compchemeng.2016.07.001](url)

When trying to access the example problems I get the following redirect notice: ![Selection_720](https://github.com/Pyomo/PyomoGallery/assets/3334079/963bcbd7-fc24-4670-aabc-e802c6b1bd72)

Corrected some typos using [`typos`](https://crates.io/crates/typos-cli). If you'd like, I could PR the gha setup https://github.com/crate-ci/typos to catch these in CI.

On attempt to run simplest example in asl_io.write I have an error **`AttributeError: 'float' object has no attribute 'model'`** The error occurs in line #28 of **write.py** in preparing `symbol_cuid_pairs`...