Use Case
If using eeco with an existing MILP, it would be useful to be able to create a MILP rather than a MINLP when callingcalculate_cost with a decomposition_type
Solution
In addition to absolute_value option for decomposition_type, can add "binary", making a binary variable indicating when exporting vs importing, and creating the import and export consumption variables based on that
Then add support for "binary" as an argument to ut.decompose_consumption()
Alternatives
Could consider other decomposition strategies as well or different means of creating binary variable
Use Case
If using eeco with an existing MILP, it would be useful to be able to create a MILP rather than a MINLP when callingcalculate_cost with a decomposition_type
Solution
In addition to absolute_value option for decomposition_type, can add "binary", making a binary variable indicating when exporting vs importing, and creating the import and export consumption variables based on that
Then add support for "binary" as an argument to ut.decompose_consumption()
Alternatives
Could consider other decomposition strategies as well or different means of creating binary variable