ecboghiu / inflation

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

Re-added Gurobi and related code #117

Open ericahan22 opened 1 year ago

ericahan22 commented 1 year ago

This adds functions that interface with Gurobi to solve quadratic programs, which are problems which in addition to linear constraints, contains constraints of the form $x^T Q x + Ax + b = 0$. The quadratic constraints arising from linear programming relaxations of inflation are automatically passed on to the solver.

Note that for quadratic programs there is no notion of primal and dual programs, thus Gurobi only solves the primal form of the problem. For standard LP problems, it is envisioned that the user would use the MOSEK interpreter, which supports primal and dual, and for quadratic programs GUROBI.