Hi Everyone,

I find SAGE absolutely awesome, and I use it on a daily basis.
I am desperately trying to have CPLEX work on SAGE 4.8. I have
installed CPLEX 12.3 on my Mac OS 10.6 (Intel CPU). CPLEX works fine
as a standalone. However,

I followed the installation procedure detailed here
http://www.sagemath.org/doc/thematic_tutorials/linear_programming.html
everything went ok during the installation, I had no error message.

But then, on SAGE, when I type
lp = MixedIntegerLinearProgram(solver="CPLEX")

I get the following errors. Any clue ?
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/
tmpJgGWMi/___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: No module named cplex_backend

-- 
To post to this group, send email to sage-support@googlegroups.com
To unsubscribe from this group, send email to 
sage-support+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/sage-support
URL: http://www.sagemath.org

Reply via email to