Decision Optimization

Decision Optimization

Delivers prescriptive analytics capabilities and decision intelligence to improve decision-making.


#Analytics
#DecisionOptimization
#DecisionOptimization
 View Only
  • 1.  Error after just installing V12.3

    Posted 11/08/11 11:49 AM

    Originally posted by: Eumpfenbach


    I installed ILOG version 12.3. I have added it to the python path as usual:

    ed@ed-desktop:~$ python
    Python 2.6.5 (r265:79063, Apr 16 2010, 13:57:41)
    http://GCC 4.4.3 on linux2
    Type "help", "copyright", "credits" or "license" for more information.
    >>> import sys
    >>> sys.path

    >>>

    However, when I try to "import cplex" I get this error. I did a standard installation so I am not sure what is wrong.

    ed@ed-desktop:~$ python
    Python 2.6.5 (r265:79063, Apr 16 2010, 13:57:41)
    http://GCC 4.4.3 on linux2
    Type "help", "copyright", "credits" or "license" for more information.
    >>> import cplex
    Traceback (most recent call last):
    File "<stdin>", line 1, in <module>
    File "/home/ed/ILOG/cplex/python/x86_sles10_4.1/cplex/__init__.py", line 43, in <module>
    import callbacks
    File "/home/ed/ILOG/cplex/python/x86_sles10_4.1/cplex/callbacks.py", line 48, in <module>
    from _internal._aux_functions import apply_freeform_two_args, apply_freeform_one_arg
    File "/home/ed/ILOG/cplex/python/x86_sles10_4.1/cplex/_internal/__init__.py", line 22, in <module>
    import _list_array_utils
    File "/home/ed/ILOG/cplex/python/x86_sles10_4.1/cplex/_internal/_list_array_utils.py", line 13, in <module>
    import _pycplex as CPX
    File "/home/ed/ILOG/cplex/python/x86_sles10_4.1/cplex/_internal/_pycplex.py", line 19, in <module>
    _pycplex_platform = swig_import_helper()
    File "/home/ed/ILOG/cplex/python/x86_sles10_4.1/cplex/_internal/_pycplex.py", line 15, in swig_import_helper
    _mod = imp.load_module('_pycplex_platform', fp, pathname, description)
    File "/home/ed/ILOG/cplex/python/x86_sles10_4.1/cplex/_internal/_pycplex_platform.py", line 39, in <module>
    from cplex._internal.py1013_cplex123 import *
    ImportError: /home/ed/ILOG/cplex/python/x86_sles10_4.1/cplex/_internal/py1013_cplex123.so: wrong ELF class: ELFCLASS32
    >>>
    Any help is appreciated.
    #CPLEXOptimizers
    #DecisionOptimization


  • 2.  Re: Error after just installing V12.3

    Posted 11/08/11 11:50 AM

    Originally posted by: Eumpfenbach


    It didn't show my path when I did a copy/paste, but it is in there.
    #CPLEXOptimizers
    #DecisionOptimization


  • 3.  Re: Error after just installing V12.3

    Posted 11/08/11 12:49 PM

    Originally posted by: Eumpfenbach


    I had installed the 32 bit version earlier. I tried installing the 64 bit version and it works fine now. I thought the 32 bit version should work on 64 bit linux, right? Either way, it's working now so I'm not going to worry about it.
    #CPLEXOptimizers
    #DecisionOptimization