Skip to content
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

optimality is not an available tolerance parameter with this solver #42

Open
LiZhihua1982 opened this issue Sep 21, 2023 · 0 comments
Open

Comments

@LiZhihua1982
Copy link

(carveme) lizhihua@lizhihua-T640:/media/lizhihua/software/gapseq/gapseq/GJ89_bins$ smetana carveme/*.xml
Traceback (most recent call last):
File "/home/lizhihua/.local/lib/python3.8/site-packages/optlang/util.py", line 305, in getattr
return self._functions[item]0
KeyError: 'optimality'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "/home/lizhihua/.local/bin/smetana", line 89, in
main(
File "/home/lizhihua/.local/lib/python3.8/site-packages/smetana/interface.py", line 341, in main
entries, debug_entries = run_global(comm_id, community, organisms, medium_id, excluded_mets, env,
File "/home/lizhihua/.local/lib/python3.8/site-packages/smetana/interface.py", line 132, in run_global
mip, extras = mip_score(community, environment=env, verbose=verbose,
File "/home/lizhihua/.local/lib/python3.8/site-packages/smetana/smetana.py", line 257, in mip_score
noninteracting_medium, sol1 = minimal_medium(noninteracting.merged, exchange_reactions=exch_reactions,
File "/home/lizhihua/.local/lib/python3.8/site-packages/reframed/cobra/medium.py", line 50, in minimal_medium
solver = solver_instance(model)
File "/home/lizhihua/.local/lib/python3.8/site-packages/reframed/solvers/init.py", line 76, in solver_instance
return solverssolver
File "/home/lizhihua/.local/lib/python3.8/site-packages/reframed/solvers/optlang_solver.py", line 29, in init
Parameter.OPTIMALITY_TOL: self.problem.configuration.tolerances.optimality,
File "/home/lizhihua/.local/lib/python3.8/site-packages/optlang/util.py", line 307, in getattr
raise AttributeError(item + " is not an available tolerance parameter with this solver")
AttributeError: optimality is not an available tolerance parameter with this solver

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant