Skip to content
Open
Show file tree
Hide file tree
Changes from 8 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions gdplib/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,3 +23,4 @@
import gdplib.small_batch
import gdplib.cstr
import gdplib.reverse_electrodialysis
import gdplib.multiperiod_blending
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Good that this is added here. One thing to be aware of: the test module lists in tests/test_comprehensive_coverage.py (ALL_GDPLIB_MODULES), tests/test_module_imports.py (GDPLIB_MODULES), and tests/test_model_structure.py (GDPLIB_MODULES) are maintained manually. You will need to add "multiperiod_blending" to each of those lists for the PR's CI checks to cover this new module.

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

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

Thank you for this. I have added multiperiod_blending to the test modules. @bernalde could you just check if it has been added correctly and the tests are running fine? They were working on my end but I had to install some packages like scipy, openpyxl, pint.

8 changes: 8 additions & 0 deletions gdplib/multiperiod_blending/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
# Multiperiod Blending Problem
This model is a GDP formulation for the Multiperiod Blending Problem. This model was originally formulated by Lotero et. al. and Ovalle et. al. developed 60 test instances which have can be found in `instances_json/`. If you want to learn more about the problem and instances please see the following github repo: https://github.com/arshb11/mpbp-instances.

If you decide to use these instances or model, please cite the following papers:

> Ovalle, D., Bhatia, A., Laird, C. D., & Grossmann, I. E. (2026). A logic-based decomposition for the global optimization of the multiperiod blending problem using symmetry-breaking cuts. Industrial & Engineering Chemistry Research, 65(7), 3981–3998. https://doi.org/10.1021/acs.iecr.5c02853
Comment thread
arshb11 marked this conversation as resolved.
Outdated
>
> Lotero, I., Trespalacios, F., Grossmann, I. E., Papageorgiou, D. J., & Cheon, M.-S. (2016). An MILP-MINLP decomposition method for the global optimization of a source based model of the multiperiod blending problem. Computers & Chemical Engineering, 87, 13–35. https://doi.org/10.1016/j.compchemeng.2015.12.017
3 changes: 3 additions & 0 deletions gdplib/multiperiod_blending/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
from .multiperiod_blending import build_model
Comment thread
arshb11 marked this conversation as resolved.
Outdated
Comment thread
arshb11 marked this conversation as resolved.
Outdated

__all__ = ["build_model"]
Loading
Loading