sdcTable (version 0.20.5)

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

Description

query linProb-objects depending on argument type

Usage

get.linProb(object, type)

## S3 method for class 'linProb,character': 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 classsimpleTripletif 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