Learn R Programming

goalprog (version 1.0-2)

check.ev.cp: Check entering variable for complementary pivoting

Description

This function determines if the candidate non-basic variable can enter the solution basis based on complementary pivoting.

Usage

check.ev.cp(tab, s)

Arguments

tab
A list of named components that are the augmented modified simplex tableau
s
An integer index for the candidate non-basic variable

Value

  • A boolean value TRUE or FALSE.

Details

This test only applies to decision variables and not to the deviation variables. It determines if there is a basic decision variable in the current solution that is in the same complementary class as the candidate decision variable. If there is, then the function returns FALSE to indicate that the candidate variable cannot be added. Otherwise, the function returns true.