Performs a pivot operation an a given simplex tableau

pivot(t, pivot_row, pivot_column)

Arguments

t

matrix, a simplex tableau

pivot_row

scalar, index of the pivot column

pivot_column

scalar, index of the pivot row

Value

matrix, new simplex tableau