Learn R Programming

BacArena (version 1.0.1)

optimizeLP: Function for computing the linear programming according to the model structure

Description

The generic function optimizeLP implements a linear programming based on the problem structure and refined constraints.

Usage

optimizeLP(object, lpob = object@lpobj, lb = object@lbnd, ub = object@ubnd)
"optimizeLP"(object, lpob = object@lpobj, lb = object@lbnd, ub = object@ubnd)

Arguments

object
An object of class Organisms.
lpob
A linear programing object encoding the problem to solve.
lb
A numeric vector giving the constraint values of lower bounds.
ub
A numeric vector giving the constraint values of upper bounds.

Details

The problem object lpob is modified according to the constraints and then solved with optimizeProb.

See Also

Organism-class, optimizeProb and sysBiolAlg

Examples

Run this code
data(Ec_core, envir = environment()) #get Escherichia coli core metabolic model
org <- Organism(Ec_core,deathrate=0.05,
           growthlimit=0.05,growtype="exponential") #initialize a organism
optimizeLP(org)

Run the code above in your browser using DataLab