Input: |
|
|
reduced stoichiometry matrix Nm×q; current nullspace matrix
; |
|
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×k ⇐
or
|
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 |