R/calc.ti.k.R

Defines functions calc.ti.k

Documented in calc.ti.k

calc.ti.k <- function( tab, k )
{
###
### This function calculates the index rows for the highest k priority levels
###
### Parameters
### tab = a list of named components that specifies the modified simplex tableau
### k = an integer priority level
###
    tab$ti <- t( tab$tu ) %*% tab$te - tab$tw
    return( tab )
}

Try the goalprog package in your browser

Any scripts or data that you put into this service are public.

goalprog documentation built on May 30, 2017, 5:07 a.m.