Skip to main content
. Author manuscript; available in PMC: 2012 Jun 1.
Published in final edited form as: Parallel Comput. 2011 June-July;37(6-7):261–278. doi: 10.1016/j.parco.2011.04.002

Algorithm 8.

[combinations] = RANKTESTS(N, K, combinations)

Input:
reduced stoichiometry matrix Nm×q; current nullspace matrix Kq×(qm)=[R(1)R(2)];
array of pairs of column-generating indices (combinations)
Output:
array column-generating pairs valid elementary modes (combinations)
1: k ⇐ size(R(1), 1)
2: for each (ii, jj) ∈ combinations do
3:  x1×kR,ii(1) or R,jj(1)
4:  aa ⇐ indices of non-zero entries in x1…q−m
5:  bb ⇐ indices of zero entries in xq−m+1….k
6:  {if Proposition 5 is not satisfied reject candidate}
7: if NULLITY(Nbb, aa) ≠ 1 then
8:   combinations ⇐ combinations\(ii, jj)
9: end if
10: end for