Decision Optimization

Decision Optimization

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

 View Only
  • 1.  CPLEX Out of Memory Error

    Posted Mon December 05, 2011 12:58 PM

    Originally posted by: pradeepram80


    I'm running a LP and get the CPLEX 1001: Out of memory error. I'm running a model with 1,674,474 variables and 1,014,376 constraints. I've about 3GB of RAM and 2GB of virtual memory. When I look at the Task manager at the time I get this error, there is still 1.3GB of RAM still available and I think this is enough to get a solution. Am I running into any preset memory limits inside CPLEX?

    Please see attached printscreen of my task manager.

    Thanks in advance
    #DecisionOptimization
    #OPLusingCPLEXOptimizer


  • 2.  Re: CPLEX Out of Memory Error

    Posted Wed December 07, 2011 05:42 PM

    Originally posted by: SystemAdmin


    You may be running into the architectural limitations of your system. I suspect your machine is a 32 bit system wherein the OS can only provide a maximum of 2Gbs of space to any given application (subject to further limitations). Once the application demands more memory than what the OS can provide it with, the 'out-of-memory' error is thrown.

    With 1.6M variables and 1M constraints, your model is quite large. You could try setting the MemoryEmphasis paramter to true/1 and the NodeFileInd parameter to 3 and see if they help reduce the memory footprint thereby letting you solve the model on the machine. If not, the ultimate solution for large problems is to solve using a 64 bit system wherein you practically have limitless memory (subject to what the RAM can support). The CPLEX Optimization Studio contains some information about how one could deal with such situations at:

    publib.boulder.ibm.com/infocenter/cosinfoc/v12r3/topic/ilog.odms.cplex.help/Content/Optimization/Documentation/Optimization_Studio/_pubskel/ps_usrmancplex1862.html

    Some other tips and tricks can be found in the technote below:

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

    Hope this helps.
    #DecisionOptimization
    #OPLusingCPLEXOptimizer


  • 3.  help CPLEX

    Posted Sun May 06, 2012 06:43 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 (error 1016)...the total variables is more then 500..the same think, to contraintes (more then 500).
    I show many articl use CPLEX with 2000variables & 8000contraintes!.....
    how can i run my problem with all this variables?
    PLEASE HELP ME...
    #DecisionOptimization
    #OPLusingCPLEXOptimizer