6.1.1.4.1.6. pytfa.optim.relaxation

Relaxation of models with constraint too tight

6.1.1.4.1.6.1. Module Contents

6.1.1.4.1.6.1.1. Functions

relax_dgo_gurobi(model, relax_obj_type=0)

relax_dgo(tmodel, reactions_to_ignore=(), solver=None, in_place=False)

param t_tmodel

relax_lc(tmodel, metabolites_to_ignore=(), solver=None)

param metabolites_to_ignore

6.1.1.4.1.6.1.2. Attributes

BIGM

BIGM_THERMO

BIGM_DG

BIGM_P

EPSILON

pytfa.BIGM
pytfa.BIGM_THERMO
pytfa.BIGM_DG
pytfa.BIGM_P
pytfa.EPSILON
pytfa.relax_dgo_gurobi(model, relax_obj_type=0)
pytfa.relax_dgo(tmodel, reactions_to_ignore=(), solver=None, in_place=False)
Parameters
  • t_tmodel (pytfa.thermo.ThermoModel:) –

  • reactions_to_ignore – Iterable of reactions that should not be relaxed

  • solver – solver to use (e.g. ‘optlang-glpk’, ‘optlang-cplex’, ‘optlang-gurobi’

Returns

a cobra_model with relaxed bounds on standard Gibbs free energy

pytfa.relax_lc(tmodel, metabolites_to_ignore=(), solver=None)
Parameters
  • metabolites_to_ignore

  • in_tmodel (pytfa.thermo.ThermoModel:) –

  • min_objective_value

Returns