On 10/26/07, lwd <[EMAIL PROTECTED]> wrote: > > I've tried without luck to use the solver of cvxopt for an linear > programming example from > http://www.math.washington.edu/~jkantor/numerical_sage/node7.html > as below: > > sage: from cvxopt import solvers
This is a known problem that I can replicate and that hasn't yet been resolved: http://trac.sagemath.org/sage_trac/ticket/969 E.g., on my Debian 32-bit test machine I get exactly the same problem as you. The solution probably just involves adding some appropriate linker flags or something to the cvxopt build script. I hope we'll be able to resolve this problem soon, and thank you again for your bug report. William > > --------------------------------------------------------------------------- > <type 'exceptions.ImportError'> Traceback (most recent call > last) > > /home/lwdrob/<ipython console> in <module>() > > /usr/local/sage/local/lib/python2.5/site-packages/cvxopt/solvers.py in > <module>() > 16 > 17 import cvxopt > ---> 18 from cvxopt.cvxprog import cp, qp, gp, nlcp > 19 from cvxopt.coneprog import conelp, lp, sdp > 20 solvecp, solveqp, solvegp, solvelp, solvesdp = cp, qp, gp, lp, > sdp > > /usr/local/sage/local/lib/python2.5/site-packages/cvxopt/cvxprog.py in > <module>() > 11 > 12 import math > ---> 13 from cvxopt import base, blas, lapack, misc > 14 from cvxopt.base import matrix, spmatrix, sqrt, exp, mul, div > 15 > > <type 'exceptions.ImportError'>: /usr/local/sage/local/lib/python2.5/ > site-packages/cvxopt/blas.so: undefined symbol: _g95_filename > > It was the same error for sage-2.8.8*-ubuntu-i686-Linux, even compiled > from source. > $ sage -f cvxopt-0.8.2.p3 > didn't help either. > > If there is a way make things work please let me know. > > Many thanks for reading this, > lwd. > > > > > -- William Stein Associate Professor of Mathematics University of Washington http://wstein.org --~--~---------~--~----~------------~-------~--~----~ To post to this group, send email to [email protected] To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/sage-forum URLs: http://sage.math.washington.edu/sage/ and http://sage.scipy.org/sage/ -~----------~----~----~----~------~----~------~--~---
