我用pyomo在python中编写了我的代码......最后,当我想运行我的脚本时,我遇到了这个错误:警告:“[base]/site-packages/pyomo/solvers/plugins/solvers/GLPK .py", 150, _default_executable 找不到求解器“glpk”所需的“glpsol”可执行文件
ApplicationError:找不到求解器“glpk”的可执行文件
我使用 mac ......而且我不知道应该怎么做才能使用 'glpk' 或 'cplex' 来解决我的模型......