sdcTable (version 0.20.5)

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

Description

query problemInstance-objects depending on argument type

Usage

get.problemInstance(object, type)

## S3 method for class 'problemInstance,character': get.problemInstance(object, type)

Arguments

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

Value

  • information from objects of class dataObj depending on argument type
    • a list (or NULL) if argumenttypematches 'numVars'
    • numeric vector if argumenttypematches 'freq', 'lb', 'ub', 'LPL', 'UPL', 'SPL', 'weight', 'suppPattern'
    • numeric vector (or NULL) if argumenttypematches 'w', 'primSupps', 'secondSupps', 'forcedCells'
    • character vector if argumenttypematches 'strID', 'sdcStatus', ''
    • logical vector of length 1 if argumenttypematches 'hasPrimSupps', 'hasSecondSupps', 'hasForcedCells'
    • numerical vector of length 1 if argumenttypematches 'nrVars'