calc.linProb | R Documentation |
linProb
-objects depending on argument type
perform calculations on linProb
-objects depending on argument type
calc.linProb(object, type, input)
## S4 method for signature 'linProb,character,list'
calc.linProb(object, type, input)
object |
an object of class |
type |
a character vector of length 1 defining what to calculate|return|modify. Allowed types are: |
solveProblem: solve the linear problem (minimize objective function)
fixVariables: try to fix objective variables to 0|1 based on dual costs depending on input
input |
a list depending on argument |
type==solveProblem: a list of length 1
first element: character vector of length 1 specifying the solver to use.
type==fixVariables: a list of length 3
first element: numeric vector specifying lower bounds for the objective variables
second element: numeric vector specifying upper bounds for the objective variables
third element: numeric vector specifying indices of primary suppressed cells
manipulated data based on argument type
list containing the solution and additional information if argument type
matches 'solveProblem
a numeric vector of indices if argument type
matches 'fixVariables'
internal function
Bernhard Meindl bernhard.meindl@statistik.gv.at
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.