Closed joroeder closed 3 years ago
Changes Missing Coverage | Covered Lines | Changed/Added Lines | % | ||
---|---|---|---|---|---|
dhnx/optimization.py | 0 | 4 | 0.0% | ||
<!-- | Total: | 0 | 4 | 0.0% | --> |
Totals | |
---|---|
Change from base Build 1075149861: | -0.1% |
Covered Lines: | 1012 |
Relevant Lines: | 1784 |
This PR improves the processing of the optimization results. With nonconvex investments and in large networks, there might occur status variables of 0.999999 or 0.0000001, and investment capacities of 0.01, although there is a minimum investment threshold.
As rounding status variables and thresholds for the investment capacities could be dangerous, this PR changes the post-processing so that the "raw" solver results are returned in the pipes table.