Decision Optimization

Decision Optimization

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


#Analytics
#DecisionOptimization
#DecisionOptimization
 View Only
  • 1.  parallelization in opl

    Posted 08/27/14 06:33 PM

    Originally posted by: akshuneya


    Hello All,

    is there any way to implement parallelization algorithm in OPL. I know how to do parallelization in Concert but could not able to find a single example to do the same in OPL.


    #DecisionOptimization
    #OPLusingCPLEXOptimizer


  • 2.  Re: parallelization in opl

    Posted 08/29/14 02:55 PM

    Originally posted by: fbahr


    IINM, the answer from @AlexFleischer in this thread still applies.

    The documentation provides a hands-on example here:

    > http://pic.dhe.ibm.com/infocenter/cosinfoc/v12r6/topic/ilog.odms.ide.help/OPL_Studio/usroplexamples/topics/opl_examples_interfaces_highvolume.html

    Since v12.6, CPLEX also supports distributed parallel MIP optimization -- which, again, IINM, hasn't yet been made available for OPL programming interfaces, though.

    --fbahr


    #DecisionOptimization
    #OPLusingCPLEXOptimizer


  • 3.  Re: parallelization in opl

    Posted 08/29/14 03:04 PM

    Originally posted by: akshuneya


    Thank you for the reply.

    By any chance, is it possible to to use OPL .mod file to in this java environment?

     


    #DecisionOptimization
    #OPLusingCPLEXOptimizer


  • 4.  Re: parallelization in opl

    Posted 09/01/14 04:03 AM

    Hi,

    distributed parallel is available in OPL since 12.6.0.1

    http://www-01.ibm.com/support/docview.wss?uid=swg24037987

     

    In

    C:\ILOG\CPLEX_Studio126\opl\examples\opl

    there is a new example : distMIP

    regards


    #DecisionOptimization
    #OPLusingCPLEXOptimizer


  • 5.  Re: parallelization in opl

    Posted 09/02/14 08:55 PM

    Originally posted by: BLAIS


    When I try to run the default configuration on x86, I receive the following error: c0000005 EXCEPTION_ACCESS_VIOLATION. Is this only with the x86 example?


    #DecisionOptimization
    #OPLusingCPLEXOptimizer


  • 6.  Re: parallelization in opl

    Posted 09/03/14 03:29 AM

    Hi,

    when I run run configuration config3 of this example I get

    Obj = 18;
    Life = [[0 0 0 0 0 0 0 0]
                 [0 1 1 0 1 1 0 0]
                 [0 1 0 1 1 0 1 0]
                 [0 0 0 0 0 0 1 0]
                 [0 0 1 1 0 1 0 0]
                 [0 1 0 1 0 1 1 0]
                 [0 1 1 0 0 0 0 0]
                 [0 0 0 0 0 0 0 0]];

    cplex1 has a VM config
    cplex1 does not have anymore a VM config

    Do you use oplrun or do you use the IDE ?

    regards
     


    #DecisionOptimization
    #OPLusingCPLEXOptimizer


  • 7.  Re: parallelization in opl

    Posted 09/03/14 03:30 PM

    Originally posted by: BLAIS


    I run the IDE. If I try oplRun, I get this message:  ### UNEXPECTED ERROR ...


    #DecisionOptimization
    #OPLusingCPLEXOptimizer


  • 8.  Re: parallelization in opl

    Posted 09/04/14 11:57 AM

    Originally posted by: VincentBeraudier


    Can you please try by removing the path resolution by using directly readVMConfig("process.vmc"); ?

    If it still crashes, can you please try with commenting the readVMConfig statement?

     

    distMIP is available in OPL, in Javascript, Java, .NET, C++ and through settings or oplrun command line.


    #DecisionOptimization
    #OPLusingCPLEXOptimizer


  • 9.  Re: parallelization in opl

    Posted 09/05/14 09:13 AM

    Originally posted by: BLAIS


    The problem was with the enveronnement variable "CPLEX_STUDIO_DIR" use in the .vmc file. The name use by the CPLEX studio installer is : "CPLEX_STUDIO_DIR126". Changing this solve the problem.

    I also note in the .vmc file this comment: "In order to connect to a remote machine uncomment the sections marked SSH and replace "remote.com" by a real host name."

    There is no sections marked SSH in the OPL process.vmc. We have to look in CPLEX example to found the process.vmc file with SSH section.

    Thank you for your help.

     


    #DecisionOptimization
    #OPLusingCPLEXOptimizer