Glpk not loading

26 views
Skip to first unread message

Emily B

unread,
Sep 26, 2015, 11:58:33 PM9/26/15
to CVXOPT
I've tried compiling cvxopt under Mac and Ubuntu. When compiling, I can see glpk being built and the files being created. Also that the glpk.pyc file is copied to the proper directory. However, when loading cvxopt in Python, glpk is not there.

Martin

unread,
Sep 27, 2015, 4:22:50 AM9/27/15
to CVXOPT
Can you provide a little more information? How did you install CVXOPT? And which version? What error message do you get when you try importing cvxopt.glpk?

Emily B

unread,
Sep 27, 2015, 11:21:48 PM9/27/15
to CVXOPT
Installed it by compiling the source downloaded from the website. Latest stable version of glpk and cvxopt. After I import cvxopt in Python, I'm getting no module found or something similar for Trying to run cvxopt.glpk. I spent a good day trying to figure this out. I switched to google or tools as it also has what I need.

Martin

unread,
Sep 28, 2015, 1:10:29 AM9/28/15
to CVXOPT
Did you set BUILD_GLPK to 1 in the setup script? If yes, did it compile without errors?
Reply all
Reply to author
Forward
0 new messages