mex.simplex.simplex_networks.pivot

mex.simplex.simplex_networks.pivot(row, col, matrix)[source]

Pivot about a value to remove negative in final column or row.

Parameters
  • matrix (numpy array) – matrix to be reviewed.

  • row (int) – position to pivot.

  • col (int) – position to pivot.

Returns

updated matrix.

Return type

t (numpy array)