cobratoolbox icon indicating copy to clipboard operation
cobratoolbox copied to clipboard

initCobraToolbox don't recognize matlab solver

Open LuojiaoHuang opened this issue 4 years ago • 1 comments

*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:

  • [X] Tried to solve the issue on my own
  • [X] Retried to run my code with the latest version of The COBRA Toolbox
  • [X] Checked that a similar issue has not already been opened

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

LuojiaoHuang avatar Mar 13 '20 10:03 LuojiaoHuang

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

mbutawan avatar Sep 19 '21 15:09 mbutawan