Decision Optimization

Decision Optimization

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

 View Only
Expand all | Collapse all

OPL ERROR

ALEX FLEISCHER

ALEX FLEISCHERFri January 27, 2017 06:30 AM

  • 1.  OPL ERROR

    Posted Mon November 25, 2013 10:51 AM

    Originally posted by: mshell


    Here is a comment from a customer evaluating Cplex.

     

    Whenever I try running one of the examples in the OPL IDE, however, it says "Launching <model name> Basic Configuration has encountered a problem. Cannot connect to solving process (communication server)."

    Does anyone have experience with this behavior?

     

    thanks


    #DecisionOptimization
    #OPLusingCPLEXOptimizer


  • 2.  Re: OPL ERROR

    Posted Mon November 25, 2013 12:01 PM

    hi

    can you try to remove the workspace

    C:\Users\IBM_ADMIN\AppData\Roaming\IBM\ILOG\CPLEX_Studio125\workspace ?

    regards


    #DecisionOptimization
    #OPLusingCPLEXOptimizer


  • 3.  Re: OPL ERROR

    Posted Fri January 22, 2016 07:57 AM

    Originally posted by: J2FH_Nicolas_Albarello


    I am using Community Edition on Windows and I have exactly the same problem.

    Attached is the stack trace.

    Regards,


    #DecisionOptimization
    #OPLusingCPLEXOptimizer


  • 4.  Re: OPL ERROR

    Posted Fri January 22, 2016 02:40 PM

    Hi,

    have you tried to delete the workspace ?

    Can you try oplide -clean in command line ?

    regards


    #DecisionOptimization
    #OPLusingCPLEXOptimizer


  • 5.  Re: OPL ERROR

    Posted Tue January 26, 2016 02:32 AM

    Originally posted by: J2FH_Nicolas_Albarello


    Hi,

    It did not work.

    I tried on another machine on which I am logged as admin and it works so I believe it has something to do with access rights.

    Regards,

     

    Nicolas


    #DecisionOptimization
    #OPLusingCPLEXOptimizer


  • 6.  Re: OPL ERROR



  • 7.  Re: OPL ERROR

    Posted Thu January 26, 2017 11:29 AM

    Originally posted by: NickLosee


    Hello, 

    I am using 12.7 and have been receiving an unusual error:

    As far as I know I installed it as admin. 

    I have tried:

    - updating my version from 12.6 to the latest of 12.7

    - making sure I am logged in as admin

    Not sure what to try next


    #DecisionOptimization
    #OPLusingCPLEXOptimizer


  • 8.  Re: OPL ERROR

    Posted Thu January 26, 2017 11:26 AM

    Originally posted by: NickLosee


    Hello, 

    I am using 12.7 and have been receiving an unusual error:

    As far as I know I installed it as admin. 

    I have tried:

    - updating my version from 12.6 to the latest of 12.7

    - making sure I am logged in as admin

    Not sure what to try next


    #DecisionOptimization
    #OPLusingCPLEXOptimizer


  • 9.  Re: OPL ERROR

    Posted Thu January 26, 2017 01:01 PM

    Hi,

    can you try to run your model with oplrun (command line) ?

    regards


    #DecisionOptimization
    #OPLusingCPLEXOptimizer


  • 10.  Re: OPL ERROR

    Posted Thu January 26, 2017 02:21 PM

    Originally posted by: NickLosee


    Just tried running it with command line and I believe it worked. It would take some getting used to always running things this way.

    I'd prefer fixing the IDE rather than always running it externally. Any ideas about re-connecting the solving process? Thanks!   

     

     


    #DecisionOptimization
    #OPLusingCPLEXOptimizer


  • 11.  Re: OPL ERROR

    Posted Thu January 26, 2017 02:37 PM


  • 12.  Re: OPL ERROR

    Posted Thu January 26, 2017 11:38 PM

    Originally posted by: NickLosee


    I made a .txt file called oplide.options here:

         C:\Program Files\IBM\ILOG\CPLEX_Studio127\opl\oplide\oplide.options

    containing:

         ilog.odms.ide.core/forcecollocated=true

    Then in the command window tried to start IDE using the collocated mode with: 

         C:\Users\nick>oplide -debug oplide.options

    Which it then begins to successfully start IDE, yet in the window it also says 

         Debug options:
             file:/C:/Users/nick/oplide.options not found

    When I try and place oplide.options in file:/C:/Users/nick/oplide.options an error occurs. 

    What folder should I place it in specifically for the debug to find the oplide.options .txt file?

     

     


    #DecisionOptimization
    #OPLusingCPLEXOptimizer


  • 13.  Re: OPL ERROR

    Posted Fri January 27, 2017 06:30 AM

    Hi,

    can you try

    oplide -debug c:/oplide.options

    with oplide.options in c: ?

    On my machine I get

    Debug options:
        file:/c:/oplide.options loaded

    regards


    #DecisionOptimization
    #OPLusingCPLEXOptimizer


  • 14.  Re: OPL ERROR

    Posted Fri January 27, 2017 11:42 AM

    Originally posted by: NickLosee


    Hi, 

    Debug options:
        file:/c:/oplide.options loaded

    Is what I see now. It opens IDE but I still receive the message saying it can't connect to the solving process.

     

     


    #DecisionOptimization
    #OPLusingCPLEXOptimizer


  • 15.  Re: OPL ERROR

    Posted Fri January 27, 2017 12:37 PM


  • 16.  Re: OPL ERROR

    Posted Sun January 29, 2017 03:28 PM

    Originally posted by: NickLosee


    I downloaded vcredist. If I have been using IDE 12.7 is it okay to download 12.6.3? I ran vcredist and it said it completed. 

     I still receive the message saying it can't connect to the solving process.


    #DecisionOptimization
    #OPLusingCPLEXOptimizer


  • 17.  Re: OPL ERROR

    Posted Tue January 31, 2017 08:34 PM

    Originally posted by: NickLosee


    I downloaded vcredist. If I have been using IDE 12.7 is it okay to download 12.6.3? I ran vcredist and it said it completed. 

     I still receive the message saying it can't connect to the solving process.

     

    #DecisionOptimization
    #OPLusingCPLEXOptimizer


  • 18.  Re: OPL ERROR

    Posted Thu February 02, 2017 04:25 AM


  • 19.  Re: OPL ERROR

    Posted Mon June 05, 2017 07:34 PM

    Originally posted by: AugustoMorais


    Hi Everybody.

     

    I had the same issue running IBM Cplex Studio (12.7.1) on Arch Linux: "Cannot connect to solving process". Fortunately with the comments here, all issues has been fixed. I decided summarize all steps that I made to fix it: 

     

    Add some IBM Cplex vars in env PATH. In my case is .zshrc maybe you use bash, csh...: 

     

    export PATH=/opt/ibm/ILOG/CPLEX_Studio1271/cplex/bin/x86-64_linux:/opt/ibm/ILOG/CPLEX_Studio1271/opl/oplide:/opt/ibm/ILOG/CPLEX_Studio1271/opl/bin/x86-64_linux

    LD_LIBRARY_PATH=/opt/ibm/ILOG/CPLEX_Studio1271/opl/bin/x86-64_linux
    export LD_LIBRARY_PATH

     

     

     

    Create the oplide.options file on /opt/ibm/ILOG/CPLEX_Studio1271/opl/oplide/
     

    ilog.odms.ide.core/forcecollocated=true

     

    Create a custom desktop entry (/HOME/.local/share/applications/oplide.desktop) to run with rofi launcher (you can use the gnome launcher, xfce...):

     

    [Desktop Entry]

    Type=Application
    Version=12.7.1

    # The name of the application
    Name=IBM Ilog CPLEX Optimization Studio

    # A comment which can/will be used as a tooltip

    # The path to the folder in which the executable is run
    Path=/opt/ibm/ILOG/CPLEX_Studio1271/opl/oplide

    # The executable of the application, possibly with arguments.
    Exec=/opt/ibm/ILOG/CPLEX_Studio1271/opl/oplide/oplide -debug /opt/ibm/ILOG/CPLEX_Studio1271/opl/oplide/oplide.options

    # The name of the icon that will be used to display this entry
    Icon=

    # Describes whether this application needs to be run in a terminal or not
    Terminal=false

    # Describes the categories in which this entry should be shown
    Categories=Education;Languages;Java;

     

    Thanks for all guys!

     

     

    Augusto Morais

     


    #DecisionOptimization
    #OPLusingCPLEXOptimizer