This function is deprecated. github.com/Fl0Sch/ROI.plugin.gurobi
is recommended instead.
reactiontbl_to_gurobi(reaction_table, regex_arrow = "[-=]+>")
A data frame describing the metabolic model.
Regular expression for the arrow splitting sides of the reaction equation.
A list suitable for input to Gurobi.
Parses a reaction table to give a list in Gurobi's input format.
This function is a shorthand for reactiontbl_to_expanded
followed by expanded_to_gurobi
.
The reaction_table
must have columns:
abbreviation
,
equation
,
uppbnd
,
lowbnd
, and
obj_coef
.
Other parsing_and_conversion:
expanded_to_ROI()
,
expanded_to_glpk()
,
expanded_to_gurobi()
,
reactiontbl_to_expanded()