Hi Nathan,

Yes, I checked local/include and local/lib. CPLEX runs fine also as a
64 bit standalone.
I recompiled everything with ./sage -ba, and now
MixedIntegerLinearProgram(solver="CPLEX") triggers a new error
message !!!!
I put the log below:
-----

Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "_sage_input_3.py", line 10, in <module>
    exec compile(u'open("___code___.py","w").write("# -*- coding:
utf-8 -*-\\n" +
_support_.preparse_worksheet_cell(base64.b64decode("bHAgPSBNaXhlZEludGVnZXJMaW5lYXJQcm9ncmFtKHNvbHZlcj0iQ1BMRVgiKQ=="),globals())
+"\\n"); execfile(os.path.abspath("___code___.py"))
  File "", line 1, in <module>


  File "/private/var/folders/4r/km32m_0s09d58glt8bk9bpcr0000gn/T/
tmp28dJQ6/___code___.py", line 2, in <module>
    exec compile(u'lp = MixedIntegerLinearProgram(solver="CPLEX")
  File "", line 1, in <module>

  File "mip.pyx", line 200, in
sage.numerical.mip.MixedIntegerLinearProgram.__init__ (sage/numerical/
mip.c:1360)
  File "generic_backend.pyx", line 864, in
sage.numerical.backends.generic_backend.get_solver (sage/numerical/
backends/generic_backend.c:5952)
  File "generic_backend.pyx", line 922, in
sage.numerical.backends.generic_backend.get_solver (sage/numerical/
backends/generic_backend.c:5768)
ImportError: dlopen(/Applications/Sage-4.8-OSX-64bit-10.6.app/Contents/
Resources/sage/local/lib/python2.6/site-packages/sage/numerical/
backends/cplex_backend.so, 2): Symbol not found: _kIOMasterPortDefault
  Referenced from: /Applications/Sage-4.8-OSX-64bit-10.6.app/Contents/
Resources/sage/local/lib/python2.6/site-packages/sage/numerical/
backends/cplex_backend.so
  Expected in: flat namespace
 in /Applications/Sage-4.8-OSX-64bit-10.6.app/Contents/Resources/sage/
local/lib/python2.6/site-packages/sage/numerical/backends/
cplex_backend.so

-- 
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-support
URL: http://www.sagemath.org

Reply via email to