mex.simplex.simplex_networks.pivots_row

mex.simplex.simplex_networks.pivots_row(matrix)[source]

Checks to see if pivots are required due to negative values in bottom row, excluding the final value.

Parameters

matrix (numpy array) – matrix to be reviewed.

Returns

True or False indicating whether a negative element was found.

Return type

Flag (bool)