calc.linProb {sdcTable} | R Documentation |
perform calculations on linProb
-objects depending on argument type
Description
perform calculations on linProb
-objects depending on argument type
Usage
calc.linProb(object, type, input)
## S4 method for signature 'linProb,character,list'
calc.linProb(object, type, input)
Arguments
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
Value
manipulated data based on argument type
list containing the solution and additional information if argument
type
matches 'solveProblema numeric vector of indices if argument
type
matches 'fixVariables'
Note
internal function
Author(s)
Bernhard Meindl bernhard.meindl@statistik.gv.at