mex.simplex.simplex_networks.find_pivot_col

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

Finds pivot element corresponding to a negative value in right column.

Parameters

matrix (numpy array) – matrix to be reviewed.

Returns

index of most negative value.

c (int): index smallest value on row.

Return type

index (int)