Decision Optimization

Decision Optimization

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


#Analytics
#DecisionOptimization
#DecisionOptimization
 View Only
  • 1.  How to set running time limit in Cplex?

    Posted 10/27/08 06:08 PM

    Originally posted by: SystemAdmin


    [Xjing6683 said:]

    Hello everyone,
        I’m a beginner with iLOG OPL. I have a problem on I/O date from OPL to Excel by using VBA. The model can be run in the environment of iLOG OPL studio 3.7. The feasible solutions can be obtained within few seconds. I stop running by click the “Abort” button. But, if I invoke the OPL by using VBA in Excel. The error occurred: “Runtime error: line 0: IlcCplex::postToCplex:  CPLEX  Error 1016: Restricted version. Problem size limits exceeded.”. So, I’m confused with problem. Is it really the problem size limits exceeded?
        And I tried to add the running time limit in the model by two ways:
    1. Add the time limit in the .mod file by using :
    search {
    timeLimit(10) rankGlobal;
              };
    It can pass the compile, but it doesn’t work in the environment of iLOG OPL studio 3.7.
    2. Add the time limit in the OPL by using :
        Call solver.setFloatParameter("tiLim", 10)
        Dim result As Long
        result = solver.solve

    It doesn’t work either…..

        What can I do? What is the exact way to set the running time limit in it?
    Thank you~

    #DecisionOptimization
    #OPLusingCPLEXOptimizer


  • 2.  Re: How to set running time limit in Cplex?

    Posted 10/27/08 06:15 PM

    Originally posted by: SystemAdmin


    [alain.chabrier said:]

    You might consider upgrade to OPL6.1
    OPL3.7 is many years old.

    Alain
    #DecisionOptimization
    #OPLusingCPLEXOptimizer


  • 3.  Re: How to set running time limit in Cplex?

    Posted 10/27/08 06:21 PM

    Originally posted by: SystemAdmin


    [oussedik said:]

    Hello,

    You're getting "problem size limits exceeded" as you don't have the license for the solver (CPLEX in case of Linear programming..). If you've an OPL license you can solve your models within the IDE, BUT to run resolutions from VBA, C++, Java (outside the IDE) you need a license for the used solver (CPLEX in the case of a linear program ..).

    OPL 6.1 is the latest version of OPL and includes latest CPLEX and our latest CP engine (CP Optimizer). The same applies here (run resolutions within the IDE and need engines licenses to run resolutions from the APIs).

    Also, ILOG proposes product bundles within which you get OPL, CPLEX and CP optimizer licenses.

    Sofiane

    #DecisionOptimization
    #OPLusingCPLEXOptimizer


  • 4.  Re: How to set running time limit in Cplex?

    Posted 10/27/08 08:02 PM

    Originally posted by: SystemAdmin


    [Xjing6683 said:]

    Thank you for your answer. I'm a graduate student, I haven't the OPL6.1. And I want to know how many variables can be  solved for MILP model in the trial version or the  full evaluation version?
    #DecisionOptimization
    #OPLusingCPLEXOptimizer


  • 5.  Re: How to set running time limit in Cplex?

    Posted 10/27/08 08:09 PM

    Originally posted by: SystemAdmin


    [oussedik said:]

    Hi,

    Unlimited in the full version.

    For CPLEX, 300 variables/300 constraints for OPL 3.7 trial you got.

    By the way, you can also download the OPL 6.1 trial (limited to 500 variables/500 constraints for CPLEX) from the ILOG website.

    Sofiane
    #DecisionOptimization
    #OPLusingCPLEXOptimizer


  • 6.  Re: How to set running time limit in Cplex?

    Posted 10/27/08 08:35 PM

    Originally posted by: SystemAdmin


    [Xjing6683 said:]

    Thank you very much, Sofiane! :)
    #DecisionOptimization
    #OPLusingCPLEXOptimizer


  • 7.  How i can to run a problem with more then 500 variables in Cplex12.4?

    Posted 05/06/12 06:38 PM

    Originally posted by: Maissa


    Please...can anyone help me to the implementation my problem of "Airline crew scheduling" in Cplex 12.4 (Windows 32-bits)?
    I have a model mathematic and i need to resolve it in Cplex 12.4 with a variables booleen but the only the error is that the dimension is most big...the total variables is more then 500..the same think to contraintess (more then 500).
    like i show many articl use CPLEX with 2000variables & 8000contraintes!.....
    how can i run my problem with all this variables?
    PLEASE HELP ME...
    #DecisionOptimization
    #OPLusingCPLEXOptimizer


  • 8.  Re: How to set running time limit in Cplex?

    Posted 06/18/14 03:38 AM

    Originally posted by: bayan


    Hi everyone,

    I have a code that I can not run it because of "CPLEX  Error 1016: Restricted version. Problem size limits exceeded." on my computer. Although, this code can be run in my colleague computer.

    Is there anyone that can help me with that PLEASE?


    #DecisionOptimization
    #OPLusingCPLEXOptimizer


  • 9.  Re: How to set running time limit in Cplex?

    Posted 06/18/14 11:45 AM

    Hi

    in documentation you will see

    1016 Promotional version. Problem size limits exceeded

    You are using an evaluation  version and your model is too big for that. Your colleague is using a commercial or academic version. (With no restriction)

    Regards

     


    #DecisionOptimization
    #OPLusingCPLEXOptimizer


  • 10.  Re: How to set running time limit in Cplex?

    Posted 06/18/14 07:00 PM

    Originally posted by: bayan


    Thanks for your respond, I will try to find the same version.

    Best regards


    #DecisionOptimization
    #OPLusingCPLEXOptimizer