The IrreversibleLinearSystem class has constructor arguments for some metabolite constraint relaxations, but this should be a lot more flexible. Right now, there are 3 predefined parameters (non_consumed, produced, consumed).
This kind of additional constraints should be passed as a dictionary of metabolite indices mapped to ranges (pairs of floats).
The IrreversibleLinearSystem class has constructor arguments for some metabolite constraint relaxations, but this should be a lot more flexible. Right now, there are 3 predefined parameters (non_consumed, produced, consumed).
This kind of additional constraints should be passed as a dictionary of metabolite indices mapped to ranges (pairs of floats).