calc.linProb: perform calculations on linProb-objects depending on argument type
Description
perform calculations on linProb-objects depending on
argument typeUsage
calc.linProb(object, type, input)## S3 method for class 'linProb,character,list':
calc.linProb(object, type, input)
Arguments
object
an object of class linProb
type
a character vector of length 1 defining what
to calculate|return|modify. Allowed types are:
input
a list depending on argument type.
Value
- manipulated data based on argument
type - list containing the solution and additional
information if argument
typematches 'solveProblem - a numeric vector of indices if argument
typematches 'fixVariables'