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

Not a mixed-integer problem #48

Open
phil622 opened this issue Aug 15, 2024 · 0 comments
Open

Not a mixed-integer problem #48

phil622 opened this issue Aug 15, 2024 · 0 comments

Comments

@phil622
Copy link

phil622 commented Aug 15, 2024

I use carveme to generate model and run smetana with --solver CPLEX
however ,it return this error:
Loading community: all
Running SCS for community all on medium M9...
Running MUS for community all on medium M9...
Traceback (most recent call last):
File "/public1/home/chenwy/app/miniconda3/envs/smetana_env/bin/smetana", line 468, in
ignore_coupling=args.no_coupling,
File "/public1/home/chenwy/app/miniconda3/envs/smetana_env/bin/smetana", line 346, in main
ignore_coupling)
File "/public1/home/chenwy/app/miniconda3/envs/smetana_env/bin/smetana", line 178, in run_detailed
min_mol_weight=min_mol_weight)
File "/public1/home/chenwy/app/miniconda3/envs/smetana_env/lib/python3.6/site-packages/smetana/smetana.py", line 154, in metabolite_uptake_score
warnings=False)
File "/public1/home/chenwy/app/miniconda3/envs/smetana_env/lib/python3.6/site-packages/framed/experimental/medium.py", line 195, in minimal_medium
pool_size=n_solutions, pool_gap=pool_gap)
File "/public1/home/chenwy/app/miniconda3/envs/smetana_env/lib/python3.6/site-packages/framed/solvers/cplex_interface.py", line 366, in solve
problem.populate_solution_pool()
File "/public1/home/chenwy/app/miniconda3/envs/smetana_env/lib/python3.6/site-packages/cplex/init.py", line 1152, in populate_solution_pool
_proc.populate(self._env._e, self._lp)
File "/public1/home/chenwy/app/miniconda3/envs/smetana_env/lib/python3.6/site-packages/cplex/_internal/_procedural.py", line 818, in populate
check_status(env, status)
File "/public1/home/chenwy/app/miniconda3/envs/smetana_env/lib/python3.6/site-packages/cplex/_internal/_procedural.py", line 303, in call
raise CplexSolverError(error_string, env, status)
cplex.exceptions.errors.CplexSolverError: CPLEX Error 3003: Not a mixed-integer problem.

What can i do for this

my smetana is 1.0.0
cplex 12.8
python 3.6.2

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