Learn R Programming

sdcTable (version 0.21.5)

get.linProb: query linProb-objects depending on argument type

Description

query linProb-objects depending on argument type

Usage

get.linProb(object, type)
"get.linProb"(object, type)

Arguments

object
an object of class linProb
type
a character vector of length 1 defining what to calculate|return|modify. Allowed types are:

Value

information from objects of class linProb depending on type
  • an object of class simpleTriplet if type matches 'constraints'
  • a character vector if type matches 'direction' or 'types'
  • a numeric vector if type matches 'objective' or 'rhs'
  • a list with elements 'lower' and 'upper' if type matches 'bounds'
    • element 'lower': a list with the first element containing indices and the second element containing corrsponding lower bounds
    • element 'upper': a list with the first element containing indices and the second element containing corrsponding upper bounds