Use method applyChanges
to apply changes in objects of class
sysBiolAlg
. Changes can be coefficients of the objective
function, variable bounds or the optimization direction.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17  ## S4 method for signature 'sysBiolAlg'
applyChanges(object, del, obj, ld,
react = NULL,
lb = NULL,
ub = NULL,
obj_coef = NULL,
fldind = TRUE,
lpdir = NULL)
## S4 method for signature 'sysBiolAlg_room'
applyChanges(object, del, obj, ld,
react = NULL,
lb = NULL,
ub = NULL,
obj_coef = NULL,
fldind = TRUE,
lpdir = NULL)

object 
An object of class 
del 
A logical value indicating whether variable bounds should be altered or not. 
obj 
A logical value indicating whether objective coefficients should be altered or not. 
ld 
A logical value indicating whether the direction of optimization should be altered or not. 
react 
A numeric vector containing indices to reactions which should be changed
(in terms of variable bounds or objective coefficients). 
lb 
Numeric vector of the same length as 
ub 
Numeric vector of the same length as 
obj_coef 
Numeric vector of the same length as 
fldind 
Boolean value. If set to 
lpdir 
A single character value indicating the new direction of optimization. 
Returns a list containing the original values in order to undo the changes
with resetChanges
:
fi 
A numeric vector containing variable id's to apply changes to. 
lb 
A numeric vector of the same length as 
ub 
A numeric vector of the same length as 
obj_coef 
A numeric vector of the same length as 
lpdir 
A single character value giving the original optimization direction. 
ri 
A numeric vector of the same length as 
ci 
A numeric vector of the same length as 
signature(object = "sysBiolAlg")
Method used with objects extending class sysBiolAlg
signature(object = "sysBiolAlg_room")
Method used with objects of class sysBiolAlg_room
Gabriel GeliusDietrich <geliudie@uniduesseldorf.de>
Maintainer: Claus Jonathan Fritzemeier <clausjonathan.fritzemeier@uniduesseldorf.de>
Class sysBiolAlg
and resetChanges
Questions? Problems? Suggestions? Tweet to @rdrrHQ or email at ian@mutexlabs.com.
All documentation is copyright its authors; we didn't write any of that.