LIM-package               package:LIM               R Documentation

_L_i_n_e_a_r _I_n_v_e_r_s_e _M_o_d_e_l _e_x_a_m_p_l_e_s _a_n_d _s_o_l_u_t_i_o_n _m_e_t_h_o_d_s

_D_e_s_c_r_i_p_t_i_o_n:

     functions that read and solve linear inverse problems (food web
     problems, linear programming problems, flux balance analysis).

     These problems find solutions to linear or quadratic functions:
     min or max (f(x)), where f(x) = ||Ax-b||^2 or f(x) = sum(ai*xi)

     subject to equality constraints Ex=f and inequality constraints
     Gx>=h.

     Uses package limSolve.

_D_e_t_a_i_l_s:


       Package:  LIM
       Type:     Package
       Version:  1.4
       Date:     2009-10-10
       License:  GNU Public License 2 or above

     The model problem is formulated in text files in a way that is
     natural and comprehensible. Functions in 'LIM' then converts this
     input into the required linear equality and inequality conditions,
     which can be solved either by least squares or by linear
     programming techniques. By letting an algorithm formulate the
     mathematics, it is simple to reformulate the model in case a
     parameter value changes, or a component is added or removed.

     Three different types of problems are supported: flow networks,
     reaction networks and other (operations research) problems. The
     first two cases are based on mass balances of the components.

     The package includes many examples

_A_u_t_h_o_r(_s):

     Karline Soetaert (Maintainer),

     Dick van Oevelen

_S_e_e _A_l_s_o:

     'Read', 'Setup' for reading files and creating the model

     'Ldei', 'Lsei','Linp', 'Flowmatrix', 'Plotranges', 'Variables',
     'Varranges', 'Xranges', 'Xsample'.

_E_x_a_m_p_l_e_s:

     ## Not run: 
     ## show examples (see respective help pages for details)
     example(Lsei)
     example(LIMRigaSpring)
     example(Ldei)
     example(Xsample)
     example(Varranges)

     ## run demos
     demo("LIMexamples")

     ## open the directory with R sourcecode examples
     browseURL(paste(system.file(package="LIM"), "/examples/Foodweb", sep=""))
     browseURL(paste(system.file(package="LIM"), "/examples/LinearProg", sep=""))
     browseURL(paste(system.file(package="LIM"), "/examples/Reactions", sep=""))

     ## show package vignette with tutorial about how to create input files
     vignette("LIM")

     ## E.coli example vignette
     vignette("LIMecoli")

     browseURL(paste(system.file(package="LIM"), "/doc", sep=""))
     ## End(Not run)

