Decision Optimization

Decision Optimization

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

 View Only
Expand all | Collapse all

Opl run is not responding

Archive User

Archive UserThu December 01, 2016 04:16 PM

  • 1.  Opl run is not responding

    Posted Thu December 01, 2016 04:16 PM

    Originally posted by: khadeejah


    Hi All,

             I have this message when executing the model: "oplrun process is not responding, you must launch the run configuration"

    i read one of the previous replies under the same topic, that the memory size could be one of the reasons, and so i increased the memory and the problem still exists!, any clue!, in addition, the execution (run)  takes nearly 15 minutes and then the message appears!!

     

     


    #DecisionOptimization
    #OPLusingCPLEXOptimizer


  • 2.  Re: Opl run is not responding

    Posted Fri December 02, 2016 02:00 AM

    Hi,

    can you try with oplrun ?

    Plus can you set threads to 1 ?

    regards


    #DecisionOptimization
    #OPLusingCPLEXOptimizer


  • 3.  Re: Opl run is not responding

    Posted Fri December 02, 2016 04:08 AM

    Originally posted by: khadeejah


    Hi Alex,

    i'm reading now how the Opl run works from the help, but what do you mean by setting threads to 1??


    #DecisionOptimization
    #OPLusingCPLEXOptimizer


  • 4.  Re: Opl run is not responding

    Posted Fri December 02, 2016 04:16 AM

    hi

    execute
    {
    cplex.threads=1;
    }

    regards


    #DecisionOptimization
    #OPLusingCPLEXOptimizer


  • 5.  Re: Opl run is not responding

    Posted Fri December 02, 2016 02:06 PM

    Originally posted by: khadeejah


    ok

    but what does it mean?

    cplex.threads=1;


    #DecisionOptimization
    #OPLusingCPLEXOptimizer


  • 6.  Re: Opl run is not responding

    Posted Fri December 02, 2016 02:42 PM

    Hi

    Sets the default maximal number of parallel threads that will be invoked by any CPLEX parallel optimizer.

    regards


    #DecisionOptimization
    #OPLusingCPLEXOptimizer


  • 7.  Re: Opl run is not responding

    Posted Fri December 02, 2016 04:22 PM

    Originally posted by: khadeejah


    i inserted after the mod file:

    
    oplrun [options] -p project-dir [run-configuration]
    

    then

     {
    cplex.threads=1;
    }
         

     but errors appeared, is this the way it should be located in the mod.file?

     

    i checked the help: but this part is not clear, where its stated that i should change the name in the directory like that

    Executing a project

    For example, if you enter at the command prompt:

    
    C:\Program Files\IBM\ILOG\CPLEX_Studio<version>\opl\bin\x86_win32>oplrun -p "C:\Program Files\IBM\ILOG\CPLEX_Studio<version>\opl\examples\opl\vellino" "Bin generation"
    

    Can you please elaborate how can i have a solution and fix that problem asap?


    #DecisionOptimization
    #OPLusingCPLEXOptimizer


  • 8.  Re: Opl run is not responding

    Posted Fri December 02, 2016 04:53 PM

    Hi,

    execute
    {
    cplex.threads=1;
    }

    should be in your .mod

    regards


    #DecisionOptimization
    #OPLusingCPLEXOptimizer


  • 9.  Re: Opl run is not responding

    Posted Fri December 02, 2016 05:52 PM

    Originally posted by: khadeejah


    only that

    execute
    {
    cplex.threads=1;
    }

    idont have to do anything else?


    #DecisionOptimization
    #OPLusingCPLEXOptimizer


  • 10.  Re: Opl run is not responding

    Posted Sat December 03, 2016 02:40 AM

    Hi,

    do not Forget the keyword " e x e c u t e "

    By the way, you may also have a look at documentation and white papers. See my 2000th post for some links.

    regards

     


    #DecisionOptimization
    #OPLusingCPLEXOptimizer


  • 11.  Re: Opl run is not responding

    Posted Sat December 03, 2016 02:56 AM

    Originally posted by: khadeejah


    can you please  paste the link of your  2000 post, here? 


    #DecisionOptimization
    #OPLusingCPLEXOptimizer


  • 12.  Re: Opl run is not responding

    Posted Sat December 03, 2016 03:32 AM

    Originally posted by: khadeejah


    IT DIDnt Work!!!

    After 30 minutes of execution!, the message appeared again: "OPLrun process is not responding, you must relaunch the run configuration"


    #DecisionOptimization
    #OPLusingCPLEXOptimizer


  • 13.  Re: Opl run is not responding



  • 14.  Re: Opl run is not responding

    Posted Sat December 03, 2016 02:57 AM

    Originally posted by: khadeejah


    and what can i do to minimize the execution time?


    #DecisionOptimization
    #OPLusingCPLEXOptimizer