get.variable.class {goalprog}R Documentation

Get the variable complementarity class

Description

This function returns an integer complementarity class for the given variable name.

Usage

get.variable.class(tab, variable)

Arguments

tab A list of named components with the augmented modified simplex tableau
variable A character string with the name of the variable

Details

The function uses the variable.classes component of the tableau to determine the complementarity class for the given variable. If the variable is not found then a zero value is returned.

Value

A positive integer if the variable is found; zero otherwise.

Author(s)

Frederick Novomestky fnovomes@poly.edu

See Also

check.ev.cp


[Package goalprog version 1.0-2 Index]