Cobratoolbox无法将Gurobi识别为求解器

问题描述

我最近在尝试在matlab上安装CobratoolBox以及安装必备gurobi求解器并将其添加到MATLAB路径时遇到了这个问题。我也运行了gurobi_setup.m文件。但是我无法卸载cobratoolBox,因为每次我运行initCobraToolBox.m时都会失败,因为它无法识别求解器。安装过程中我缺少什么吗?我在matlab命令中收到这样的错误

*Not enough input arguments.
Error in upper (line 5)
    x(i)=(b(i)-s)/a(i,i);
Error in changeCobraSolver (line 295)
    solverType = upper(solverType);
Error in initCobraToolBox (line 406)
    [solverOK,solverInstalled] =
    changeCobraSolver(supportedSolversNames{i},SOLVERS.(supportedSolversNames{i}).type{1},2*

解决方法

暂无找到可以解决该程序问题的有效方法,小编努力寻找整理中!

如果你已经找到好的解决方法,欢迎将解决方案带上本链接一起发送给小编。

小编邮箱:dio#foxmail.com (将#修改为@)