[Bridges] add tests for deleting variable in bridged objective#2156
[Bridges] add tests for deleting variable in bridged objective#2156
Conversation
|
So suppose you have |
|
I dunno. Having to delete the row of a constraint if it goes to zero because you deleted a variable is a much bigger change.
But equally, there was a row in the constraint matrix. We deleted the variable so the row stills stays. If it was the only variable, the row is now zero. That seems straightforward. |
|
An example is that if you had |
|
I doesn't make sense to delete the row if you delete the variable that's why it won't work if you don't delete the quadratic term and bridge again. For the bridge, since the transformation is internal, it does make sense to simplify if the user remove quadratic terms. |
That just seems like added complications for minimal benefit. Can we merge these tests, and wait for someone (other than you) to complain? I bet no one even notices. |
Closes #2153
@blegat everything looks okay to me.