Input: |
|
current nullspace matrix
|
Output: |
|
pairs of indices of columns forming candidates (combinations) |
1: |
irrev + ⇐ {i:
and (∃j: jth reaction is irreversible,
)} |
2: |
irrev − ⇐ {i:
and (∃j: jth reaction is irreversible,
)} |
3: |
rev ⇐ {i:
and (∀j: jth reaction is reversible or
)} |
4: |
irrev_p− ⇐ {i: i ∈ irrev− and i = proc_id(mod P)} |
5: |
rev_p ⇐ {i: i ∈ rev and i = proc_id(mod P)} |
6: |
S ⇐ {(ii, jj): (ii, jj) ∈ (irrev + × irrev_p−) ∪ ( (irrev+ ∪ irrev_p− ∪ rev_p) × rev)} |
7: |
for each (ii, jj) ∈ S do
|
8: |
form candidate column from the pair of columns indexed by (ii, jj) |
9: |
if candidate satisfies Proposition 4 add to combinations |
10: |
end for |