Decision Optimization

Decision Optimization

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


#Analytics
#DecisionOptimization
#DecisionOptimization
 View Only
  • 1.  Oplrun process is not responding. CPLEX crashes in big datasets

    Posted 10/31/16 02:30 PM

    Originally posted by: kapsalis89


    Hi all,

    we are working in an assignment in which we have to implement a model of a production process. During the process, there are some demands and each demands consists of a number of steps. Each step has some alternatives about the resources that can use. Also, for some steps a setup is required, and if there is a delay between steps, the product is stored in a storage tank.

    For testing our model, we have five instances. In the small one, our model works fine. The results are really close to the expected. The problems start in bigger instances.

    When we try to run the model we get : "Oplrun process is not responding, you must relaunch the Run Configuration" error, with any other information. The configuration stops running. Also, in the log files we have this entry:

    !ENTRY ilog.odms.ide.core 4 0 2016-10-29 00:23:54.454

    !MESSAGE Connection refused to host: 127.0.0.1; nested exception is:

                   java.net.ConnectException: Connection refused: connect

     

    We tried to run it from command line with oplrun command and we got "UNEXPECTED ERROR" message.

    We tried the solutions proposed here and here. Also, we run the model in four different machines. The same problem.

    Could anyone give us a reason why this happens?

     

    Thank you in advance,

    Kind Regards

    Michalis


    #DecisionOptimization
    #OPLusingCPOptimizer


  • 2.  Re: Oplrun process is not responding. CPLEX crashes in big datasets

    Posted 11/01/16 04:02 PM

    Hi,

    can you post your model ?

    regards


    #DecisionOptimization
    #OPLusingCPOptimizer


  • 3.  Re: Oplrun process is not responding. CPLEX crashes in big datasets

    Posted 11/01/16 06:44 PM

    Originally posted by: kapsalis89


    Hi,

     I am attaching the model and one of the instances that we have problem. 

    regards,
    Michalis

     

    production.modView Details


    #DecisionOptimization
    #OPLusingCPOptimizer


  • 4.  Re: Oplrun process is not responding. CPLEX crashes in big datasets

    Posted 11/03/16 09:34 AM

    Originally posted by: ol


    Hello,

    for some unknown reason, we cannot download the above files. can you post again the model? 

    Regards,

    Olivier


    #DecisionOptimization
    #OPLusingCPOptimizer


  • 5.  Re: Oplrun process is not responding. CPLEX crashes in big datasets

    Posted 11/03/16 09:44 AM

    Originally posted by: kapsalis89


    Hi again,

    I uploaded them in google drive, so I hope that you have access to them with the following link:

    https://drive.google.com/drive/folders/0B_Y0B41ONxnrOTF4LXI1Y004Zms?usp=sharing

    Please, let me know if you can get the files,

    Regards

    Michalis

     

    Edit: I think that I fixed the problem with the files above. However, for any case, I leave the google drive link here.


    #DecisionOptimization
    #OPLusingCPOptimizer


  • 6.  Re: Oplrun process is not responding. CPLEX crashes in big datasets

    Posted 11/03/16 01:33 PM

    Hi,

    could you try to replace

    forall(<d,a> in DemandAlts)
            set1:    presenceOf(productionStepsOnAlternatives[<d,a>]) == presenceOf(setupStepsOnAlternat
            forall(<d,a> in DemandAlts)
        set2:    endAtStart(setupStepsOnAlternatives[<d,a>],productionStepsOnAlternatives[<d,a>]);
         
        forall(<d,a> in DemandAlts, r in Resources : a.resource_id == r.resource_id)
        set3:    sizeOf(setupStepsOnAlternatives[<d,a>]) ==
                setupTimeArray[r][typeOfPrev(demandOnResource[r], productionStepsOnAlternatives[<d,a>],r.initial_product_id,-1)][d.product_id];

    by

    forall(da in DemandAlts)
            set1:    presenceOf(productionStepsOnAlternatives[da]) == presenceOf(setupStepsOnAlternatives[da]);

    forall(da in DemandAlts)
        set2:    endAtStart(setupStepsOnAlternatives[da],productionStepsOnAlternatives[da]);
         
        forall(da in DemandAlts, r in Resources : da.resource.resource_id == r.resource_id)
        set3:    sizeOf(setupStepsOnAlternatives[da]) ==
                setupTimeArray[r][typeOfPrev(demandOnResource[r], productionStepsOnAlternatives[da],r.initial_product_id,-1)][da.demand.product_id];

     

    ?

    regards


    #DecisionOptimization
    #OPLusingCPOptimizer


  • 7.  Re: Oplrun process is not responding. CPLEX crashes in big datasets

    Posted 11/03/16 02:06 PM

    Originally posted by: kapsalis89


    Hi AlexFleischer

    thank you for your reply. It is the solution of our problem. We changed all the constraints to have the same implementation.

    Could you explain why our implementation with <d,a> crashed the opl?

    Thank you again

    Regards

    Michalis


    #DecisionOptimization
    #OPLusingCPOptimizer


  • 8.  Re: Oplrun process is not responding. CPLEX crashes in big datasets

    Posted 11/03/16 03:28 PM

    Hi,

    the issue is linked with labels so you could also do a smaller change and write:

    forall(<d,a> in DemandAlts)
                presenceOf(productionStepsOnAlternatives[<d,a>]) == presenceOf(setupStepsOnAlternatives[<d,a>]);
    forall(<d,a> in DemandAlts)
            endAtStart(setupStepsOnAlternatives[<d,a>],productionStepsOnAlternatives[<d,a>]);
         
        forall(<d,a> in DemandAlts, r in Resources : a.resource_id == r.resource_id)
            sizeOf(setupStepsOnAlternatives[<d,a>]) ==
                setupTimeArray[r][typeOfPrev(demandOnResource[r], productionStepsOnAlternatives[<d,a>],r.initial_product_id,-1)][d.product_id];

     

    but then you do not have the label.

    regards


    #DecisionOptimization
    #OPLusingCPOptimizer


  • 9.  Re: Oplrun process is not responding. CPLEX crashes in big datasets

    Posted 11/03/16 05:20 PM

    Originally posted by: kapsalis89


    Hi again,

    thank you a lot for your answers and your help.

    Regards

    Michalis


    #DecisionOptimization
    #OPLusingCPOptimizer