ecboghiu / inflation

Implementations of the Inflation Technique for Causal Inference.
GNU General Public License v3.0
22 stars 3 forks source link

Fix dualization of SDPs #135

Closed apozas closed 3 months ago

apozas commented 3 months ago

The SDP code for creating dual problems had two problems (see #104): slicing was being done in a way not resistant to reordering of the variables (which was happening spontaneously), and coefficients in the objective function associated to known variables were being double-counted.

The code passes all tests.