Closed mtanneau closed 6 months ago
@klamike @ivanightingale our unit tests currently check the objective value of our formulation against that found by PowerModels. Since this PR breaks the equivalence with PowerModels, that check is no longer valid.
I can do two things to fix the broken tests:
1e-3
in the test. This seems to work for our setting, but may not be valid in generalI think the latter is worth doing since other custom formulations will probably also need custom tests.
I agree with number 2. I think the test for feasibility in this PR is sufficient.
OK, I'm putting the update to unit tests in #67
closes #60
This PR makes the following changes:
wr
,wi
variables are also created for each branchwr/wi
upper bounds were not exported properlyw
,wr
,wi
variables.TODO: