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 閱讀(673) 評論(0)  編輯  收藏

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


          網站導航:
           
          主站蜘蛛池模板: 惠东县| 晋州市| 池州市| 桐梓县| 冀州市| 郯城县| 高平市| 建水县| 林州市| 仙桃市| 化州市| 靖西县| 遂溪县| 鹰潭市| 台前县| 太湖县| 金门县| 北票市| 青龙| 双牌县| 永丰县| 文登市| 和顺县| 德江县| 平顶山市| 郧西县| 呼伦贝尔市| 美姑县| 寿光市| 梅河口市| 长武县| 泰和县| 巫溪县| 静安区| 梓潼县| 汶川县| 江孜县| 抚宁县| 彭水| 依安县| 清流县|