Salut Nathann ! Thanks for your answer. I "touched" the files as you asked, and here is the result below. The "sage -b" command went much faster than when I first installed CPLEX.
By the way, I'm using MILP to solve machine learning problems with some combinatorial aspects. For example, given a dataset, I'm trying to find a linear separator with small integer weights. I'm comparing my own algorithms and heuristics with the result of GLPK (for now, but also CPLEX I hope).. This is for research purposes of course. regards, yann ./sage -b Building Sage on OS X in 64-bit mode Creating SAGE_LOCAL/lib/sage-64.txt since it does not exist Detected SAGE64 flag Building Sage on OS X in 64-bit mode ---------------------------------------------------------- sage: Building and installing modified Sage library files. Installing c_lib 64 bit mode scons: `install' is up to date. Updating Cython code.... Building modified file sage/numerical/mip.pyx. Executing 1 command (using 1 thread) python `which cython` --old-style-globals --disable-function- redefinition --embed-positions --directive cdivision=True,autotestdict=False,fast_getattr=True -I/Applications/ Sage-4.8-OSX-64bit-10.6.app/Contents/Resources/sage/devel/sage-main -o sage/numerical/mip.c sage/numerical/mip.pyx sage/numerical/mip.pyx --> /Applications/Sage-4.8-OSX-64bit-10.6.app/ Contents/Resources/sage/local/lib/python2.6/site-packages//sage/ numerical/mip.pyx Time to execute 1 command: 1.74332094193 seconds Finished compiling Cython code (time = 2.51089596748 seconds) running install running build running build_py copying sage/numerical/__init__.py -> build/lib.macosx-10.7-x86_64-2.6/ sage/numerical copying sage/numerical/all.py -> build/lib.macosx-10.7-x86_64-2.6/sage/ numerical copying sage/numerical/knapsack.py -> build/lib.macosx-10.7-x86_64-2.6/ sage/numerical copying sage/numerical/optimize.py -> build/lib.macosx-10.7-x86_64-2.6/ sage/numerical copying sage/numerical/test.py -> build/lib.macosx-10.7-x86_64-2.6/ sage/numerical running build_ext warning: Replacing library search directory in linker command: "/Users/buildbot/build/sage/bsd-1/bsd_64_binary/build/sage-4.8/local/ lib" -> "/Applications/Sage-4.8-OSX-64bit-10.6.app/Contents/Resources/ sage/local/lib" building 'sage.numerical.mip' extension Executing 1 command (using 1 thread) gcc -fno-strict-aliasing -g -O2 -DNDEBUG -g -O3 -m64 -Wall -Wstrict- prototypes -I/Applications/Sage-4.8-OSX-64bit-10.6.app/Contents/ Resources/sage/local/include/ -I/Applications/Sage-4.8- OSX-64bit-10.6.app/Contents/Resources/sage/local/include -I/ Applications/Sage-4.8-OSX-64bit-10.6.app/Contents/Resources/sage/local/ include/csage -I/Applications/Sage-4.8-OSX-64bit-10.6.app/Contents/ Resources/sage/devel/sage/sage/ext -I/Applications/Sage-4.8- OSX-64bit-10.6.app/Contents/Resources/sage/local/include/python2.6 -c sage/numerical/mip.c -o build/temp.macosx-10.7-x86_64-2.6/sage/ numerical/mip.o -w gcc -m64 -L/Applications/Sage-4.8-OSX-64bit-10.6.app/Contents/ Resources/sage/local/lib -bundle -undefined dynamic_lookup build/ temp.macosx-10.7-x86_64-2.6/sage/numerical/mip.o -L/Applications/ Sage-4.8-OSX-64bit-10.6.app/Contents/Resources/sage/local/lib -lcsage - lcsage -lstdc++ -lstdc++ -lntl -o build/lib.macosx-10.7-x86_64-2.6/ sage/numerical/mip.so Time to execute 1 command: 3.75301504135 seconds Total time spent compiling C/C++ extensions: 3.82160997391 seconds. running install_lib copying build/lib.macosx-10.7-x86_64-2.6/sage/numerical/__init__.py - > /Applications/Sage-4.8-OSX-64bit-10.6.app/Contents/Resources/sage/ local/lib/python2.6/site-packages/sage/numerical copying build/lib.macosx-10.7-x86_64-2.6/sage/numerical/all.py -> / Applications/Sage-4.8-OSX-64bit-10.6.app/Contents/Resources/sage/local/ lib/python2.6/site-packages/sage/numerical copying build/lib.macosx-10.7-x86_64-2.6/sage/numerical/knapsack.py - > /Applications/Sage-4.8-OSX-64bit-10.6.app/Contents/Resources/sage/ local/lib/python2.6/site-packages/sage/numerical copying build/lib.macosx-10.7-x86_64-2.6/sage/numerical/mip.so -> / Applications/Sage-4.8-OSX-64bit-10.6.app/Contents/Resources/sage/local/ lib/python2.6/site-packages/sage/numerical copying build/lib.macosx-10.7-x86_64-2.6/sage/numerical/optimize.py - > /Applications/Sage-4.8-OSX-64bit-10.6.app/Contents/Resources/sage/ local/lib/python2.6/site-packages/sage/numerical copying build/lib.macosx-10.7-x86_64-2.6/sage/numerical/test.py -> / Applications/Sage-4.8-OSX-64bit-10.6.app/Contents/Resources/sage/local/ lib/python2.6/site-packages/sage/numerical byte-compiling /Applications/Sage-4.8-OSX-64bit-10.6.app/Contents/ Resources/sage/local/lib/python2.6/site-packages/sage/numerical/ __init__.py to __init__.pyc byte-compiling /Applications/Sage-4.8-OSX-64bit-10.6.app/Contents/ Resources/sage/local/lib/python2.6/site-packages/sage/numerical/all.py to all.pyc byte-compiling /Applications/Sage-4.8-OSX-64bit-10.6.app/Contents/ Resources/sage/local/lib/python2.6/site-packages/sage/numerical/ knapsack.py to knapsack.pyc byte-compiling /Applications/Sage-4.8-OSX-64bit-10.6.app/Contents/ Resources/sage/local/lib/python2.6/site-packages/sage/numerical/ optimize.py to optimize.pyc byte-compiling /Applications/Sage-4.8-OSX-64bit-10.6.app/Contents/ Resources/sage/local/lib/python2.6/site-packages/sage/numerical/ test.py to test.pyc running install_egg_info Removing /Applications/Sage-4.8-OSX-64bit-10.6.app/Contents/Resources/ sage/local/lib/python2.6/site-packages/sage-0.0.0-py2.6.egg-info Writing /Applications/Sage-4.8-OSX-64bit-10.6.app/Contents/Resources/ sage/local/lib/python2.6/site-packages/sage-0.0.0-py2.6.egg-info real 0m7.640s user 0m6.862s sys 0m0.746s -- 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