-
Notifications
You must be signed in to change notification settings - Fork 44
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Support multiple reactions in ratio constraints… (#59)
* feat: add_ratio_constraint supports adding multiple reactions in each side I changed the add_ratio_constraint method to support adding multiple reactions, linear expressions or lists of reactions to make it possible to create constraints such as: - v1/(v2 + v3) = r - (v1 + v2)/v3 = r - (v1 + v2)/(v3 + v4) = r - (2 v1 + v2) / v3 = r - etc...
- Loading branch information
1 parent
88e39c2
commit 5f365e1
Showing
2 changed files
with
57 additions
and
15 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters