SECQUOIA / gdplib

An open library of Generalized Disjunctive Programming (GDP) models
BSD 3-Clause "New" or "Revised" License
9 stars 7 forks source link

Added the small batch on the gdplib #10

Closed AlbertLee125 closed 3 months ago

AlbertLee125 commented 1 year ago

Added the gdp_small_batch.py on the gdp library.

bernalde commented 1 year ago

I will only want us to work on this PR once all the other examples from GDPLib are updated to the latest version of Pyomo.

bernalde commented 3 months ago

Replace gam by gamma as it is the ration of Cp and Cv

AlbertLee125 commented 3 months ago

The spelling check is failing because of the hda files. Besides the spelling check, there are no issues with the gdp_small_batch.py and I strongly believe this is ready to be merged. And I am not sure whether we have to discuss for the format of HDA files, There are two gammas one is the gamma for the ratio of the Cv and Cp the other is the decision variables related to the absorption process.