opencobra / cobratoolbox

The COnstraint-Based Reconstruction and Analysis Toolbox. Documentation:
https://opencobra.github.io/cobratoolbox
Other
245 stars 308 forks source link

initCobraToolbox don't recognize matlab solver #1582

Open LuojiaoHuang opened 4 years ago

LuojiaoHuang commented 4 years ago

*When I start COBRA toolbox I have this: Support LP MILP QP MIQP NLP

gurobi          active              1       1       1       1       -
ibm_cplex       active              0       0       0       0       -
tomlab_cplex    active              0       0       0       0       -
glpk            active              1       1       -       -       -
mosek           active              0       -       0       -       -
**matlab        active              1       -       -       -       1**
cplex_direct    active              0       0       0       -       -
dqqMinos        active              0       -       -       -       -
pdco            active              1       -       1       -       -
quadMinos       active              0       -       -       -       -
qpng            passive             -       -       1       -       -
tomlab_snopt    passive             -       -       -       -       0
lp_solve        legacy              1       -       -       -       -
----------------------------------------------------------------------
Total           -                   5       2       3       1       1

but then, for the solvers I can use 'matlab' solver is not included:

You can solve LP problems using: 'gurobi' - 'glpk' - 'pdco' You can solve MILP problems using: 'gurobi' - 'glpk' You can solve QP problems using: 'gurobi' - 'pdco' - 'qpng' You can solve MIQP problems using: 'gurobi' You can solve NLP problems using:

Therefore I cannot use NLP*

I hereby confirm that I have:

(Note: You may replace [ ] with [X] to check the box)

mbutawan commented 2 years ago

Not sure if you ever solved this but someone else did in the google group: https://groups.google.com/g/cobra-toolbox/c/LTOdMJfzvyU/m/OvRtI2vtAgAJ

I was having the same problem and this worked for me