Skip to content

Bounds should not be sparse vectors, maybe a new data type... #216

Answered by exaexa
stelmo asked this question in Ideas
Discussion options

You must be logged in to vote

I arrived at a similar idea while trying to interpret the meaning of "hole" in the bounds vector. Sparsity usually interprets it as "zero" (which means the reaction can't really happen), we'd like to interpret it as ±∞ because that's the point of missing bounds. And we're storing the -1000s and 1000s in most bounds anyway now. So I can definitely support this.

Moreover, we already require reactions to be densely identified by string IDs, so this will not really add any noticeable overhead.

Replies: 3 comments

Comment options

stelmo
Apr 23, 2021
Collaborator Author

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Answer selected by exaexa
Comment options

stelmo
Apr 30, 2021
Collaborator Author

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Ideas
Labels
None yet
2 participants
Converted from issue

This discussion was converted from issue #112 on May 09, 2021 20:43.