-
Notifications
You must be signed in to change notification settings - Fork 218
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Gapfilling failed in context manager (infeasible) #1392
Comments
Hi, thanks for providing a reproducible example. In this case not an issue with the gapfiller (at least for GLPK) but rather an edge case due to the use of then context manager. In this line # ...
with human1 as test_model:
# ...
I did notice an issue with CPLEX due to a low integer primal and the lack of an option to set this via |
Ah thank you for catching that! I am still having issues with trying to use gapfill however. My goal is to identify alternative reactions/pathways to an essential reaction in a context-specific model. My reasoning was this: if a reaction is essential in the context-specific model but not in the universal model, then there should be alternative reactions/pathways. To identify these, I removed the essential reaction from both the context-specific and universal models, then tried to gap-fill. But I still get the infeasibility error. Is there an error in this reasoning? Code:
Context-specific model: |
Also, the original Human1 check still breaks when I try to gapfill some other essential reactions (e.g. |
Is there an existing issue for this?
Problem description
What I tried to achieve:
How I went about it:
model.solver.configuration.tolerances.feasibility
threshold to1e-9
, as previous error threads showed this helped. But this yields the same error.Why the current behavior is a problem:
Code sample
Code run:
Traceback:
Environment
Dependency Information
Build Tools Information
Platform Information
Anything else?
No response
The text was updated successfully, but these errors were encountered: