# the Blending example
Linp(LIMBlending)
# the E coli example: two functions to maximimise
Linp(LIMEcoli)
# E coli example, but only first function optimised..
Linp(LIMEcoli, cost = -LIMEcoli$Profit[1,])
# a foodweb example: need to specify the cost function
# here just sum of absolute values of flows...
Linp(LIMRigaAutumn, cost = (rep(1, LIMRigaAutumn$NUnknowns)))
Run the code above in your browser using DataLab