The generic outline of the code is as follows:
- get selected connections (error if none)
- get stoichiometry for all items
- find columns of the stoichiometry corresponding to selected items
- setup lpsolve with the selected connections as the objective
- setup lpsolve with the stoichiometry as the constraint
- solve
- get the optimal values and post them on the screen using tc_displayText
No comments:
Post a Comment