Decision Optimization

Decision Optimization

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


#Analytics
#DecisionOptimization
#DecisionOptimization
 View Only
  • 1.  Out of Memory while trying to solve unit commitment

    Posted 05/27/11 06:19 AM

    Originally posted by: cplexforMatlabuser


    Hello,

    I am using CPLEX Academic Initiative Version 12.2 with the toolbox API for Matlab. I try to solve a unit commitment problem with 54 power plants (gas and coal) and one storage for an optimization horizon of 36 hours. I am using a 64 bit machine and assigned 2 GB RAM to cplex. I get the CPLEX 1001 out of memory error after 2 or 3 minutes. I have tried node file storage, setting probing to 3 and setting all mip cuts to 2, but it doesn't help. However, from some papers I have read I think the problem should be solvable with the machine I use. I would be very grateful for any hints! I attached my program. In the next post, I also attach the needed Excel file to run the program.

    Thanks a lot in advance!
    #CPLEXOptimizers
    #DecisionOptimization


  • 2.  Re: Out of Memory while trying to solve unit commitment

    Posted 05/27/11 06:20 AM

    Originally posted by: cplexforMatlabuser


    these are the power plants.
    #CPLEXOptimizers
    #DecisionOptimization


  • 3.  Re: Out of Memory while trying to solve unit commitment

    Posted 05/27/11 08:03 AM

    Originally posted by: cplexforMatlabuser


    Sorry, after I set the mip cuts to 2, I didn't pass the option to cplex. Doing this helps to solve the problem. Now I am trying 200 power plants and get an out of memory error.
    #CPLEXOptimizers
    #DecisionOptimization


  • 4.  Re: Out of Memory while trying to solve unit commitment

    Posted 05/27/11 11:12 AM

    Originally posted by: John Cui


    You didn't pass option to cplexmilp function.

    [x,fval,exitflag,output]=cplexmilp(f,A_ineq,b_ineq,A_eq,b_eq,[],[],[],lb,ub,ctype');
    


    should be

    [x,fval,exitflag,output]=cplexmilp(f,A_ineq,b_ineq,A_eq,b_eq,[],[],[],lb,ub,ctype',[],option);
    

    John Cui
    #CPLEXOptimizers
    #DecisionOptimization