Decision Optimization

Decision Optimization

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


#Analytics
#DecisionOptimization
#DecisionOptimization
 View Only
  • 1.  How to execute oplrun command under linux

    Posted 09/11/13 02:06 PM

    Originally posted by: outlookeye


    Hi, I would like to ask how to execute oplrun command under Ubuntu system. 

    I read the user manual IDE and OPL > oplrun Command Line Interface, and found that there are only instructions for how to execute oplrun under windows and unix. Can oplrun be executable under Ubuntu environment? If yes, how to set the execution for oplrun ?

    Thank you


    #DecisionOptimization
    #OPLusingCPLEXOptimizer


  • 2.  Re: How to execute oplrun command under linux

    Posted 09/11/13 02:15 PM

    Hi,

    have you tried what is said in

    Environment variables for UNIX/Linux platforms

    Linux platforms

    Only the environment variable LD_LIBRARY_PATH is needed to point to the shared libraries of the CPLEX Studio distribution.

    ?


    #DecisionOptimization
    #OPLusingCPLEXOptimizer


  • 3.  Re: How to execute oplrun command under linux

    Posted 09/11/13 03:37 PM

    Originally posted by: outlookeye


    Thank you Alex.

    Could you please tell me how to set LD_LIBRARY_PATH? The set of this path canbe permanent or have to set before each execution?

     


    #DecisionOptimization
    #OPLusingCPLEXOptimizer


  • 4.  Re: How to execute oplrun command under linux

    Posted 09/11/13 03:54 PM

    Originally posted by: outlookeye


    I set the path environment variable in .bashrc file:

    LD_LIBRARY_PATH=/opt/ibm/ILOG/CPLEX_Studio1251/opl/bin/x86-64_sles10_4.1
    export LD_LIBRARY_PATH
     

    after that, I execute oplrun command in the oplrun directory:

    ./oplrun /mod file directory/**.mod **.dat

    The same errors: 

    ./oplrun: error while loading shared libraries: libicuuc.so.48: cannot open shared object file: No such file or directory


    #DecisionOptimization
    #OPLusingCPLEXOptimizer


  • 5.  Re: How to execute oplrun command under linux

    Posted 09/12/13 03:41 AM

    Hi,

     

    can you do env in order to check your environment variables ?

     

    regards


    #DecisionOptimization
    #OPLusingCPLEXOptimizer


  • 6.  Re: How to execute oplrun command under linux

    Posted 09/12/13 12:41 PM

    Originally posted by: outlookeye


    Hi Alex,  thank you for your response.

    I check the environment variables using command "printenv", the LD_LIBRARY_PATH is shown, which is the same with the setting I made in .bashrc file.

    LD_LIBRARY_PATH=/opt/ibm/ILOG/CPLEX_Studio1251/opl/bin/x86-64_sles10_4.1
     

    #DecisionOptimization
    #OPLusingCPLEXOptimizer