Species sets:
--------------
R : Required reactant (must be consumed)
I : Intermediate (if it is produced, it has to be consumed (and vice versa))
P : Required product (must be produced)
RI : Potential reactant (can be treated as a reactant or an intermediate)
IP : Potential product (can be treated as an intermediate or a product)
RIP : reactant, intermediate, or product

Moreover, 
- if there are no required reactants defined, 
at least one of the potential reactants have to be consumed
- if there are no required products defined, 
at least one of the potential products have to be produced


Define species as :
--------------------
R: on the left side of the overall reaction 
- with an exact coefficient (e.g., 2 A)
or
- with any non-zero value denoted by ! (e.g., ! B)

I: isn't in the overall reaction (e.g., E)

P: on the right side of the overall reaction 
- with an exact coefficient (e.g., 3 A)
or
- with any non-zero value denoted by ! (e.g., ! G)

RI: on the left side of the overall reaction with '?' (e.g., ? C)
IP: on the right side of the overall reaction with '?' (e.g.,? H)
RIP: on the both side of the overall reaction with '?' (e.g.,? D=? D)

Example:
--------

species:
A
B
C
D
E
F
G
H

overall reaction:
R:2 A + ! B + ? C + ? D=? D + 3 F + ! G + ? H

defines:
R={A,B}
P={F,G}
I={E}
RI={C}
RIP={D}
IP={H}




Running the solver:
--------------------
rpipbt.exe RPIPBTD glucose.in

rpipbt.exe : the solver program
RPIPBTD : solver option for these type of problems
glucose.in : input file


Redirect the output to a file:
-------------------------------
rpipbt.exe RPIPBTD glucose.in > result.txt


Example input file:
-------------------
species:
A
B
C
D
E
F

overall reaction:
R:A + ? B + ? F=2 D + ? E + ? F

elementary reactions:
1:A + 2 B=C
2:B + A=D
3:F=E
---------------------