posts - 30,  comments - 3,  trackbacks - 0

          I have successfully run your code after doing the following two steps:

          1. Download GLPK from

            http://sourceforge.net/projects/winglpk/files/latest/download (as mentioned by oyvind)

          2. Unzip it into (for example) : C:\glpk_is_here\
          3. Add GLPK binaries to your system path before running python C:\>set PATH=%PATH%;C:\glpk_is_here\glpk-4.55\w64

          4. Using the same cmd window from (3), use python/ipython to run your code:
            C:\>ipython your_code.py

          5. See the results Out[4]: 2.0

          Good luck.

          posted on 2016-05-27 14:25 Seraphi 閱讀(672) 評論(0)  編輯  收藏

          只有注冊用戶登錄后才能發表評論。


          網站導航:
           
          主站蜘蛛池模板: 阿城市| 江孜县| 安康市| 策勒县| 体育| 安西县| 五家渠市| 临桂县| 沂源县| 博湖县| 江西省| 平利县| 当雄县| 疏勒县| 略阳县| 基隆市| 新平| 东城区| 白沙| 霍城县| 嵩明县| 铜川市| 英山县| 获嘉县| 朝阳县| 萨迦县| 靖安县| 乐都县| 长垣县| 温泉县| 慈溪市| 天全县| 呈贡县| 锡林浩特市| 辛集市| 偃师市| 平利县| 焉耆| 宣化县| 禹州市| 砚山县|