HannesBaukmann / pyrrrateFBA

Package for the analysis of (regulatory) deFBA models.
Other
0 stars 0 forks source link

Add option to model regulatory constraints as indicator constraints #2

Closed YannickDuport closed 1 year ago

YannickDuport commented 1 year ago

Regulatory constraints are currently modeled using big-M formulation. In larger models these big-M can cause numerical problems during optimization. Indicator constraints are one way to improve the ill-conditioning of such large problems. Open a new branch for this and implement it for Gurobi, CPLEX and SCIP

YannickDuport commented 1 year ago

New experimental branch (indicator_constraints) created. Option to model regulatory constraints as indicator constraints added. Works for Gurobi, CPLEX and SCIP. Also works with runge-kutta time discretization schemes. To make use of indicator constraints, add key 'indicator_constraints': True to rdeFBA_kwargs.