How do you install glpk-solver along with pyomo in Winpython

前端 未结 4 1372
暖寄归人
暖寄归人 2021-01-06 15:16

I want to use \"pyomo\" for my studies. I installed pyomo via easy_install coopr install instructions, Pyomo needs a solver to work so I wanted to install the

4条回答
  •  南方客
    南方客 (楼主)
    2021-01-06 15:44

    If you are using Anaconda, both pyomo and glpk can be installed with conda install. In the Windows terminal, activate your conda environment, then:

    conda install -c conda-forge pyomo
    conda install -c conda-forge glpk
    

    To test the glpk installation:

    glpsol --help
    

提交回复
热议问题