This function is deprecated. ROI.plugin.glpk
is recommended instead.
expanded_to_glpk(reactions_expanded)
A list of data frames as output by reactiontbl_to_expanded
A list suitable for input to Rglpk
This parses the long format produced by reactiontbl_to_expanded
to a glpk model.
To install the Rglpk package in Linux, run sudo apt-get install libglpk-dev
in a terminal, and then run install.packages('Rglpk')
in R.
The reaction_table
must have columns:
abbreviation
,
equation
,
uppbnd
,
lowbnd
, and
obj_coef
.
Other parsing_and_conversion:
expanded_to_ROI()
,
expanded_to_gurobi()
,
reactiontbl_to_expanded()
,
reactiontbl_to_gurobi()